This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Problem to load code to TIVA TM4C123GH6PM (Tiva C series LaunchPad) in IAR 6.50

I tried to start debug the Tiva Launchpad board with example project in IAR 6.50 but I got following messages:

Wed Oct 23, 2013 09:25:15: Loaded macro file: C:\Program Files\IAR Systems\Embedded Workbench 6.5\arm\config\flashloader\TexasInstruments\FlashTC4.mac 
Wed Oct 23, 2013 09:25:15: JTAG Speed is set to: 500 kHz 
Wed Oct 23, 2013 09:25:15: JTAG IDCODE = 0x0BA00477 
Wed Oct 23, 2013 09:25:15: AHB-AP ID = 0x00000000 
Wed Oct 23, 2013 09:25:15: AHB-AP ROM = 0x00000000 
Wed Oct 23, 2013 09:25:15: ROM Component ID = 0x00000000 
Wed Oct 23, 2013 09:25:15: Device ID = 0x00000000 (Unknown) 
Wed Oct 23, 2013 09:25:15: Software reset was performed 
Wed Oct 23, 2013 09:25:15: Initial reset was performed 
Wed Oct 23, 2013 09:25:15: Turning off watchdog timers 
Wed Oct 23, 2013 09:25:15: 1024 bytes downloaded and verified (8.00 Kbytes/sec) 
Wed Oct 23, 2013 09:25:15: Loaded debugee: C:\Program Files\IAR Systems\Embedded Workbench 6.5\arm\config\flashloader\TexasInstruments\FlashTC4_32KB.out 
Wed Oct 23, 2013 09:25:15: Target reset 
Wed Oct 23, 2013 09:25:28: Debug session aborted.

I see the uploading progress bar, it full up to 100% but then look like hang. As I see in log message communication with board do not succesfull. Can anybody help me?

  • Hi Tankist,

         If any of your launchpad example program works, then that IAR example project, probably is not meant for the Tiva Launchpad.

    -kel

  • The problem is not in the project from the example, the problem is to download code to the processor (either my own or from the example). This is probably due to incorrect configuration files of TivaWare, because if I point out the type of processor LM4F230H5QR (which is a complete analog) and use StellarisWare, all loaded and working properly.

  • Tankist,

    Try updating to the latest IAR and see if that problem goes away, I have a feeling it will. Also worst case scenario you could use the LMFlash Programmer tool that we provide to upload the code to the board.

  • While in general TI Austin's, "update to latest/greatest" proves sound - perhaps not this time.

    Ours is paid IAR - and updated to ver 6.60.2.5507.   And this critical bit reveals:

    Unstated is whether JLink (JTAG probe) or PC to launchpad (via USB) is connection medium.  Note the yellow highlight - appears TI Stellaris is the only means (presently) to attempt to attach - if you are w/out JLink.

    Suspect the issue may be the (possible) new ICDI MCU employed under rebrand.  Or not - but perhaps worthy of consideration...

  • After the IAR updating to 6.60 everything looks good, the project is downloaded into the board and executed.

  • How do you get the IAR-compiled C code onto the Launchpad?  That minor detail doesn't seem to be mentioned anywhere I've found.