From: Ash C. <ash...@gm...> - 2012-02-21 16:57:49
|
Does this help at all? http://wiki.gumstix.org/index.php?title=Verdex_JTAG It looks like some of the instructions you followed are the same but some are a little different. -Ash On Tue, Feb 21, 2012 at 1:21 AM, Jon Harrison <jha...@he...> wrote: > Hi all, > > Having bricked my Verdex Pro XM4 I bought an Olimex ARM-USB-OCD-H adapter > and a JTAGpro board and spent yesterday trying to recover it. > > I've been using OpenOCD 0.5.0 and with help from a couple of people have put > a config file together for the Verdex Pro board and having overcome various > jtag interface timing issues have got the software to talk to the board > reliably (this in itself was a bit of a challenge). > > My initial idea was simply to flash u-boot-verdex-400-r1604.bin . > > 'flash probe 0' reports device 0x0089 0x8818 > 'flash info 0' reports a whole list of information about the flash banks and > timing data for the chip > > So far so good it seems so I try > > 'flash write_image erase unlock u-boot-verdex-400-r1604.bin 0 bin' > > At this point I get the message 'execution of flash algorythm failed' ... > 'error writing to flash at address 0x00000000 at offset 0x00000000' > > So next I try > > 'flash protect 0 0 last off' clears protection for 130 sectors > 'flash erase_sector 0 0 130' > 'flash erase_check 0' erased sectors 0 through 130 on flash bank 0 in > 111.281250s > > Then > > 'flash write_bank 0 u-boot-verdex-400-r1604.bin 0' > > Then I get the message 'execution of flash algorythm failed' ... 'error > writing to flash at address 0x00000000 at offset 0x00000000' again > > After a bit of digging on the internet it seems that there might be a bug in > the cfi driver in OpenOCD which prevents it from programming this type of > Intel Strata flash device (ICM025-400). So I abandon that approach ! > > The PXA270 has 256K at 0x5c000000 I believe so next I try > > 'load_image u-boot-verdex-400-r1604.bin 0x5c000000 bin' > > This reports 161440 bytes written at address 0x5c000000 in 0.406250s > > I connect a serial cable to the connector on the JTAGpro board and run > hyperterminal on my PC 115200 8-N-1 > > After typing 'resume 0x5c000000' I expect to see the u-boot text appear in > the hyperterminal window but instead I get nothing and OpenOCD reports > 'failed to receiving data from debug handler after 1000 attempts' > > I'd assumed that the serial port connected on the JTAGpro is the correct one > for the standard u-boot image to output to ? > > I'm afraid I don't know enough about OpenOCD or the PXA270 to figure out > what is wrong. > > I did setup my verdex pro script to try and configure some of the PXA270 > registers to setup the SDRAM controller (register values copied from someone > else) and tried to load the image to 0xa0000000 but that didn't seem to work > either so for the moment I'm not doing any chip configuration. Is there > anything I need to configure to load to the internal ram at 0x5c000000 ? > > I've come to a bit of a halt at the moment and I'm not sure how to proceed. > Does anyone out there have any suggestions ? > > Best Regards, > > Jon > > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users |