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.

Flsh Programming TMS320F28335

Other Parts Discussed in Thread: TMS320F28335, CCSTUDIO

Dear all,

 I have developed a firmware application for my TMS320F28335 with the help of Code Composer Studio and the eZdspf28335.

The application works (quite) well in debug mode, thus I want to finally program the flash on-chip memory in order to have the dsp working immediately after a reset without the need of the jtag interface and debug.

Now I'm trying to understand how to program the flash memory and I find the SPRA8958G application report on "Running an Application from Internal Memory on the TMS320F28xxx DSP". I tried to use the sample projects found in the corresponding zip file but it doesn't work: when I program the DSP with the F28335_example_nonBIOS_ram, all work properly, but when I use the F28335_example_nonBIOS_flash program, I have the following error: "data verification failed at address 0x300000. Please verify target memory and memory map."

I have programmed the flash memory of the DSP using F28xxx On-Chip Flash Programmer that I find under Tool and I have correctly modified the SW1 switch on the eZdspf28335 in order to have a jump to flash in boot load option.

 Which would be the problem?

Can anyone help me?

 

Thank you in advance,

best regards,

 Polp

 
  • Ok...

    I have resolved the problem. it was just an error in the Flah API Interface File selection: the problem was that I used the wrong flash API. Now I have selected FlashAPIInterface28335V1_01.out  under  "CCStudio_v3.3\plugins\Flash28xx\Algorithms\28335\FlashAPIInterface28335V1_01.out".

     

    Now, just after the beginning of the erase operation, I have the following error: "Target halted during Flash operation. Flash operation aborted."

     

    Can anyone help me?

     

    Thanks again.

     

    Polp 

  • Polp,

    There is currently a bug within the Flash Plug In in which no breakpoints can be set. You need to ensure that you have all breakpoints disabled and the Perform Go Main Automatically option within the Option -> Customize menu is disabled.

    Regards,

    Tim Love

  • Polp,

     

    I "just" got to the same point in my project today and had the same problem. In talking with Tim today, he mentioned that the bug also does not allow automatic Go Main function in CCS during Build. So, go to Options in the CCS menu, Customize, Debug tab, and click off "Perform Go Main Automatically". See if that doesn't help. I just flashed one of the example projects several times to be sure I wasn't seeing things.

    Good luck!

     

    Dan 

  • It works perfectly!!!

     Thank you very much!!!