Gary Carlson wrote:
> I wanted to see if anyone has any experience trying to upload the
> AT91Bootstrap code into NAND flash for any of the AT91SAM9XXX parts
> (i.e. AT91SAM9260, AT91SAM9G20, etc.) using OpenOCD?
...
> At this point, I
> would be happy if someone has marched down this path before and can
> chime in with some advice. I have spent several days trying to attack
> this problem without much success.  At least on the surface it does
> not seem like this should be that difficult.

Not on this platform, but I have done things with NAND on another platform.

Maybe suggesting the obvious, but do you have any other way to program the NAND 
flash on this board, or a reference board (EVM?) with a known good flash image?
If you do, get that booting then read the flash back with OpenOCD and compare 
with what you managed to do, get so you can recreate it.

Also double-check boot config pin settings and all that other good hardware 
stuff.

Other than that, you can try debugging the bootloader that's trying to access 
the NAND flash (using OpenOCD + gdb). Good luck with that.

--
Jon Povey
jon.po...@racelogic.co.uk

Racelogic is a limited company registered in England. Registered number 2743719 
.
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks, 
MK18 1TB .

The information contained in this electronic mail transmission is intended by 
Racelogic Ltd for the use of the named individual or entity to which it is 
directed and may contain information that is confidential or privileged. If you 
have received this electronic mail transmission in error, please delete it from 
your system without copying or forwarding it, and notify the sender of the 
error by reply email so that the sender's address records can be corrected. The 
views expressed by the sender of this communication do not necessarily 
represent those of Racelogic Ltd. Please note that Racelogic reserves the right 
to monitor e-mail communications passing through its network


_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to