Hello all,
I have recently unboxed a new EK-TM4C1294XL Launchpad. I have successfully been able to load on the simple example programs provided through TivaWare. However, when I tried to load an example TI-RTOS project (the basic hello world one), the upload would fail, saying:
CORTEX_M4_0: Loader: One or more sections of your program falls into a memory region that is not writable. These regions will not actually be written to the target. Check your linker configuration and/or memory map.
I checked both the linker command file and the device memory map, and both were consistent with the memory addresses given in the datasheet. Because of this, I disabled verification of errors in the project properties, and deployed anyway. The program did not work, and upon inspection of the registers, I noticed that the Undefined Instruction Usage Fault bit in the NVIC_FAULT_STAT register had been set. After some more time and research, I looked in the memory browser and disassembly view, and saw that all of the flash memory after address 0x786 was empty (0xFFF...), including a large part of the deployed code. I power cycled the board, changed USB cables, and restarted Code Composer Studio multiple times, but none of it worked. Upon downloading smaller applications (ie. less than 0x786 bytes long) they worked fine.
Attached I have the source directory of the broken project, flash memory save, and CPU peripheral registers save.
CCS version: 6.1.3.00033
Compiler version: TI v15.12.1.LTS
TI-RTOS version: 2.16.1.14
TivaWare version: 2.1.2.111
OS: Windows 7 64 bit
Any help would be most appreciated,
Brian Duemmer