Hi, David Brownell schrieb: > On Monday 15 February 2010, Jörg Fischer wrote: >> Hi, >> >> just finished my openocd.cfg for the Hitex LPC1768-Stick >> [...] >> The attached openocd.cfg contains the full configuration, >> because the tcl/target/lpc1768.cfg seems to have some issues: >> >> "arm core_state arm" is not possible on the LPC1768. > > Of course not ... it's Cortex-M3 processor, which only > supports the Thumb2 instruction set ... not "classic ARM" > [...] > What's the issue? Your script isn't trying that impossible > thing, and shouldn't. I don't see anything wrong.
I was referring to the original tcl/target/lpc1768.cfg from openocd, which still has that statement in its "reset init" sequence. >> It also doesn't remap the Bootloader on Address 0x00000000 >> correctly. The LPC1768-Stick has only a 4 MHz >> quartz crystal (needed for the flash definitio line). > > Are you saying that nothing puts the flash at 0, and it's > always the boot loader? I thought the remapping was part > of the boot configuration for LPC chips... Yes but "reset init" or "reset halt" stop the bootloader before this remapping. >> A bigger issue was Reset configuration: OpenOCDs lpc1768.cfg >> states: "trst_and_srst srst_pulls_trst" which seems to be correct, >> BUT you cannot issue a "reset init" (unless you change the rest config >> to "trst_only"). Why is there no fallback to "trst_only"...? >> >> The reset_config "trst_and_srst separate" works for me too. > > Hmm, that's strange. Other boards with "srst_pulls_trst" can > successfully "reset init". What causes the problem you see? See Ticket #19: https://sourceforge.net/apps/trac/openocd/ticket/19 -- J. Fischer _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development