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.

TMS320F2806: TMS320F2806 work after programming but fail to work after power cycle

Part Number: TMS320F2806
Other Parts Discussed in Thread: UNIFLASH, C2000WARE

Dear Sir/Madam,

We are facing a strange issue on TMS320F2806. Below are the configuration we use:

OS: Windows 10

Programming cable: XDS200

programming tool: TI Uniflash Ver 5.0.0.2289

Issue:  

Once we flash the firmware using XDS200, the firmware is executed (Some LED pattern). But once we power cycle the device, the DSP stops working (LEDs don't blink). We want the DSP to boot from the flash. The GPIO 18/29/34 are left floating because there is an internal pull-up at power-up.
So here are the two steps:
1. Board is power ON --> Flash firmware --> System runs because LED blink
2. After (1), we disconnect XDS200 and power cycle the system --> firmware is not executed because LEDs don't blink.

After successfully program to OTP and Flash, the program managed to execute and work correctly by toggling the LEDs. But after a power cycle, it failed to work since the Leds, is not toggling ON anymore. We only managed to bring it up again by re-programming using the Depletion Recovery option in Uniflash. Any advice what is the possible issue?

I attached all the related screenshot for your reference here, please help to identify what is the issue?

best rgds,

KPK

  • KPK,

    Is this your own application code or an example from TI C2000Ware?

    Can you try loading any C2000Ware example built with Flash-build configuration and see if that works for you?

    Did you check if any initialized sections are mapped to RAM in your linker command file?  If yes, it may work when you load with UniFlash as it will try to load the RAM content.  But it would not work in standalone mode since that code in RAM gets lost once you power cycle the device.

    Thanks and regards,
    Vamsi 

  • hi Vamsi,

    This is end cust own application code using their own PCB.

    As the source code is developed by their Germany team, the local team here only have .BIN/.HEX/.OUT files for programming purpose and testing purpose. Thus, I am not able to check the initialized sections of the code. do you have any advice on this how we can check whether it is writing to RAM or flash area? 

    I will send you a video privately to show you how the LED toggling behavior when programming is done and when it's power cycle, the LEDs just stay there without blinking.

    After a successful programming on Flash area, we tried to do a verification but we get this message. we does have password key in correctly. Is this because we lock it then we get the message below? 

    [1/20/2020, 3:02:43 PM] [ERROR] C28xx: File Loader: Verification failed: Values at address 0x3F0000@Program do not match Please verify target memory and memory map.

    After I erase sector A memory, I get error message as below
    [1/20/2020, 3:06:11 PM] [ERROR] C28xx: File Loader: Verification failed: Values at address 0x3F6000@Program do not match Please verify target memory and memory map.

    But when we try to do unlock and then verify, we still getting the same error message above. Why? 

    Best regards,
    kpk

  • KPK,

    You can ask the customer to check if they map any initialized sections to RAM. Or you can get their map file and check the same. That would be the simple way.

    Regarding the error: Maybe the password used in the new executable loaded in the device is different than that of what you use in the key field.

    I will loop in F2806x expert to help you further.

    Thanks and regards,

    Vamsi

  • Hi KPK,

    Do you have any update on this issue from your side? Vamsi provided some good suggestions to check.

    Let us know if you need any additional support from our side.

    Best,

    Kevin

  • hi Kevin,

    Issue solved, seem like the password is creating some issue. After recompile the source code without the password. Programming completed and successful run in Flash without issue. Thx for following. Case closed. 

    Best Rgds,

    KPK