• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: bricked by nandtest  (Read 1528 times)
weary
Newbie
*

Karma: 0
Posts: 1


View Profile
« on: June 15, 2010, 11:14:23 PM »

hi..

i ran nandtest on my plug, and that turns out to be very destructive. now it won't boot at all anymore (nothing showing up in the serial terminal, and only one green led).

i am guessing the nandtest erased all the nand, so i don't have u-boot anymore, is that correct?

Also, i can't get the installer/runme.sh to work. It gives the output shown below. It is similar to the output shown in other threads, but it has the added 'Error: cpsr contains invalid mode value - communication failure'.
Anyone who can tell me what is wrong, and how to fix it?

Regards.


Code:
Info : JTAG tap: feroceon.cpu tap/device found: 0xfc0000e3 (Manufacturer: 0x071, Part: 0xc000, Version: 0xf)
Error: JTAG tap: feroceon.cpu             got: 0xfc0000e3 (mfg: 0x071, part: 0xc000, ver: 0xf)
Error: JTAG tap: feroceon.cpu expected 1 of 1: 0x20a023d3 (mfg: 0x1e9, part: 0x0a02, ver: 0x2)
Error: trying to validate configured JTAG chain anyway...
Error: unknown EmbeddedICE version (comms ctrl: 0x00000008)
Error: unexpected Feroceon EICE version signature
Warn : no telnet port specified, using default port 4444
Warn : no gdb port specified, using default port 3333
Warn : no tcl port specified, using default port 6666
Error: unexpected Feroceon EICE version signature
Error: invalid mode value encountered
Error: cpsr contains invalid mode value - communication failure
Error: invalid mode value encountered
Error: cpsr contains invalid mode value - communication failure
Runtime error, file "./openocd/./board/guruplug.cfg", line 24:
Logged

pingtoo
Sr. Member
****

Karma: 15
Posts: 318


View Profile
« Reply #1 on: June 21, 2010, 07:35:04 AM »

run nandtest without option -k will erase everything in the device you point to.

Depend on your openocd version, v2 or above you need to modify board/guruplug.cfg in the proc guruplug_reflash_uboot {} the line nand erase 0 0 2 to nand erase 0 0 0x40000 and in the proc guruplug_reflash_uboot_env {} the line nand erase 0 2 4 to nand erase 0 0x40000 0x80000.

Once you modify the file you can run the runme.sh to see if you can get a successful flush. if it did not succeed then try a few more time. unplug the power in between failure to reset the plug sometimes help.

Good luck Smiley
Logged

Good Luck Smiley

Pages: [1]
Print
Jump to: