I am having the strangest, most confusing and difficult time launching my own code for my Tiva. For a TI example project, launches work fine to my target, a Launchpad. But for my own custom projects they always fail! See below for clear, and simple illustration, ordered sequentially in order of execution -
My Own Code Attempt - Fail to Launch
1. Plug in Launchpad
2. Verify device is loaded through Device Manager
3. File->New->CCS Project
name:test
target:Tiva TM4C1294NCPDT
Compiler: TI v5.2.7
Project: Empty w/main.c
4. Project->Clean (start build immediately selected)
5. Run->Debug
Result: FAIL
Cortex_M4_0: GEL Output:
Memory Map Initialization Complete
Cortex_M4_0: GEL Output:
Target Reset
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.
TI Example Code Attempt - Successful Launch
6. Project->Import CCS Projects
7. Select search-directory: M:\sw\ti\TivaWare_C_Series-2.1.2.111\examples\boards\ek-tm4c1294xl\blinky
Selected, both checkboxes marked, press 'Finish'
8. Project->Clean (start build immediately selected)
6. Run->Debug
Result: PASS
CORTEX_M4_0: GEL Output:
Memory Map Initialization Complete
No operations, steps or modifications were performed outside the listing above, simple as possible, by intent! :)
Status
The example project launches fine, but each time I try my own code it fails, 'One or more sections...'
Question
Why is this failing? How to correct??
I am strongly guessing this is a dumb, minuscule error. If so, please give me a nudge in the right direction, or illustration of how to correct, so both can launch! :)