Hi
I'm trying to run the TI ' simple_tx.c ' CAN controller example.
If I "Download and Debug" the code runs o.k. on my Launchpad. I'm struggling to get the code to self-start outside of the debugger however.
In detail -
I'm using the IAR Workbench IDE.
I've created a project and cut-and-pasted the 'simple-tx.c' code into my own file 'project0.c'. I've told the linker where it can find all the various 'can.h', 'uart.c' etc. files it needs and the project builds fine.
When I "Download and Debug", using Putty I get the expected CAN messages on the UART ("Sending msg: 0x00 ...")
I can exit the Debugger and the UART messages continue. If I press the Launchpad Reset button however (or power cycle the board) everything stops (nothing on Putty / the UART).
My prior experience with simple LED-type examples is that once downloaded to the board, they self-start (i.e. do not require me to be in Debug mode).
How do I get simple_tx.c to do the same?
(I got a vague hint from some web searching that failure to include the correct startup.c file in a project could be cause of such problems. I have one such file - startup_ewam.c - included in my project. I don't know whether this is relevant?)
Any suggestions gratefully receieved
W.