nsunshine
Joined: 17 Aug 2011 Posts: 1
|
PIC24F Development Kit - Issue with "#device ICD=TRUE&q |
Posted: Wed Aug 17, 2011 9:26 am |
|
|
I wanted to share a helpful response I received from CCS in response to an issue I was having. I just got started with the PIC24F Development Kit and I was getting "Verification Failure" when trying to load the simple green led flashing program in the Exercise book.
It turns out that the line was the culprit. Commenting out this line and manually loading the hex file resulted in a program that worked correctly. However, this did not allow me to use the IDE's debugger.
I contacted CCS, and they told me to use the line instead. The reasons is that #device ICD=TRUE is a macro that equates to CCS stated that newer versions of the compiler (I have 4.124) have added new functionality to choose the pair of ICSP pins to use for debugging based on the number after "ICD=".
After making this correction everything worked perfectly. Not sure if this problem has been seen already, but I figured I would post the solution for everyone's benefit. |
|