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.

Compiler/TMS320F28335: problem with flash programming

Part Number: TMS320F28335
Other Parts Discussed in Thread: UNIFLASH

Tool/software: TI C/C++ Compiler

I took the "Example_28335_Flash" from control suite, after that a puted to my code. But then my code stand bigger i met the problem. I had ILLEGAL ISR or my program dont worked. But if i add on comment all my code, download to controller and after that i will  return back my code, this code can work nice.  

  • Sorry, you may have to re-phrase your question.

    Are you trying to say that when you embed Example_28335_Flash code into your project you are getting ILLEGAL_ISR problem?

    Are you have problems programming your application into flash using CCS flash plugin (or) Uniflash?

    Please clarify.

  • No, I have not a problem with Example_28335_Flash. But I used this stucter of code for programming to flash, but my code build very strange, sometimes this code fall into ILLEGAL_ISR, sometimes part of code dont work, but it is the same code without changing.

    May be it due to the fact that i didnt use the "#pragma CODE_SECTION"?

  • I fixed this problem, puted 

    
    
       InitSysCtrl();
       memcpy(&RamfuncsRunStart, &RamfuncsLoadStart, (Uint32)&RamfuncsLoadSize);
       InitFlash();

    after main(void){