Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: Problem on download and debug using IAR

$
0
0

Hello,

I've bought a development kit DK-TM4C129X. I wish to work under IAR version 6.6 (which is included in the kit).

I have a problem when I try to download and debug the firmware (even the examples code). The IAR is stuck in the download stage and doesn't turn into the debugging stage, even after the download indicator gets to 100%. Eventually when I cancel this action, I get the following Log messages:

 

Sun Jun 01, 2014 14:47:08: Loaded macro file: C:\Program Files\IAR Systems\Embedded Workbench 6.5\arm\config\flashloader\ TexasInstruments\FlashTC4.mac

Sun Jun 01, 2014 14:47:09: JTAG Speed is set to: 500 kHz

Sun Jun 01, 2014 14:47:09: JTAG IDCODE      = 0x0BA00477

Sun Jun 01, 2014 14:47:09: AHB-AP ID        = 0x00000000

Sun Jun 01, 2014 14:47:09: AHB-AP ROM       = 0x00000000

Sun Jun 01, 2014 14:47:09: ROM Component ID = 0x00000000

Sun Jun 01, 2014 14:47:09: Device ID        = 0x00000000 (Unknown)

Sun Jun 01, 2014 14:47:09: Software reset was performed

Sun Jun 01, 2014 14:47:09: Initial reset was performed

Sun Jun 01, 2014 14:47:09: Turning off watchdog timers

Sun Jun 01, 2014 14:47:09: 1024 bytes downloaded and verified (4.27 Kbytes/sec)

Sun Jun 01, 2014 14:47:09: Loaded debugee: C:\Program Files\IAR Systems\Embedded Workbench 6.5\arm\config\flashloader\TexasInstruments\FlashTC4_256KB.out

Sun Jun 01, 2014 14:47:09: Target reset

Sun Jun 01, 2014 14:47:19: Debug session aborted.

 

After this, when I press the Reset button on the board the downloaded FW runs! But of course I have already left the debugging stage...

How can I continue with the debugging stage after the download is completed on the IAR?

 

I noticed that the included device is XM4C129NCZADI1, silicon revision 1 (and not TM4C…), which is an experimental device. Can this be the reason?

 

When I use CCS and perform build project and debug actions, the FW is downloaded into the device and I can debug it successfully.

Also with the LM Flash Programmer I can download the FW into the device successfully.

 

I tried to uncheck the "Use Flash Loader" option in the Download tab under the Debugger menu. I got warnings about mismatched bytes between target and file. I think that in this case the flash wasn't written at all.

Is the FlashTC4_NC.flash flash loader is correct for this device?

 

Thanks you,

Amir


Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>