energia / tivac-core

7 stars 17 forks source link

DSLite version 6.2.1.1594 fails to upload if BoosterPack attached #16

Closed rei-vilo closed 7 years ago

rei-vilo commented 7 years ago

DSLite version 6.2.1.1594 fails to upload to the TM4C123 / LM4F120 LaunchPad if the Kentec K35 SPI BoosterPack ins attached.

/Applications/IDE/Energia.app/Contents/Java/hardware/tools/DSLite/DebugServer/bin/DSLite load -c /Applications/IDE/Energia.app/Contents/Java/hardware/tools/DSLite/EK-TM4C123GXL.ccxml -f /var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/build11d21785847b24f96e591dd0f6b07e35.tmp/Blink.ino.elf 
ASSERT FAILED (find_lmicdi:251): (rc > 0) == 0
ASSERT FAILED (find_lmicdi:255): (rc > 0) == 0
ASSERT FAILED (find_lmicdi:251): (rc > 0) == 0
ASSERT FAILED (find_lmicdi:255): (rc > 0) == 0
/Applications/IDE/Energia.app/Contents/Java/hardware/tools/DSLite/DebugServer/bin/DSLite load -c /Applications/IDE/Energia.app/Contents/Java/hardware/tools/DSLite/EK-TM4C123GXL.ccxml -f /var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/build11d21785847b24f96e591dd0f6b07e35.tmp/Blink.ino.elf 
DSLite version 6.2.1.1594
Configuring Debugger (may take a few minutes on first launch)...
    Initializing Register Database...
    Initializing: CORTEX_M4_0
    Executing Startup Scripts: CORTEX_M4_0
GEL: CORTEX_M4_0: GEL Output: 
Memory Map Initialization Complete
Connecting...
Loading Program: /var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/build11d21785847b24f96e591dd0f6b07e35.tmp/Blink.ino.elf
    Preparing ... 
    .text: 0 of 2324 at 0x0
Erasing Flash.
    Finished
    Setting PC to entry point.
Running...
Success
robertinant commented 7 years ago

I can't see any obvious pin conflicts. The JTAG headers are not brought out to the so that can not be the conflict. The only thing I can think of is a power issue. K35 might draw to much power for JTAG to work properly. If you program the TivC without the display and then plug it in, does the display work?

rei-vilo commented 7 years ago

Yes, I programmed the TivaC without the display and then added the display. It runs fine.