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.

TMDSCNCD280039C: Run application after flash

Part Number: TMDSCNCD280039C


Hello,

we have currently encountered the following problem with our current flash environment:

We are flashing a bootloader and two applications (BL, App1 and App2, three files in total) onto the C2K using DSLite. Among others, the "Run Target Flag" (-u) is set. However, the target is only started immediately after the flash process if the boot loader file is not flashed as the first file.

The DSLite config is: DSLite.exe -c configfile -l flash.ufsettings -s VerifyAfterProgramLoad="No verification" -e -f -v -u "BL.out" "App1.out" "App2.out"

The OTP of the Board is set to load a defined section in the bootloader (stored in bank0) that is loading the app1 or app2 afterwards. The boot progress after repowering is running as intended, just the startup after the flash process does not work so the board has to be reset after flashing. 

Is there a way to submit the address of the defined start section to the controller when flashing to start the the controller regardless of the flash order?

  • Hi Joerg,

    Sorry for the late reply.

    Can you generate the logs for the case where you pass BL.out first in the DSLite command vs the logs for when you pass BL.out last?

    To generate the logs, add "-g <file.log>" to your command.

    Please attach the 2 logs, and I can analyze them to see why you are seeing different behaviours between the commands.

    Thanks,

    Ricky

  • Hi Ricky,

    unfortunately, flashing with logging takes a very long (!) time in my current configuration, but I hope I can provide the log-files tomorrow.

    Greetings, Joerg