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.

LAUNCHXL-F29H85X: flash mode configuration programming is not working

Part Number: LAUNCHXL-F29H85X

Hello Team,

I am attempting to flash the application code onto the device; however, the flashing process is failing and an error message is being displayed. I have attached the screenshot of the error below for your reference.

Kindly review the issue and provide guidance on how to resolve it.

image.png

Thank you.

 

  • Hello,

    What state is your device in before loading? Can you try putting it in wait boot first?

    Best,

    Alex

  • Hello Alex,

    can you please explain the exact steps for putting device is wait boot state.

    and below is the logs from debug output

    C29xx_CPU1: Warning: Target CPU may be stuck in a persistent fault state C29xx_CPU1: Before doing any flash operations using the flash plugin: C29xx_CPU1: (a)Please select which bank mode will be used for CPU operation - Bank Mode 0, Bank Mode 1, Bank Mode 2, Bank Mode 3. C29xx_CPU1: (b)Please select the flash banks that the user would like the flash plugin to erase in the flash plugin GUI. C29xx_CPU1: When loading data to SECCFG memory region within your .out file, you can select the option to C29xx_CPU1: 'Allow NonMain Flash erase before loading data to Flash memory'. C29xx_CPU1: WARNING - Erasing SECCFG will erase programmable OTP, please proceed with caution (device may get locked). C29xx_CPU1: Enable NonMain sector erase ONLY if necessary. C29xx_CPU1: When programming the NonMain BANKMGMT Settings to set the Bank Mode, check that the Flash Bank Mode Select C29xx_CPU1: in the User Config Settings matches the set mode before resuming operations. C29xx_CPU1: After programming the BANKMGMT, the device MUST BE RESET THROUGH XRSn to enable the new configuration. C29xx_CPU1: Note: When loading Multi-Core Flash Examples, ensure that the device is in the correct Bank Mode prior to programming. C29xx_CPU1: Bank Mode 2 and Bank Mode 3 can be used for Multi-Core Flash programming. C29xx_CPU1: Resetting the target... C29xx_CPU1: Resetting the target completed... C29xx_CPU1: Configured PLL for 200MHz C29xx_CPU1: Error writing the init algorithm. Flash algorithm returned error code. Operation cancelled. C29xx_CPU1: File Loader: Memory write failed: Unknown error C29xx_CPU1: GEL: File: C:\Users\sayalid3\workspace_ccstheia\mcan_ex6_transmit_receive_syscfg\FLASH\mcan_ex6_transmit_receive_syscfg.out: Load failed.

  • Hello Alex,

    I have tried to put device in wait boot state and it worked. Thanks!!Grinning