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.

F28M36P63C2: Program c28 and M3 using command line instead of Uniflash

Part Number: F28M36P63C2
Other Parts Discussed in Thread: UNIFLASH,

Hi,

I am trying to program the M3 core and C28 via the command line and find that only M3 gets programmed and there is no way I am able to load C28.

Is there any way I could program them together or individually using command line?

I have to program 3 of these devices and command line will make life easy.

Please help, if anyone has idea in this regard.

Thanks,

Sanjana

  • Sanjana,

    Which version of UniFlash are you using? There were some changes between the v3 and v4 CLI, so I will try to provide information for both.

    For v3, you can specify the core you want to talk to in your command via the -core option. For example:
    > uniflash -ccxml F28M36P63C2.ccxml -core "C28" -program c28.out

    More information related to v3 command line can be found at the following link and the readme file in the installation: processors.wiki.ti.com/.../UniFlash_v3_Quick_Start_Guide

    For v4, you can specify the core you want to talk to via the -c option. Instead of a string, it takes a core index based on the ccxml. The C28 core most likely has a core index of 1.

    More information here:
    processors.wiki.ti.com/.../UniFlash_v4_Quick_Guide

    Please let me know if you have additional questions.

    Thanks,
    Ricky
  • Sanjana,

    Are you now able to use command line to program C28x?

    Thanks and regards,
    Vamsi
  • Hi Vamsi,

    Yes, I got the command line to work. I added the r option to get the second core to flash:

    CMD /C "!DEBUGSERVER_ROOT!bin\DSLite" flash -c user_files/configs/f28m36p63c2.ccxml -l user_files/settings/generated.ufsettings -e -f -v -r 1 user_files/images/C28.out 

    Thanks,
    Sanjana