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.

TMS320F28377S: F28377S Bootcode cannot jump to APP

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

Hi Champion.

My customer use F28377S deisng a SCI bootloader themselves and they find boot code cannot jump to app, but if connect Uniflash to verify all code, it can work and when reset, boot code also cannot jump to app. They have try to download app and boot code driect as uniflash, it can run well. So can you give me some suggestion ahout the root cause ?

Thanks!

BR

Joe

  • Joe

    They have their own SCI bootloader in flash, that correct? If so, is the boot mode set to "boot to flash"? At the flash entry point, is there a call to "_c_int00"? Can refer to F2837xS_CodeStartBranch.asm in C2000Ware for what I'm referring to.
    If there any other details you can share regarding "cannot jump to app", that would also be helpful. If it is getting stuck in boot, load symbols to debug further.

    Best regards
    Chris
  • Hi Chris,

    Let me claify it again, customer combine boot code and app code in one project and boot code is "main" function, every time CPU reset, it will run into boot code, this code will it need app update, app code is in FLASHC tp FLASHN and boot code is in FLASHA to FLASHB, app code main is like a function call by boot main code. Now this issue is if customer erase, program app code by boot code and reset CPU, code cannot run to main function. If they use uniflash to verify it, it can run, but if reset it again, it also cannot run, that it we want to know what uniflash detail do for "verify" function.

    Thansks!
    BR
    Joe
  • Joe,

    UniFlash verify will connect to the device, read back memory on the target to compare with the file data, and when done, disconnect from the device.

    I'm not sure why the program runs correctly after verifying though.

    Thanks,
    Ricky
  • Joe

    Has this been resolved? Has Ricky's comments regarding uniflash helped?

    Best regards
    Chris