On 2011-01-06 13:00, Øyvind Harboe wrote:
What about the reset-init sequences?
E.g. LPC2478 has a reset-init sequence that is gone here, so
this would break flash programming.
Can or should the reset-init sequences be pretty much centralized too?
Are they simply missing from some of the other files?
I can't say that for sure (I cannot check that), but I think that these
reset-init sequences are no longer valid / necessary since
srst_pulls_trst was removed. Basically all these procedures did was
change state to ARM and force flash to be remapped on the address 0. Now
- since "halt" is possible right after reset, the core state is ARM
(there is no chance that a running code changed that to thumb before
halt), and forcing the remap is probably not good too, because after
this early halt the bootloader code should be executed anyway. This
should not affect flashing, as this is done via special ISP commands in
LPC2xxx - these commands don't care for remap.
LPC2103 (which I have) worked for me without any additional steps -
forcing ARM state or remap.
4\/3!!
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development