Hello,
I am developing some code for the LM3S617 micro using the RDK-STEPPER board, CCSv5.2.0.00069 and a Spectrum Digital XDS560vSTM emulator.
I load the firmware into the micro, run it and immediately get the following error:
CORTEX_M3_0: GEL Output:
Memory Map Initialization Complete
CORTEX_M3_0: GEL Output: Watchdog Timer Enabled
CORTEX_M3_0: GEL Output: UARTs Enabled
CORTEX_M3_0: Error: (Error -1044 @ 0xFFFFFF4C) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Emulation package 0.0.0.0)"
If after a complete power cycle of the board and emulator I try again, I get the following:
CORTEX_M3_0: GEL Output:
Memory Map Initialization Complete
CORTEX_M3_0: GEL Output: Watchdog Timer Enabled
CORTEX_M3_0: GEL Output: UARTs Enabled
CORTEX_M3_0: Flash Programmer: Timed out while writing to Flash memory
CORTEX_M3_0: Trouble Writing Memory Block at 0x800 on Page 0 of Length 0x49f0: (Error -180 @ 0xA05F0001) The controller has detected a target power loss. The user must turn-on or connect the power supply for the target. (Emulation package 0.0.0.0)
CORTEX_M3_0: GEL: File: C:\SOFTWARE\MAPS-StepperMotorControl\trunk\MAPS-StepperMotorControl\Debug\MAPS-StepperMotorControl.out: Load failed.
Another power cycle and I'm able to load the .out file again (but I still get the first error message when I try to run it).
I have checked the RESETn and power lines to the micro. All are good. Not sure what the Emualtion package 0.0.0.0 means.
There is a JTAG clock (set to 1MHz, TCLK looped-back enabled). I've also tried this with pins 9 and 11 connected together, same result.
I get the same results on a second RDK-STEPPER board.
The emulator works fine with an LM3S6965 Ethernet evaluation board.
If anyone has any clues, I'd be very grateful.
Cheers,
Ian