Other Parts Discussed in Thread: CCSTUDIO
Everything was working fine for days; Then with no warning I could not start the debug of the active project.
hello world (modified) on lm3s9b92 through TI ICDI.
Error was:
Error initializing emulator:
Unable to load C:\Program Files\Texas Instruments\ccsv4\DebugServer\drivers\DebugLib.dll because The operating system cannot run %1.
Using the ICDI successfully previously and through LM Flash Programmer on this board on this project.
Cleaned out as many caches as I could find and tried to set up a new target configuration.
Debug log shows lots of Polling messages then:
00012190 3.32735419 [2244] 0x00000CE4 4 CORTEX_M3_0 POLL I: TimeToPollAgain() target is idle and needs polling in 1937 ms
00012191 3.32741976 [2244] 0x00000CE4 5 COM_DBG_IF R: dsDebugger::Poll(timeToNextPoll = 0) = S_OK
00012192 3.32747197 [2244] 0x00000CE4 5 COM_DBG_IF C: dsDebugger::Poll()
00012193 3.32770181 [2244] 0x00000CE4 4 CORTEX_M3_0 POLL I: TimeToPollAgain() target is idle and needs polling in 1937 ms
00012194 5.16026878 [2244] 0x00000CE4 5 COM_DBG_IF R: dsDebugger::Poll(timeToNextPoll = 0) = S_OK
00012195 5.16062784 [2244] 0x00000CE4 5 COM_DBG_IF C: dsDebugger::Poll()
00012196 5.16067839 [2244] 0x00000CE4 4 CORTEX_M3_0 POLL I: TimeToPollAgain() target is idle and needs polling in 94 ms
00012197 5.16079283 [2244] 0x00000CE4 5 COM_DBG_IF R: dsDebugger::Poll(timeToNextPoll = 0) = S_OK
00012198 5.16084242 [2244] 0x000008B0 5 COM_DBG_IF C: DS_Message_Dialog::SetButtonResponse()
00012199 5.16272116 [2244] 0x000008B0 5 COM_DBG_IF R: DS_Message_Dialog::SetButtonResponse()
00012200 5.16318512 [2244] 0x00000CE4 5 COM_DBG_IF C: dsDebugger::Poll()
00012201 5.16324568 [2244] 0x00000CE4 3 CORTEX_M3_0 POLL C: Polling with state STATE_ERROR and status EVENT_DSP_HALT
00012202 5.16330099 [2244] 0x00000CE4 3 CORTEX_M3_0 POLL R: Poll() returning
00012203 5.16334963 [2244] 0x00000CE4 5 COM_DBG_IF R: dsDebugger::Poll(timeToNextPoll = 0) = S_OK
00012204 5.16353226 [2244] 0x00000CE4 5 COM_DBG_IF C: dsDebugger::Poll()
00012205 5.16362286 [2244] 0x00000CE4 3 CORTEX_M3_0 POLL C: Polling with state CPU_ST_INITIALIZE_FAILED and status EVENT_DSP_HALT
00012206 5.16367197 [2244] 0x00000CE4 1 CORTEX_M3_0 GTI C: GTI_QUIT( 0x00000000 )
00012207 5.16374016 [2244] 0x00000CE4 1 CORTEX_M3_0 GTI R: GTI_QUIT( 0x00000000 )
00012208 5.16445303 [2244] 0x00000CE4 5 COM_DBG_IF C: dsDebugger::OnConfigured()
00012209 5.16450930 [2244] 0x00000CE4 5 COM_DBG_IF R: dsDebugger::OnConfigured()
00012210 5.16458654 [2244] 0x00000CE4 5 COM_DBG_IF R: dsDebugger::Poll(timeToNextPoll = 0) = S_OK
00012211 5.16506720 [2244] 0x00000CE4 5 COM_DBG_IF C: dsDebugger::Poll()
00012212 5.16539049 [2244] 0x00000CE4 3 POLL C: SystemDeInitializer::Poll()
00012213 5.16544437 [2244] 0x00000CE4 3 POLL C: SystemDeInitializer::BeginShutdown()
00012214 5.16550398 [2244] 0x00000CE4 1 COM_DBG_IF C: ImplementationValidity::MarkInvalid()
00012215 5.16563320 [2244] 0x00000CE4 1 COM_DBG_IF R: ImplementationValidity::MarkInvalid()
00012216 5.16568613 [2244] 0x00000CE4 3 LIB C: Locating "CleanupCtools" in 0x1B520000
00012217 5.16608000 [2244] 0x00000CE4 3 LIB R: Located "CleanupCtools" at 0x1B567190
00012218 5.16640186 [2244] 0x00000CE4 3 LIB C: Locating "CleanupCtoolsAsync" in 0x1B520000
00012219 5.16644955 [2244] 0x00000CE4 3 LIB R: Located "CleanupCtoolsAsync" at 0x1B567570
00012220 5.16653490 [2244] 0x00000CE4 3 CT C: CleanupCtoolsAsync()
00012221 5.16688681 [2244] 0x000001FC 3 CT C: CleanupCallback::OnComplete()
00012222 5.16693830 [2244] 0x000001FC 3 CT R: CleanupCallback::OnComplete()
00012223 5.40635395 [2244] 0x00000CE4 3 CT R: CleanupCtoolsAsync()