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.

F29H85X-SOM-EVM: How to start a program when led_ex1_blinky_cpu1_cpu3_multi is turned on

Part Number: F29H85X-SOM-EVM

Tool/software:

I have confirmed that the LED blinks using led_ex1_blinky_cpu1_cpu3_multi (FLASH build). I would like to know how to make this program start automatically when the power is turned on without operating it from the CCS.
After confirming that led_ex1_blinky (FLASH build) works, the LED blinks automatically when the power is turned on, but the LED remains off with led_ex1_blinky_cpu1_cpu3_multi (FLASH build).

  • Hi,

    I verified the multi core LED blinky example on F29H85X-SOM-EVM in FLASH configuration and can observe that the LEDs are blinking after power ON.

    Can you check if the multi core example is running as expected?

    regards,

    Anand

  • Hello, Anand

    If I use CCS it runs as expected.
    If I do a Flash Project from the c29x1 project, the two LEDs start blinking immediately, but if I power it back on afterwards, the LEDs do not blink and remain off.

    I connected to CPU1 in this state and read the FLASH area of c29x1.out. There was data in the codestart area and after (0x10001000 - ), but I am concerned that the cert area (0x10000000 - 0x10000FFF) was all 0x00.

    regards,
    Saguchi

  • Hi Saguchi,

    Is it possible to share the CPU1.out that you have created?

    I will test it on my side

    regards,

    Anand

  • Hello, Anand

    I found the cause of the problem.

    The information about the LED blinking after power up without changing the multi core LED blinky example was a very big hint. Thank you very much.

    I have been using led_ex1_blinky_cpu1_cpu3_multi in my workspace for Build, but for connection to CPU1, I have been using the right click menu of led_ex1_blinky_cpu1_cpu3_multi_c29x1 and selecting Debug Project or Flash Project from the right click menu of led_ex1_blinky_cpu1_cpu3_multi_c29x1.
    (Because this operation is not available for led_ex1_blinky_cpu1_cpu3_multi.)
    When I connect to CPU1 with this operation, the stand-alone Build of c29x1 is performed again to overwrite c29x1.out before connecting to CPU1, so it seems that the data in the cert area of c29x1.out is cleared.
    (I had also Load Program c29x3.out after connecting to CPU1).

    I was able to Load Program the correct c29x1.out by connecting to CPU1 from Connected Targets in CCS instead of using the right-click menu of the project, and the LED blinks even after power-on.

    Best regards,
    Saguchi