Home arrow Support arrow Forums

Luminary Micro Forums

mangoa01

Junior Boarder
Click here to see the profile of this user

2007/10/27 14:23

Linux Flash Programming Tool

I have put up a project at Sourceforge, tcl-cm3, where I have started putting some tooling that I have written to be able to access the Debug Access Port on LM3S chips. The first program I have release is a flash memory programmer that will burn an ELF file into an LM3S evaluation board. The executable is an X86 Linux program and has been tested using ELF files produced by the CodeSourcery tool chain for a LM3S811 eval board.

There are several other packages in the project that will allow scriptable access to the Debug Access port. There is some documentation, but look for more writing as I get a little time.

Enjoy and I hope this helps some of the tooling needs for those of us developing for the Cortex-M3 on open source platforms.

Andrew Mangogna

login or register to reply

mangoa01

Junior Boarder
Click here to see the profile of this user

2007/11/18 19:39

Re:Linux Flash Programming Tool

I have released version 1.1 of tcl-cm3. This release includes the usual array of bug fixes and enhancements and fills out the documentation on "dbgreg" package.

This release also contains an interactive GUI program that can attach to a Stellaris target and read the Cortex-M3 and Stellaris peripheral registers. Its is a simple program that only reads registers and writing is not supported. However, it can halt, resume and reset the core on command. Currently only the System Control and Flash Control registers of the Stellaris peripherals are supported, but support for the NVIC, FPB, DWT, ITM and TPIU of the Cortex-M3 core is complete. Look for more capability and additional Stellaris peripherals in the future. Comments and suggestions are welcome. Please post them at the Sourceforge site.

Again, the emphasis is on Linux as the pre-built executables available for download are for x86 Linux. But since Tcl is very cross-platform capable, Windows versions are quite possible if there is any interest.

Enjoy. The browser program is a lot of fun and shows just how much you can peer into a running system.

Andrew Mangogna

login or register to reply

englere

Gold Boarder
Click here to see the profile of this user

2007/11/26 14:58

Re:Linux Flash Programming Tool

This is a pretty cool project! The code is much easier to understand than OpenOCD. I'd also like to see more debugging functionality down the road.

I started porting my visual debugger to support this platform last year, but I got derailed when it came to parsing DWARF2 symbols to support C source debugging. My debugger is currently only used for assembly language programs. I may resume the project someday. Many people are already happy with Eclipse and gdb, so there's not much demand for a new option.

I'd dread trying to teach students using Eclipse. You just can't take that much time during a class.

Eric

login or register to reply

calmeida

Fresh Boarder
Click here to see the profile of this user

2008/06/24 09:21

Re:Linux Flash Programming Tool

hello

I have tested the lm3sflasher with FreeRTOS compiled with arm gnu tools for LM3S8962 and works pretty fine.

best regards,
Carlos

Post edited by: calmeida, at: 2008/06/24 10:06

login or register to reply

gogo

Fresh Boarder
Click here to see the profile of this user

2008/08/26 09:33

Re:Linux Flash Programming Tool

Hi, what kind of JTAG dongle being used with tcl-cm3 flash programmer?

thanks & best regards!

login or register to reply