bladox.com Forum Index bladox.com
Turbo SIM Toolkit Adapter Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem with Turbo programmer

 
Post new topic   Reply to topic    bladox.com Forum Index -> Development
View previous topic :: View next topic  
Author Message
goroi
Guest





PostPosted: Mon Jul 10, 2006 3:38 pm    Post subject: Problem with Turbo programmer Reply with quote

Hi all,
I have a problem with turbo programmer. After last upload of turbo programm to MMC , I couldn't access turbo programmer. You can see error below:

[root@dev44 bin-linux-ia32]# ./tls -d /dev/ttyUSB0
Cannot open application df.trb
[root@dev44 bin-linux-ia32]# ./prog_apps
Programmer kernel version: 2.0.0
Programmer application list:
[root@dev44 bin-linux-ia32]#

Can Anybody tell me what I have to do?

10x in advance!!!
Back to top
goroi
Guest





PostPosted: Mon Jul 10, 2006 3:52 pm    Post subject: Re: Problem Reply with quote

Sorry , I found solution I upgradeed firmware to Programmer kernel version: 3.1.0 and after that I run script install_modules.sh which uploaded default turbo apps avrprog.trb brum.trb df.trb
sim.trb turboadapter.trb
Back to top
goroi
Guest





PostPosted: Tue Jul 11, 2006 7:27 am    Post subject: After turbo programmer upgrade to version 3.1.0 LED stopped Reply with quote

Unfortunately after firmware upgrade LEDs stopped working. Does anybody have same problem? Or if sobmebody knows how to solve it lets tell us.
Back to top
pz
Guest





PostPosted: Tue Jul 11, 2006 8:44 am    Post subject: Reply with quote

The first problem was just missing modules - would be enough to upload them.

So you tried to upgrade whole firmware - kernel+modules from 3.1.6 packages?
Or just modules? You cannot mix 2.x and 3.x versions (modules vs. kernel) so you need to upgrade/downgrade both.
Back to top
goroi
Guest





PostPosted: Tue Jul 11, 2006 9:51 am    Post subject: Reply with quote

The reason for upgarade turbo progrramer was that there were no apps in , and I tried to upgrade firmare(kernel) and after that I tun install_modules.sh this uploaded some turbo application on turbo programmer. This turbo applications were from 3.1.0 package. Can you tell me what application is responsible for LED?
Back to top
goroi
Guest





PostPosted: Tue Jul 11, 2006 2:22 pm    Post subject: unfortunately today suddanly lost communication with tprog Reply with quote

Unfortunately today suddenly I lost communication with turbo programmer again.
Kernel was version 3.1.0 , When I tried to list MMC card , tls program looped with
read(3, "", 200) = 0
read(3, "", 200) = 0
read(3, "", 200) = 0
read(3, "", 200) = 0
read(3, "", 200) = 0
read(3, "", 200) = 0

this is output from strace program.

I solve problem as yesterday Upload kernel and basic applications , but how can I resolve problem?
Back to top
pz
Guest





PostPosted: Tue Jul 11, 2006 7:48 pm    Post subject: Reply with quote

Can you post step by step behaviour?

[1] unplug, change switch, upload new kernel
[2] plug - is a LED on?
[3] uppload modules -> LED still on?
[4] prog_apps says what?
[5] unplug/plug -> LED? prog_apps?

Led is independent on modules - this one goes on when usb is connected.
But of course is an app is wrong and init fails then in may turn not off.

What os do you use? (I guess linux because of strace)

Also, do you have prog version 1 or 2 (I mean hardware)?

I'm slightly lost from you reports - 9:51 no led on issue, last 2:22 solved as yesterday. So the problem is permanent or something goes wrong when MMC is used?
Back to top
goroi
Guest





PostPosted: Wed Jul 12, 2006 7:01 am    Post subject: Reply with quote

I've got turbo prog version 1 and turbo lite version 1 .
step by step report:
1. Unplug turbo prog from USB
2. Change jumper to pins 2-3 to be able to upload new kernel
3. plug tprog in USB
- PFW LED ligths on
4. run prog_update_fw
You can see output below

[root@dev44 bin-linux-ia32]# ./prog_update_fw ../firmware/tprog_kernel-3.1.0.bin
Initializing device
Device initialized
Programmer loading procedure has started
Uploading programmer firmware
Page 479/(0- 479)
Reset EEPROM
Programmer firmware loading procedure has finished
[root@dev44 bin-linux-ia32]#

5.Unplug trpog from USB
PFW LED Lights off
6. Change jumper ot pins 1-2
7.Plug tprog in USB
-no LEDs lights
8. Run ./install_modules.sh

[root@dev44 turbo-prog-utils-3.1.6]# ./install_modules.sh linux-ia32
Clearing Turbo Programmer EEPROM, uninstalling modules
Installing avrprog.trb
Installing brum.trb
Installing df.trb
Installing sim.trb
Installing turboadapter.trb
Programmer kernel version: 3.1.0
Programmer application list:
0: avrprog.trb 3.1.0
1: brum.trb 3.1.0
2: df.trb 3.1.0
3: sim.trb 3.1.0
4: turboadapter.trb 3.1.0
[root@dev44 turbo-prog-utils-3.1.6]#


9. Disconnect ptrog from USB
10. PUt MMC in Card holder
11. Connect it again
But no LEDs ligths
Back to top
pz
Guest





PostPosted: Wed Jul 12, 2006 10:01 am    Post subject: Reply with quote

Please try to install older 2.2.0 utils or even 1.0.5. This will show a lot. I guess there is something new hwd (tprog 2) related that makes led off.
Back to top
goroi
Guest





PostPosted: Wed Jul 12, 2006 1:41 pm    Post subject: Reply with quote

You were right , when I load firmware from 2.2.0 turbo-prog-utils LEDs seems OK.
Maybe there are some differencies between Hardware version 1 and 2
Back to top
Display posts from previous:   
Post new topic   Reply to topic    bladox.com Forum Index -> Development All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group