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.

TMS320F28335 Boot from internal flash

Other Parts Discussed in Thread: CONTROLSUITE

I want to run the program (my code) from internal flash. I took the example code from TI but in this code they configured for "boot to SARAM" . 

What changes to be done if I need boot from internal flash. I also got confused with BIOS / NON BIOS program.

Please guide me .....

Ashutosh 

File Name which I got from TI is : Example_2833xGpioToggle

  • Hi Ashutosh,

    I would like you to check this sample code out: (If you've already installed controlSuite)

    C:\ti\controlSUITE\device_support\f2833x\v133\DSP2833x_examples_ccsv4\flash_f28335

    The above code is a sample code meant to be run through flash.

    Regards,

    Gautam

  • Thank You Sir, 

    Let me check ...

    Ashutosh Bhatt

  • Dear Sir, 

    I am using code composer v3.3 and I got update from the site the latest service Release. And you given the link for higher version so I use the earlier example code named "sprc530.zip"-->Example_28335_Flash.pjt. But Now again I stucked. 

    I compile the programe ; compiled successful . Device is connected. I click on tool tab and click on flash programmer(The very first option) , then I got this screen shot in which asking for password. When I filled with All 0XFFFF. It was showing the second screen shot. Now I dont know the step by step procedure that how i resolve it ..

    Please Guide me to program this DSP. 

    Ashutosh Bhatt

  • Hi Ashutosh,

    I guess, the device had been previously locked with a password and unless you use the same key it will not let you access the flash operations. Check for the CSMpassword files in your previous projects for more details.

    Also check this link: http://processors.wiki.ti.com/index.php/Code_Security_Module_FAQ_for_C2000

    Regards,

    Gautam

  • Sir, 

    I have gone through the link and i found that if this chip is already programmed and CSM pass is not known then there is no method to use this chip as boot from flash. But If I change the configuration that GPIO for boot from "Jump to SARAM    <- "boot to SARAM"" then can I send my code into it and run this chip. Actually I did that GPIO setting , But I could not found that now how to send my code into it . 

    I am using "XDS510LC USB " and Chip is TMS320f28335pgfa. My CCS ver is attached in the screen shot. 

    This is very strange condition with me that I have every thing to program it but I am not able, I dont know where i am going wrong..

  • ashutosh bhatt said:
    Actually I did that GPIO setting , But I could not found that now how to send my code into it . 

    Is this the gpio setting you're talking about?

    Regards,

    Gautam

  • Yes , 

    I configure that "4" no setting Jump to SARAM. Now How I send my code into the device and How I debug it ?  Because there are only one option in tools --> F28xx On chip flash programmer. So now what to do ? / should I replace the device and try to run the program from flash as given procedure..

  • ashutosh bhatt said:
    I configure that "4" no setting Jump to SARAM. Now How I send my code into the device and How I debug it ?

    But you wanted to run the code through flash right and not from RAM? Refer this doc too:

    0143.Running from Internal Flash.pdf

    Regards,

    Gautam

  • Dear Sir,

    I successfully run the program from flash and RAM also.

    Thank You very much for guiding me..

    Ashutosh