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.

warning! no valid program is currently loaded into memory. Do you still want to run?

Other Parts Discussed in Thread: TMS320F28335

hello...

i would like to run the example i get from sprc530... using timed_led_blink.

But the problem i face here is that when i want to run the program, it says that no program loaded into memory. i have set the ezdspf28335 boot to SARAM jumper but

there is no effect because the program is not load into the memory. may i know how to make it works? Thanks

 

mf azim

  • mf azim,

     

    It sounds like you have not loaded the .out file produced from the project into the memory. Did you select File -> Load Program after building the project? We have an app note that describes how to load a program onto the device. The app note is written for the F2808 but you can use the same methodology for program. This app note is available at the following link:

     

    http://focus.ti.com/lit/an/spraam0a/spraam0a.pdf

     

    Regards,

     

    Tim Love

  • Thanks for the precious information. I have view the document and enable me to load and run the program. This means that every time we compile and build the code we need to load program .out file before running the program rite? Thanks again Tim.

    Regards,

    MF

  • MF,

    I am glad to hear you have this working now. You do need to load the program after you build in order to debug. There is an option within CCS that you can enable that will load the program automatically after building. To enable this option, navigate to Options -> Customize ->.Program/Project/CIO and check the box titled Load Program After Build.

    Regards,

    Tim Love

     

  • Dear Tim Love,

    Thanks for the information. I got another question. How to flash a program that is stored inside memory and not on chip flash which means that it save the program in the MCU and the next time i debug/run the eZdsp it will automatically run the function/program that i have downloaded it into the MCU and also how to reset/clear the program that i have download through eZdsp.

    Regards,

    MF

  • MF,

    I am not sure I understand the question. You say you want to flash a program that is stored inside memory and not the flash. Can you provide a clarification? Do you mean you want to program our project to the flash? If so, there is an app note available that describes all options. This is avialable at the following link:

    http://focus.ti.com/general/docs/techdocsabstract.tsp?abstractName=spraal3

    Regards,

    Tim Love

     

  • Hello,

    Sorry if the question is not clear. Let me clarify what actually the question in my mind.

    1) I use to run the example which project is configured for "boot to SARAM". Example of it is
    timed_led_blink program from sprc530, what i can see is that the cmd used is 28335_RAM_lnk.cmd.
    What i do is the when i added the .out file after rebuild all, the led on GPIO32 will blink as cpu timer
    interrupt. After i close the project and run again the eZdsp, the led is not blink and need to load the .out
    file again. Is this means that it stored memory in SARAM? Out side the TMS320F28335 chip that did not stored the
    program to blink led?

    2)So, by using project is configured for "boot to FLASH", I will change the cmd file to F28335.cmd. If i
    rebuild all, and load the .out file of led_blink, is it gonna work just like that? I mean the by just change the
    linker file? Or i need to change other command/program and the example for boot to SARAM is it totally for
    boot to SARAM only and cannot be alter/change to make avaiable for boot to flash version?

    3)The F28xx On chip Flash Programmer is it work the same concept as boot to FLASH? Which the .out
    file would be used to flash the program? If the .out file is from boot to SARAM example, is it is the same
    .out file of boot to flash? And also after i flash the program, is it the program in the TMS320F28335 is stored forever which means every time i power up the eZdsp kit the GPIO32 led will blink?

    Thats all for my query and clarification, i hope u get what actually i am thinking.

    Thanks a lot...

    Regards,

    MF