[I accidentally sent this from the wrong email address. I'm resending from the correct (subscribed) address. My apologies if both arrive.]

I'm having problems with "reset halt" and "reset init" with the EK-LM3S9B92, both with 0.4.0 and the latest git. I'm starting openocd using

    openocd -f board/ek-lm3s9b9x.cfg

A "reset halt" command gives me the following:

   >  reset halt
JTAG tap: lm3s9b9x.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)
   Halt timed out, wake up GDB.
   timed out while waiting for target halted
   TARGET: lm3s9b9x.cpu - Not halted
   Command handler execution failed
   in procedure 'reset' called at file "command.c", line 650
   called at file "command.c", line 361


The halt command works fine. It's only "reset halt" and "reset init" that fail.

The fitted MCU is an LM3S9B92 rev B1 (DID0=0x10040101). I've seen the comments about lm3s in cortex_m3_assert_reset() in src/target/cortex_m3.c, so I tried adding "assert_srst = 0;" to the Tempest case as well, and this makes reset halt work perfectly. I have no idea if this is because the Tempest is affected by the same issue as the other lm3s MCU:s, or if it's something else.

Is it possible to confirm if my fix is correct, or if it just happens to work?

/Tobias

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to