Part Number: TMS320F28075
Hello.
I am using 28075 MCU.
What I want to know is if there is a #Define or register flag that can distinguish when I am running Debugging Mode through CCS.
I look forwad to hearing from you.
Best regard.
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.
Part Number: TMS320F28075
Hello.
I am using 28075 MCU.
What I want to know is if there is a #Define or register flag that can distinguish when I am running Debugging Mode through CCS.
I look forwad to hearing from you.
Best regard.
Hello,
I assume you are looking for a way for your target application to determine if the target has a debug connection with CCS. This may be possible by reading a register or something like that. It would be very device specific. I will bring this thread to the attention of the device experts for more comment
Thanks
ki
Hello Seockhyun,
Based on what is present in the reference manual, I do not see any register that can be used to see if the device is in debug mode. I will forwards this to the JTAG expert to see if there may be some other way to detect this.
Best regards,
Omer Amir
Seockhyun,
I do not think that there is a better way than commenting/uncommenting some #define statement. If that does not work for your situation, you could have the device read some GPIO with a pull-down resistor, and then make sure to drive that GPIO high when the debug probe is connected.
Best Regards,
Ben Collier
Thank you to those who answered.
I was look forward which like 'DCON' in RESC register of 280049MCU.
Maybe I don't think that there is anything like 'DCON' of 28075MCU.
But I think we need a register that functions like this.
Thanks.
Shin
Shin,
I don't think there is anything like this on F28075 MCU. It is there for all newer MCUs.
Best Regards,
Ben Collier