Dear Technician:
I am the novice of using C6713 and CCSv5 to conduct project.
The biggest difficulty I meet was that the code was built successfully with zero errors or warnings, but the result was not shown or different from what I have expected.
Here I would like to demonstrate an example with the snapshot:
Remark: in this example, I repeatedly called DSK6713_LED_on(i) to illuminate one of the LEDs. However, when I called DSK6713_LED_on(2), the 2th and 3rd LED turned on together. If I called DSK6713_LED_on(0), the 0 2 3 LED turned on together!
Although there was zero errors or warnings, this LED control was not stable.
The teacher told me I should use DSK6713_LED_on(i) as the LED API to control the LED. But the compiler reported warnings like this:
The cmd file:
Could you please tell me what is typically the strategy to sort out the reason of the problem if no error occurred? The biggest difficulty of using C6713 at early stage is that the failure is out of several different reasons but I cannot be certain which is the predominant reason.
I showed my guessings:
1-The API function I called is obsolete and I need to refer to updated BSL API reference.
2-I inadvertently forgot to add necessary ".h" file at the beginning of the .c file. Calling certain API requires adding certain ".h" file.
But here my ".h" file should be correct.
3-Using LED on and off function requires the initialization of the LED or even the whole dsk.
4-Should I use single-step debugging and check whether the corresponding LED registers were really modifed or not. (The general strategy of debugging).
5-The problem of memory allocation such as memory space conflict.
6-Other reasons beyond my knowledge.
Could you please give me specific analysis?
Thank you very much!