This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TMDSDOCK28335: Uncertain Behavior and Error during Debug

Part Number: TMDSDOCK28335

Tool/software: Code Composer Studio

Hello,

I am using a f28335 control card with docking station. I was trying to do sci communication. Suddenly I started getting error 1156 (Low Power mode ) and sometimes Error 1041( Debug Probe) while launching debug. I tried many things like restarting CCS and Laptop but same error persisted. After that I changed the SW1 position on control card to ON and suddenly I was able to connect and debug the flash program. But after 2-3 times I got the same error while debugging. Again I made SW1 ON-OFF and it worked. After sometime it again failed. I dont know why this trange behavior is happening. I guess my board is fine because due to error I was unable to connect to the board through JTAG but my previous program was running from flash. I checked all the voltage levels and everything seems fine. So can anyone suggest or guess what's happening exactly? Is it laptop problem or docking station FTDI chip problem or Control Card problem ? I don't know but some time I felt that whenever I added one statement of "SPRINTF" in my code that error happend. There is no logic but may be a coincidence.  Sometimes the debug or jtag part gets disconnected while running also. 

Thanks in Advance 

Suraj

  • Suraj,
    Can you comment on the state of all posistions of SW2? This is the boot mode control pins, all "ON" would be boot to flash.

    Do you know if you have used the Code Security Module(CSM)? This password protects all the flash and some of the RAMs. When this is active, and a JTAG access is attempted while the code is in a secure region it will stop the JTAG connection. We would need to leverage the Wait In Reset(WIR) feature in the emulation settings in Code Composer.

    Best,
    Matthew
  • Hello Matthew Sir,

    All SW2 are in ON position that is boot to flash. No directly i have not used CSM. I was just operating the board as standalone module i.e. I am running the program from flash memory. Now the board is working. I don't know what was causing that strange behavior or will it happen again. Your help will give me some insight.

    Thanks

    Suraj

  • My only thought if the issue is itermittant is that the docking station and the control CARD that is plugged in are both going to draw power from the USB port. If there were a cabling issue or the drive from your USB on the PC is low it could cause these issues. I have seen issues where a USB port goes bad, and under the right(or wrong) loading conditions of our device the current draw is enough to make the voltage droop enough to cause issues on the C2000 end.

    The only other explanation I have on a connection being intermittant is the CSM observation above. If the area is not used/erased this won't be active though.

    Best,
    Matthew
  • Hello Matthew Sir,

    Thank you for your insight. I will check for that.

    Suraj