Home arrow Support arrow Forums

Luminary Micro Forums

<< Start < Prev 1 2 3 Next > End >>

englere

Gold Boarder
Click here to see the profile of this user

2006/10/25 21:51

Re:Linux support for dev tools

Sorry about the double post. I hit back on my browser and it posted my message again.

Post edited by: englere, at: 2006/10/25 21:53

login or register to reply

mthomas

Senior Boarder
Click here to see the profile of this user

2006/10/26 13:46

Re:Linux support for dev tools

I have got an e-mail from someone who is working on the extension for Cortex-M3-support in OpenOCD. He uses the 811-eval.-board for tests. He is also in contact with Dominic Rath so OpenOCD should support Cortex-M3-debug and flash-programming for the LMI controllers soon (hopefully).

login or register to reply

englere

Gold Boarder
Click here to see the profile of this user

2006/10/27 11:31

Re:Linux support for dev tools

OpenOCD should support Cortex-M3-debug and flash-programming for the LMI controllers soon

Cool! Please post here when you have more information. This is an important milestone for the Stellaris devices to allow linux software development.

Eric

login or register to reply

seantellis

Fresh Boarder
Click here to see the profile of this user

2006/10/30 08:55

Re:Linux support for dev tools

That's great. I have been reading around on this topic and was gradually gravitating towards OpenOCD as a starting point. It's good to know that better minds than mine are taking the same path.

The "proprietary" nature of the JTAG specs should be a non-issue - the 811 datasheet says:

For detailed information on the order of the input, output, and output enable bits for each of the GPIO ports, please refer to the Stellaris Family Boundary Scan Description Language (BSDL) files, downloadable from www.luminarymicro.com.

Unfortunately, I haven't managed to find them on the site anywhere.

Also, as far as I can glean (I am no JTAG expert by any means) the JTAG controller in the 811 starts up in a mode which effectively grants access directly to the M3 core, so if we can drive most things from there, we may be OK, at least to start with. Again, from the spec:

The LMI JTAG controller works with the ARM JTAG controller built into the Cortex-M3 core. This is implemented by multiplexing the TDO outputs from both JTAG controllers. ARM JTAG instructions select the ARM TDO output while LMI JTAG instructions select the LMI TDO outputs.

The basic minimum functionality we would need is a way to program the flash in the device via JTAG. I understand that you can do this via address-port bit-banging if you have access to the flash control lines, although the more usual way to do it is to program the on-board SRAM with a bootloader program, which itself manages the interaction with the Flash. SRAM loading strikes me as simpler than Flash loading - it has less control lines to worry about.

I don't know if this is what OpenOCD typically does for flash loading - I am still in the reading stage and my spare tinkering time seems to evaporate terrifyingly fast these days.

login or register to reply

Dominic

Fresh Boarder
Click here to see the profile of this user

2006/11/03 07:05

Re:Linux support for dev tools

As Martin already said, support for the Cortex-M core is currently being added to the OpenOCD. Magnus Lundin, who also contributed the AT91SAM7 flash code, started working on this some time ago, and last I heard was that he's progressing nicely. I don't have a LMI board myself and can't work on this therefor, so it's all up to Magnus. I'll put an announcement on the webpage once there's something usable.

The documentation for the Cortex-M debug facilities seems to be quite good, and they're available to everyone from the ARM webpage (after registering, iirc).

Regards,

Dominic

login or register to reply

LMI Eric

Moderator
Click here to see the profile of this user

2006/11/05 11:41

Re:Linux support for dev tools

That's great news Dominic! If you (or Magnus) need anything from us, don't hesitate to ask.

Eric

Post edited by: LMI Eric, at: 2006/11/05 11:41

login or register to reply
<< Start < Prev 1 2 3 Next > End >>