Other Parts Discussed in Thread: UNIFLASH
Hello All,
Please I need some help. Thanks in advanced, any help will be appreciated.
Tools I am using:
Tiva C launchpad (TM4C123GH6PM)
IAR Embedded Workbench for ARM 7.80.4.12495
Description:
I am working on a simple project in which an LED should blink when a switch is pressed (I used PortE on tiva C launchpad), and I was able to get the launchpad behave as expected. However, I added more switches to the circuit, change the software as well and I tired to download the program on the launchpad.
Problem:
I got no errors but I am getting messages that the "software reset was performed" and "target rest"! it seems like the processor is being reset every time I click the "Download and Debug" button (the full error description is below). Also, I went back to the simple project that was working correctly with one switch and one LED and it is not working any more.
Error Messages:
Thu May 11, 2017 10:59:19: IAR Embedded Workbench 7.80.4 (armproc.dll)
Thu May 11, 2017 10:59:19: Loaded macro file: C:\Program Files\IAR Systems\Embedded Workbench 7.5\arm\config\debugger\TexasInstruments\TM4C123.dmac
Thu May 11, 2017 10:59:19: Connecting to TI Stellaris (Probe no: 0E21DB10)
Thu May 11, 2017 10:59:19: JTAG Speed is set to: 500 kHz
Thu May 11, 2017 10:59:19: JTAG IDCODE = 0x0BA00477
Thu May 11, 2017 10:59:19: AHB-AP ID = 0x00000000
Thu May 11, 2017 10:59:19: AHB-AP ROM = 0x00000000
Thu May 11, 2017 10:59:19: ROM Component ID = 0x00000000
Thu May 11, 2017 10:59:19: Device ID = 0x00000000 (Unknown)
Thu May 11, 2017 10:59:19: Software reset was performed
Thu May 11, 2017 10:59:19: Initial reset was performed
Thu May 11, 2017 10:59:19: 512 bytes downloaded and verified (3.57 Kbytes/sec)
Thu May 11, 2017 10:59:19: Loaded debugee: C:\Program Files\IAR Systems\Embedded Workbench 7.5\arm\config\flashloader\TexasInstruments\FlashLM3SxxxRAM32K.out
Thu May 11, 2017 10:59:19: Target reset
Thu May 11, 2017 10:59:19: Downloaded C:\Home_Security_System\Home_Security_System_0.1\Debug\Exe\Home_Security_System_0.1.out to flash memory.
Thu May 11, 2017 10:59:19: Software reset was performed
Thu May 11, 2017 10:59:19: 524 bytes downloaded into FLASH and verified (0.89 Kbytes/sec)
Thu May 11, 2017 10:59:19: Loaded debugee: C:\Home_Security_System\Home_Security_System_0.1\Debug\Exe\Home_Security_System_0.1.out
Thu May 11, 2017 10:59:19: Software reset was performed
Thu May 11, 2017 10:59:19: Target reset
----------------
I have read what other people think it is a bin related to the JTAG that has been locked and need to be unlocked again by set it high!!!
Also some articles suggested to use the LMFlash Programmer! But I don't know why and how to use it.
Is there any simple way to reset the Tiva device to its manufacture settings?