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.

Error during program dumping to the target..

Other Parts Discussed in Thread: TMS320LF2407A, LM317

Hi all,

 

     I am using TMS320LF2407A DSP, when i am dumping the code to the target board Flash  an error is displaying i.e Read status value 0x0001 from symbol PRG_status , Flash algorithm failed during clear operation. what's the problem, can any one clear that problem ... whether i have to change any setting in the CCS ...

  • Hi ramprasad tadipatri,

    have you found a solution for the problem? i have the same error with F2406A :

    "Read status value 0x0001 from symbol PRG_status , Flash algorithm failed during clear operation".

     

    Thank you

    Claudio

     

  • I found this information in previously reported issues and it might be helpful here:

    A PRG status of 0x0001 indicates that the flash memory is locked or the flash is no longer programmable. This could happen if one of the following had occured:

    - You have previously programmed the password locations of the Flash. If so, and you have forgotten the password you must replace the DSP as you will not be able to unlock the flash.

    - You have not programmed the password, but programmed the Flash itself. If so, is it possible that you programmed the password locations? You can tell this if you have the last project that you programmed to the flash.  You can look in the linker command file and see where your program code is starting and make sure it is not in the password locations.

    - Sometimes power cycling while flash process is occurring can permanently lock the flash. You do not want to prematurely end the flash algorithms.

    In the flash plug in you could try placing FFFF in all password locations and select unlock. If this does not work,  select View -> Memory and see what is located at the password addresses. You can place these values in the password locations of Flash Plug In and select unlock. If none of these work, then unfortunately, it looks like you have permanently locked the flash and the chip would need to be replaced.

  • Thank you very much Aarti for the report of various solution,

    this morning i have solved the problem and write in the Flash, the Flash memory was locked via Hardware,  the pin VCCP (Vcc programming) was not powered at VCC (5V) and this disable the flash programming.

    Now with 5V at the pin VCCP the Flash is unlocked and i can write into the Flash memory via JTAG.

    Bye 

    Claudio

  • Hi all:

    i have solved this problem in practically more time and share my experience with you.  this issue may happened under three factors below:

    1, you may lock your password in programing process, you can nulock your chip by your password, and then program the FLASH

    2, with 5V at the pin VCCP and ensure this stable at 4.75V and 5.25V arrangement. , sometime when do programing FALSH, a 10ms of  bigger voltage can absolutely damage 90% area in FLASH.

    3, i found customer privately add the wire between emulator and target board  more 30cm. but this JTAG standard must be under 15cm.. so you must enture your emulator work successfully for you.

    with three step check , i think you will have a good luck to burn the FLASH on  LF24XX  plateform smoothly, thanks

  • Hi,

    I too have experienced the similar ones.

    I would like to add one more point.

    • Even though you set the voltage at the right level, check the current limitation also. If the current is not sufficient, then also the above scenario can occur.
    • If you have External Watchdog used in your custom board. This also can lead to the same issue. 

    The above two scenarios, we will receive only the error message, but will not damage the flash

    Regards,

    Mohan

  • Hi Mohan:

    thank you for your share. but i have a problem that the current you have  mentioned above refer to? through VccP pin? thanks

  • Hi George Li,

    This current is applicable to the whole board supply. Because other peripherals too consume power.

    You can check how much power is required to operate your board. Based on this you can decide with power.

    This in turn will reflect on the current sent through Vcc Pin

    It will include the total power consumed while it is writing in to Flash. This will not only affect Flashing, also regular application, if you have more to compute.

     

    Thanks

    Mohan

     

  • hi mohan

    can you suggest me best regulator ic for getting 3.3v and 1.8v for f28044.

    i found that regulator ic(lm317) getting heated too much. It's current rating is 1.5 Amp.

    device is not taking so much current but still getting heated at 3.279v output.

  • Hi Nikhil,

    The voltage converter will obviously dissipate heat.

    You have to check whether the heat observed by you is well with in limits or not.

    As per the Datasheet it can be till125 degree.

    Please refer to the page 10 in the datasheet .

     

    Regards,

    Mohan

  • Hi Claudio !

    I've read your post about flash programming via JTAG the DSP and since you've done it I'm asking you for a litle help. I'm a student and I'm involved in a project that's using a DSP (LF2406A) board. It's one purchased from Techosoft. It came with a monitor utility, but I had succesfully erased from Flash memory. Now I'm trying to replace it in the memory but I just can't figure it out. Also I'm using an emulator (XDS510PP Plus)  conected to the paralel port of the my PC. I have the Flash utility instaled, CCS v4.1 and my  PC comunicates via the emulator  with the DSP.

    Could you please describe the steps you've made in performing the task (programming via JTAG) ?

     

    Marius 

     

     

  • Hi Marius,

    i have used CCS 3 for programming F2406 via JTAG and USB2000 emulator, but is not your configuration,

    with CCS 4.1it is enough to push debug button and all steps are executed.

    But you have some error?

    Bye

    Claudio

  • Thanks for your reply!

    The thing is that the COOF file I'm trying to restore into the flash memory doesn't have the extension ".out". It's one used for flash programing the device via RS232. So I get an error like " file it's not a valid COFF file.....". When trying to use a dummy file the erase-program-verify algorithm stops at programing (error at adress 0x00000000) like it would be protected, some how. 

    Did you get this kind of errors? What file did you put into the flash memory, I mean :  was it an algorithm you've created , or an original file?

    I will try debuging it monday morning when I'll get to the lab. Thanks for the advice !

    Marius

  • If you use emulator  XDS510PP, you have to program with .out generated from build compilation in CCS in the output folder or debug folder.

    Check if that VCCP  in the hardware is set to 5v.

    Bye

    Claudio