One thing I found it was weird on my dead 5100 was that It wouldn't detect... then after those poke commands for revival the flash started detecting... but I could not simple program the target... it was hanging on "erase".... (that would not finish even if let erasing for +2hours)
but doing the normal "erase" command seemed to work, and after that I could sprogram the flash... and then the modem came back to life
I tought the erase done with "program" command was the same as the "erase" command itself?!
(i'm curious why it halted on the erase performed by program command, but worked with the erase command itself)
Debricking my 5100 ST
-
- Junior Member
- Posts: 131
- Joined: Wed Jun 06, 2007 11:50 am
- Location: Brazil
-
- Junior Member
- Posts: 21
- Joined: Wed Jul 27, 2005 9:16 pm
- Location: NewYork&Chicago
- Contact:
-
- Junior Member
- Posts: 131
- Joined: Wed Jun 06, 2007 11:50 am
- Location: Brazil
-
- Junior Member
- Posts: 21
- Joined: Wed Jul 27, 2005 9:16 pm
- Location: NewYork&Chicago
- Contact:
-
- Junior Member
- Posts: 8974
- Joined: Mon Jul 18, 2005 9:33 pm
Re: Debricking my 5100 ST
That is different.Naztheros wrote:One thing I found it was weird on my dead 5100 was that It wouldn't detect... then after those poke commands for revival the flash started detecting... but I could not simple program the target... it was hanging on "erase".... (that would not finish even if let erasing for +2hours)
but doing the normal "erase" command seemed to work, and after that I could sprogram the flash... and then the modem came back to life
I tought the erase done with "program" command was the same as the "erase" command itself?!
(i'm curious why it halted on the erase performed by program command, but worked with the erase command itself)
"erase" and "sprogram" runs on JTAG memory which is really slow. This is assume you have no access to system memory when chip select is not initialized. "program" uses RAM as its buffer and that is really fast. The statement for this is not true for ST20 cpu.
That is why when you debrick a device you need to use only "erase" and "sprogram" since the chip select routine has not been executed yet.
There is even worst case while the wrong routine is executed that the JTAG port is disabled. So the poke command will not run and detect get stuck. Use 0.19 can allow you manually set the flash type and you need to disable the flash by some hardware glitch while power on and use "bk" command to pause the CPU.
-
- Junior Member
- Posts: 131
- Joined: Wed Jun 06, 2007 11:50 am
- Location: Brazil
Who is online
Users browsing this forum: No registered users and 2 guests