I can't connect to my PICCOLO controlSTICK. The Code Composer Studio gives the following error messages (one line for each attempt):
Error connecting to the target: Error 0x00001200/-1135 Error during: OCS, Target, Unrecoverable emulation error
Error connecting to the target: Error 0x00001200/-1041 Error during: OCS, Target, Device driver: Problem with the Emulation Controller. It is recommended to RESET EMULATOR. This will disconnect each target from the emulator. The targets should then be power cycled or hard reset followed by an emureset and reconnect to each target.
Error connecting to the target: Error 0x80000200/-1047 Fatal Error during: OCS, PTI_ERR_EMU_CLOSE Error Occured at 0x00000000
Error connecting to the target: Error 0x80000200/-1047 Fatal Error during: OCS, PTI_ERR_EMU_CLOSE Error Occured at 0x00000000
Error connecting to the target: Error 0x00001200/-1041 Error during: OCS, Target, Device driver: Problem with the Emulation Controller. It is recommended to RESET EMULATOR. This will disconnect each target from the emulator. The targets should then be power cycled or hard reset followed by an emureset and reconnect to each target.
I have tried to power-cycle the board by disconnecting and re-connecting the controlSTICK to the USB port.
Here is what happened:
Initially, the PICCOLO controlSTICK worked fine with the BlinkingLED project. However, the provided project did *NOT* clear the uninitialized variables (.bss or .ebss sections), as required by the C standard. I was forced to experiment, and at some point I selected "No Autoinitialization" option for the Autoinit model in the Linker options. I also modified the program to use the low-power idle mode (asm(" idle")). The idle mode was entered with interrupts locked.
After programming the software into the flash memory of the controlSTICK I no longer can connect to the board.
Did I hose the board completely?
Do you know of any workarounds?
Any help will be greatly appreciated.
Miro