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.

CCS/F28M35H52C: UniFlash System Reset

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

Tool/software: Code Composer Studio

Hi,

What is the UniFlash (v4.5) command line to perform a System Reset F28M35x ControlCARD ?

Thanks,

Tim

  • Tim,

    Our command line expert will look in to this early next week.

    Thanks and regards,
    Vamsi
  • Tim,

    With UniFlash 4.5, you can list the available resets for your configuration (device/connection) using the "-R [ --list-resets ]" command.

    For example:
    > dslite -c F28M35H52C.ccxml -R

    This will list the available resets along with the index of the reset. Once you have that, you can issue the reset using the "-r [ --reset ] arg" command to issue the desired reset.

    For example:
    > dslite -c F28M35H52C.ccxml -r 0

    Please let me know if this works for you.

    Thanks,
    Ricky
  • Hi Ricky,

    I tried

    > dslite -c F28M35H52C.ccxml -r 0

    I see that reset M3                           // See M3 debug messages printed on UART....

    But, C28 is probably not reset         // Do not see the both code  running as I applied power-cycle

    Please advice,

    Regards,

    Tim

  • Tim,

    DSLite only works on one core at a time. If you want to reset the C28 core as well, you will need to run dslite again for the C28 core using the "-n [ --core ] arg (=0)" command.

    For example:
    > dslite -c F28M35H52C.ccxml -n 1 -r 0

    Please let me know if this works for you.

    Thanks,
    Ricky
  • Hi Ricky,

    We have  simple code which blinks both M3 and C28 LEDs, one by each core.

    1. We ran this command:

        dslite -c F28M35H52C.ccxml -n 1 -r 0     

        We saw "...Reseting... CPU Reset is issued"

        Which stopped C28 LED, then M3 WatchDog kicked in and successful started both core (ie: both LEDs are blinking afterward)

    2. When we ran this command

        dslite -c F28M35H52C.ccxml -n 0 -r 0     

        We saw "...Reseting... CPU Reset is issued"

        Which did stop both M3 and C28 LEDs ....but did not start afterward

        Both LEDs stayed OFF... (recycle power would start both again)

    My question is "Can we use UniFlash v4.5 to reset M3 side?"

    Thanks, Ricky.

    Tim

  • Tim,

    The "dslite -c F28M35H52C.ccxml -n 0 -r 0" command you are running should perform the CPU reset on the M3 core. I'm not sure why it would not behave the way you want it to.

    You can also try to do something similar in the GUI by clicking on the "[Click here to query available reset options]" on the M3 core after setting up your device. Depending on your debug probe, you should get "CPU Reset", "System Reset", etc. And then, clicking on Reset Now should issue the reset on the M3 core. If you don't have "Remain connected" option set, it will disconnect afterwards.

    Thanks,
    Ricky
  • Thanks for pointing to the GUI Reset Options. It is good to know it is there.

    I tried the GUID Reset Options.

    As running command-line before, I do see that both LEDs stop blinking... (both cores reset).

    But, they do not start afterward... (unless I recycle the power)

    Please send ping, if there is anyway that we can reset the H52C1 Concerto controlCARD programatically through software either by UniFlash or others.

    Thanks,

    Tim