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.

MSPM0G3519: Uniflash load image but not running that image

Part Number: MSPM0G3519
Other Parts Discussed in Thread: UNIFLASH

Tool/software:

Hi ,

I am loading CSC and application image from Theia ide. and it run every time. after power on CSC verify the application and application start running. but if I flash CSC and application image from uniflash . uniflash shows load successfully. and if i read back memory i can see both images CSC + app in place. but still app is not running. i am using same bin file which i am using to load from theia ide. 

  • Hi Mehul,

    Do you mean load the .bin file to the device with CCS Theia that enter debug mode? Or, you just load the .bin file without enter debug mode.

    and if i read back memory i can see both images CSC + app in place

    So, you find the firmware in the CSC+APP is exactly the same as these two method?

    As for UNIFLASH, maybe you can select below:

    Or you can manually reset device by NRST, and then see whether it run the CSC+APP correctly.

    B.R.

    Sal

  • I have done this setting but still not getting result .  i am debugging CSC using Theia ide and when it in debug load CSC in second bank(bank1) as current debug csc is in first bank(bank 0). tehn load two app image in bank 0 and bank 1 at address 0x8800 and 0x48800 . with this process everything works. mean if i give power cycle then csc run and read imag from both banks and execute valid image. but when i tried to load this four image from uniflash code not jump to valid image and either be in CSC or sometime nothing happen means i have configure LED blink when device is in CSC so some time that LED also never  blinks. 

  • Hi Mehul,

    Can you help give the feedback on the few question I mention in previous post?

    I am suspecting that you have enter bsl mode which make your CSC+APP not work, but work in the debug mode.

    B.R.

    Sal

  • hi Sal, 

    So here is the thing i tell you complete procedure of what I am doing. in Theia IDE i am debug CSC code when csc is in debug mode load app at location 0x4800 location. then disconnect debug. after power cycle csc correctly run app validate and start to run. but when i upload .bin file of same csc and app using uniflash tool. nothing happens neither csc running nor application code.

  • I am suspecting that you have enter bsl mode which make your CSC+APP not work, but work in the debug mode.

    I am suspecting that you have enter bsl mode which make your CSC+APP does not work but work in the debug mode. So, what to do if I want to make those images worked when getting flashed using UNIFLASH.  one more thing in CSC there is logic of INITDONE .if I removed this logic those images work with UNIFLASH. i have checked with setting you mention in picture above.

  • Hi Mehul,

    then disconnect debug. after power cycle csc correctly run app validate and start to run.

    ok, this looks like not related to BSL.

    but when i upload .bin file of same csc and app using uniflash tool. nothing happens neither csc running nor application code.

    Can you share the demo project here for my reference, I can do some test based on you demo.

    If not applicable, I'll set up example to verify later this week.

    B.R.

    Sal

  • Hi Sal,

    You can see this issue with TI,s example code as well. if you take CSC and its sample code. which you can find out in it s SDK . it not working when you flash both files(.bin) from UNIFLASH but works when go with debug in IDE. i think INITDONE causes this issue.

  • Hi Mehul,

    I'll take try with your input here. Thanks.

    B.R.

    Sal

  • BTW, what the SDK version you are used?

  • Hi Sal

    i am using mspm0_sdk_2_05_00_05 SDK.

  • Hi Sal, Any update?