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.

Facing problems with the IDDK Development kit ( 28377 DSP)

I am using the TI IDDK Develpoment kit to control a PMSM motor. I am following the instructions given in the "Sensored FOC of PMSM" document to control the motor. However, I facing a few problems while debugging the BuildLevel 1.

The code runs fine when executing from Flash. But when trying to use RAM is when I start facing issues.

These are the steps I am following:

1.) I erased the flash memory, using  CCS On-chip Flash GUI (Debug view -> Tools menu -> On-Chip Flash -> Erase Flash).

2.) In the Debug Configs, the following options are set: "Run to Symbol - Main" and "On a Program Load or Restart".

3.) Instead of hitting the debug  icon, I also tried Run-> Load -> Load program and select the load file then do a reset and restart after the load is complete. After this step, the program does stop at Main()

When I set the enable flag as 'high', the program stops after a point. The program gets stuck in the "Offset_CalCounter" for loop. How should I debug this problem? I am not able to figure out what I am doing wrong. 

In addition I have the following doubts:

What does this warning mean :" Icepick_C_0 : Trouble reading memory block at 0x0 on Page 0 of Lenght 0xC8 ". I am new to embedded programming, and was curious to know what this warning implies. 

Also, Sometimes when I rebuild a code; the "build" process takes forever long to complete. It is usually waiting for unfinished jobs. Could anyone tell me why this happens? 

Thanking you.

Pai

  • Hi,

    Have you chosen the RAM configuration of the project?
    If not, please right click on the project and go to build configurations, set active RAM configuration.
    If you did so, there should not be any dependency on the flash memory.
    What you mentioned below should not occur.
    >> 1.) I erased the flash memory, using CCS On-chip Flash GUI (Debug view -> Tools menu -> On-Chip Flash -> Erase Flash