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.

Flashing Error on eZdsp F28335

Other Parts Discussed in Thread: CCSTUDIO

I'm trying to flash my code on the eZdsp58335 board and am receiving the error: "Target halted during Flash operation. Flash Operation Aborted.".  This error occurs before I even get to the point of downloading my code, so I don't believe my actual binary has anything to do with the issue.  

The settings I use for the On-Chip Flash Programmer are the following:

- OSCCLK: 30

- DIVSEL: /2

- PLLCR Value: 10   (yielding sysclkout of 150 MHz)

Flash Programmer Settings:  

- Selected the F28335 device in drop down menu

- Using the flash API file: C:\CCStudio_v3.3\plugins\Flash28xx\Algorithms\28335\FlashAPIInterface28335V2_10.out

- All option boxes are checked

Everything else I left as default and just selected my .out file in the COFF file box.  I am doing Erase, Program, Verify  but even if I just do an Erase Only, I see the same error.

The problem seems to be a Code Composer Studio 3.3 problem, so I've done a system update and believe I have downloaded all the important patches.

Here's the Code Composer Studio About Information (with board connected):

Version: 3.3.82.13

Integrated Development 5.98.0.393

BIOS  5.33.03

Code Generation Tools v5.1.2

Board Revision:    00.00.84

Target Silicon Revision:   00.00.02

I also downloaded the F2823x_RevA_CSP.exe patch thinking I have new silicon, but that didn't help either.

 

Any assistance would be much appreciated, Iv'e been fighting with it and I'm getting nowhere.  Thank you.

 

Stephen

  • OK, solved the problem off an already existing post.  I had the "Perform Go Main automatically" option selected.  Once I un-select that option, the flash went through successfully.

  • hi Stephen

    as you said here bug about goto main is also happen with me and as per you i uncheck that option then program is sucessfuly written on flash also single stepping is also working

     but while placing breakpoint anywhere it showing following error.

    Trouble Setting Breakpoint with the Action "Halt Target" at 0x3f44db: Error 0x00000008/-2048 Error during: Break Point, Unable to set hardware watchpoint 1 at 0x003F44DB. Watchpoint 1 is already in use. Some hardware breakpoints may be used by analysis.

    have you face such type of problem?

    please help me.

    thanks

    nikhil

  • Hi Nikhil,

    This error can occur, as it says, you have used the breakpoint already.

    CCS v3.3 b y default will allow you to set only one Breakpoint. You can get to know, where the breakpoint is set by using the Breakpoint manager.

    This can be found the Menu --> Debug --> Breakpoints.

    This will open up another window and show you the available breakpoints.

    And this is very strong debug tool. using which you can disable the breakpoints and still have the reference stored, instead of removing the breakpoint.

    using this you can find if really any breakpoints are set, or its something else.

    Thanks,

    Mohan

  • thanks, Mohan

    i found many times there is no any breakpoint shown in breakpoint manager

    but sill same error occur.

    i unable understand where is breakpoint, since removing all breakpoint is better option.

    thanks again

     

  • Removing the all breakpoints is a better option, but you should be aware of this cause.

    Anyway prevention is better than cure.

     

    In case if you experience this again, can you share the snapshot of the same,.That would be helpful to analyze.

     

    Regards,

    Mohan

  • hi mohan

    surely,

    regards nikhil

  • Stephen V said:

    OK, solved the problem off an already existing post.  I had the "Perform Go Main automatically" option selected.  Once I un-select that option, the flash went through successfully.

    Thanks.. This helped me a lot..