Cortex M3 with Wiggler

Hi all,

Has anybody had any success flashing the LM3S8962 using OpenOCD with a Wiggler and/or the ARM_USB_OCD device?

I’m using the Evaluation Board from Stellaris and I’m connected to the JTAG header on the main board.

The Wiggler device is reporting “scan returned 0x00” as if it wasn’t even connected. However, connecting it to the small CAN board, running on an LM3S2110, it uploads just fine (almost).

I added { 0xa6,“LM3S8962” }, into the source code (stellaris.c) and re-compiled OpenOCD but this has made no difference.

I apologise if this is a stupid question, but any ideas what I’m doing wrong?

Jon

Which board are you using ?

Most come an FTDI chip for USB debugging built in.

I am not sure why you would want to use a Wiggler.

Try this page :-

http://www.freertos.org/Eclipse.html

This is the board I am using:

http://www.luminarymicro.com/products/l … n_kit.html

It is possible to debug and flash using the supplied USB cable but I wish to do so via OpenOCD through the JTAG port.

The ARM-USB-OCD device didn’t connect with either the main board or the smaller CAN board so I resorted to using a Wiggler which does recognise the smaller board.

I know the JTAG port on the main board can be either a GPIO port or a debug port and that there are 3 different debug modes, selected by the JTAG/SWT multiplexer accordingly.

However, this should automatically determine what to do depending on the cable inserted and on whether or not the port is set to be GPIO or JTAG. I know the port isn’t set to be GPIO because a) my code doesn’t configure it and b) even with no code, it still refuses to operate.

Is there nobody out there who’s managed to program this board using OpenOCD through the JTAG port? I know it’s a little new…

You should be able to debug with OpenOCD with just the USB cable plugged in.

What toolchain are you using ???

You might want to start with this web page , which is for a similar board:-

http://www.freertos.org/portLM3Sxxxx_Eclipse.html

or this page

http://www.freertos.org/Eclipse.html

Good Luck !