This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

EKK-LM3S811- Failure to Program/Debug

Other Parts Discussed in Thread: LM3S6965, LM3S811I have just purchased the EKK-LM3S811 eval board from digikey. The board powers up fine with the as-shipped demo. However,attempts to program it fail.

I have tested with the IAR, Keil, and Codesourcery toolchains, and all fail in programming the board. However, the ftdi 2232 chip appears to be functioning, evidenced by working serial data from the onboard demo.

I attempted to autoprobe through the ftdi chip, using openocd. No TAPS were found. A similar attempt with another evaluation board with asimilar debug circuit, the LM3S6965 Ethernet Evaluation board, successfully detected the LM3S6965 on the JTAG chain, with the same openocd configuration.

I suspect a possibly misprogrammed part at the factory, disabling the JTAG lines, however, I cannot verify. Scoping the JTAG pins was ambiguous. I will attempt to borrow a storage scope if that will aid in troubleshooting.

Any suggestions as to what may be the problem?
  • Most likely you changed one/several of the JTAG pins to GPIO - thus "breaking" the JTAG commo channel.

    LMI has taken pains to provide a, "JTAG-GPIO" file - and advisory throughout data manuals - warning of this action - and providing a defense mechanism.

    These original 28/48 pin devices have not been fitted with the "chip recovery" mechanism - I suspect your chip is toast...

    If you placed the "grab the JTAG" code far enough down in your code - you may luck out and be able to recover by causing an error which will halt your code - "before" the JTAG lines are switched. (they wake up in JTAG mode) In 2006 LMI-Dan taught us how to cause a HW error - but this was not on your 811 eval bd.

    You must "heat-shield" or remove the Oled prior to removing/reflowing a replacement 811.

    Failure to read/comply with the JTAG-GPIO defense mechanism causes heartbreak - bet you won't do that again...
  • Interestingly enough, I managed to break another board by doing this, and had to resort to replacing the chip. However, in this case, this is a brand new board, that has no user programs loaded onto it.

    I will attempt to gain access to a windows machine later in the week, to try TI's flash utility.
  • "attempts to program (the S811) fail."

    Does this eval board still run the nice, eval program?
  • Oh yes it does. I've just done the drastic thing and tapped the JTAG lines out. I have working debugging and programming now.

    Good enough for me.
  • Be SURE to read/comply with the JTAG-GPIO defense code... Vital w/ 28/48 pin parts.
  • Between rev B and rev C of the board a change was made to support SWO, or so I'm told, and that requires at the least a configuration change for OpenOCD's JTAG interface. Evidently

    ft2232_layout luminary_icdi

    works better than the previous

    ft2232_layout evb_lm3s811

    because an additional signal line needs to change. I'm not yet sure whether just changing that line in interface.cfg file suffices, or whether the VID/PID also changed.