I've searched around quite a lot, but haven't found an easy(ish) way to load programs onto the Cortex M3 using Linux.
I have tried using the summon-arm-toolchain https://github.com/esden/summon-arm-toolchain/ but it was having problems downloading one of its dependencies.
Does anyone know of any other options?
Best Answer
The
C
compiler I use for my Cortex M3 is Soucery Codebench Lite Edition. There are some alternatives like YAGARTO. You need to write (or find) a linker script that fits your MCU.You also want the CMSIS package for your MCU. That contains all the register definitions.
For flashing and debugging I use OpenOCD, this allows to use GDB as frontend for both tasks. The EKS-LM3S1968 board is shipped with a JTAG-to-USB chip supported by OpenOCD.