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.

LAUNCHXL-F28P65X: The CPU can not burn the program normally, only burn CPU1 or CPU2, not both (not at the same time)

Part Number: LAUNCHXL-F28P65X
Other Parts Discussed in Thread: C2000WARE

Tool/software:

Software: Dual-core LED routines in F28P65X in the official C2000ware software package
Here is the code for bank allocation in the program


The program assigns BANK3 and BANK4 to CPU2 and the others to CPU1But in practice, only the program that assigns all BANK0-4 to the corresponding CPU1/2 can be burned into it, otherwise the burning will fail

The above is a screenshot of successful burning after assigning all five banks to CPU2. The error is caused by accidentally pressing the reset key

  • Hi Lux,

    It seems your screenshots didn't come through. Can you upload them again?

    Thanks,

    Charles

  • Hi 
    Ok, I'm going to show each of my operations。First, I compiled the routines of CPU1 and CPU2 into versions that could be burned to flash

    Then, I connected to CPU1, and then burned the corresponding.out file to cpu1. Now I assigned all BANK0-BANK4 to CPU1, and the burning succeeded


    According to the program, I should assign BANK3 and BANK4 to CPU2. Only when I assign all BANK0 to 4 to CPU1, CPU1 can be burned successfully, and you can see that CPU1 can run。

    When I assigned BANK3 and BANK4 to CPU2 as in the program, burning failed.
    Error erasing Bank 3 FMSTAT (STATCMD on some devices) value = 65.0 peration Cancelled (0).

    All banks are assigned to CPU1, and the burning is successful again

    On the basis of the successful burning of all banks assigned to CPU1, I start to burn the program of CPU2



    Unfortunately, CPU2 cannot be burned successfully. I have assigned BANK0-4 to CPU1 in the form of permutation and combination, but the burning cannot succeed. Only when all BANK0-4 are assigned to CPU1 or CPU2, the burning can succeed

    Is there anything I haven't cleared up that I need to add?

    Thanks,

     Lux

  • There are two things I should add:1. I used the official routines and didn't make any changes to them other than compiling them into.out files that can be burned to Flash. 2.I can only assign BANK0-BANK4 in On-Chip Flash when I burn the program to CPU1

    Thanks,

     Lux

  • Hi Lux,

    On the burning for CPU1 (and CPU2), did you set the erase boxes in the On-Chip Flash tool? For example:

      

    CPU 1 target's Bank 3 and Bank 4 erase boxes should be unselected.

    CPU 2 target's Bank 3 and Bank 4 erase boxes should be selected.

    Thanks and regards,

    Charles

  • Hi ,
    According to your tips, I found the reason why I could not burn successfully. Now CPU1 and CPU2 have been running. Thank you for your help.
    I would like to know if there are any manual instructions on the specific steps of program burning or debugging. Because the manual provided by the evaluation version of LANUNCHXL-F28P65X does not mention how to burn, I did not configure this step you mentioned. If there is such a manual, could you please provide me with one? Thank you very much!

    Thanks,

     Lux

  • Hi Lux,

    Instructions on how to burn for the F28P65X devices can be found in the FAQ for flash questions . Steps to burn to the F28P65X devices are shown at point 13 and also within the On-Chip Tool on connect (there should be a verbal message printout detailing how to burn as well).

    Thanks and regards,

    Charles