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.

TMS320F2809: Unable to Flash code to TMS320F2809

Part Number: TMS320F2809
Other Parts Discussed in Thread: TMS320F2808, UNIFLASH

Hi,

We are using TMS320F2808 in our product. Due to flash memory utilisation exceed, we are upgrading the MCU to TMS320F2809.

We replaced TMS320F2808 with TMS320F2809 in one of the unit. Done required changes in project properties and linker file.

The code  is built successfully. But I am unable to load the code on the MCU. I am using XDS100v2 USB debugger.

I am getting following error while erasing & loading the MCU.

C28xx: Flash operation timed out waiting for the algorithm to complete. Operation cancelled.
C28xx: GEL: File: F:\MTX3.5H_with_2809\Debug\ACB0058.out: Load failed.

I have also tried erasing & loading the MCU with Uniflash tool. But I am getting same issue as shown below.

[11/10/2017, 11:25:19 AM] [ERROR] C28xx: Error occurred during flash operation: Timed out waiting for target to halt while executing FlashAPIInterface2809V1_00.out
[11/10/2017, 11:25:40 AM] [ERROR] C28xx: Error occurred during flash operation: Timed out waiting for target to halt while executing FlashAPIInterface2809V1_00.out
[11/10/2017, 11:25:40 AM] [ERROR] C28xx: Flash operation timed out waiting for the algorithm to complete. Operation cancelled.
[11/10/2017, 11:25:40 AM] [ERROR] C28xx: File Loader: Memory write failed: Unknown error
Please, provide help on this issue.
Regards,
Sanjay

  • Hi Sanjay,

    Thank you for your question. Your thread has been assigned to a C2000 expert and should be replied soon.

    Best regards,
    Chen
  • Sanjay,

    Do you see this problem on every single F2809 device? (or) is this issue isolated to a device?

    Also, are you able to erase the device without any issues?

    Regards,
    Manoj
  • Hi,

    The answers to your queries are as follows:-

    Do you see this problem on every single F2809 device? (or) is this issue isolated to a device?

    - We have received five samples from TI (Part no. TMS320F2809PZQ) last week. We replaced these DSP's with TMS320F2808 on three boards. On each board we observe this problem.

    Are you able to erase the device without any issues?

    - No, we are unable to erase the device.

     

    The additional information is as follows:-

    1. The full part number  - TMS320F2809PZQ

    2. Device Production Status (TMX, TMP, or TMS) - TI Samples

    3. Device Revision (Rev 0, Rev A, Rev B, etc) - TI Samples

    4. Tools - Compiler -  Code Composer Studio (Version: 6.0.1.00040)

    5. Hardware: Custom board, 

    6. Is the problem seen on only one device, a few devices, all devices? - Problem seen on all devices.

    7. Is the problem seen on only one board, a few boards, all boards? - We replaced these DSP's on three boards. On each board we observe this problem.

    8. Is the issue seen using TI example code (or a known working software solution)? - Issue seen on a known working software solution.

    Regards,

    Sanjay Sarang

  • Sanjay,

    Did you already try updating CCS? I'm wondering whether this is CCS issue (or) some sort of board issue

    Also, did you check the contents of CSM password location 0x3F7FF8 – 0x3F7FFF? I'm wondering whether these locations all read 0x0000s.
    Can you send me a snapshot of memory browser reading these locations?

    Regards,
    Manoj
  • Hi,

    I checked the contents of CSM password location 0x3F7FF8 – 0x3F7FFF. 

    Please find snapshot of memory browser.

    Regards,

    Sanjay 

  • Sanjay,

    Okay. It is clear that CSM is unlocked.

    Can you try updating CCS and retry.

    Regards,

    Manoj

  • Sanjay,

    I haven’t heard back from you for more than 2 weeks.

    I believe updating your CCS / Uniflash resolved the issue. I'm closing this thread. Please reopen the thread if not resolved.

    Regards,
    Manoj