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.

on-chip flash programming s/w breakpoint

Other Parts Discussed in Thread: CONTROLSUITE

Hi!!!!

 I am trying ti run a program from flash memory but nothing work. I have followed all the documentation (spra958l) about the sujet and the result remain the same. When using the F28xx on-chip programmer I get a Halted:S/W Breakpoint. I went to TI wiki to find the solution and follow all the instructions(disable all breaking, uncheck CIO,..), all going always wrong. I am using a experiment's kit delfino F28335. when I close the on chip programmer, I get this:

 

And if I try to run the program it's also go to breakpoint in the defaut_isr, here is the figure

I have read some forum about this error, and the main is due to a problem from the the flash command file. Here is my flash command file code3124.F28335_nonBIOS_flash.zip

Thanks for your help

Fabrice Jovian

  • Hi Fabrice,

    First of all, let me get this clear: you're not able to run programs from flash right? (For f28335)

    For this you can start with the Flash example present in controlSuite and study its structure and cmd file.

    Regards,

    Gautam

  • Hi Gautam,

      I would you to thanks you for your answers and i've found the issue. Many thnaks. Now I will want to know how we can run a ADC program in flash mode. For example when trying to make a PID controller program with a potentiometer, it's work well on a RAM program but in a flash program it's does'nt work. It's possible to load the interrupt_adc_isr(void) function in the RAM to execute the program?

    Thanks 

  • That's great that you were able to run the flash example. Now what you can do is, refer the ADC example code in controlSuite and paste the required code in Flash example itself (don't forget to add respective ADC header and source files to the project). This will help you in achieving your target in minutes.

    Regards,

    Gautam