Tool/software:
Hi experts,I have encountered an issue, and now I will describe it in detail.
Test Environment
DSP Model: TMS320F28377D,Emulator: XDS100V3,CCS Version: 10.4.0
Problem Description
After flashing the merged hex file (which is merged from
boot.out
and app.out
), the instructions sent from the debugging interface fail to execute the corresponding program.Procedure Description
1. Set the DSP Start address of CPU1 to 0x80000. After flashing the out file to CPU1, enter the debug run interface and send the command
sCpu2ToCpu1Flag.uRigTestCode = 4
in the Expression interface. It is observed that the variable is set normally. Meanwhile, ePWM3.CMPA = 1262, and the corresponding pin 01 toggles.

1. Set the DSP Start address of CPU1 to 0x86000. After flashing the out file to CPU1, enter the debug run interface and send the command
sCpu2ToCpu1Flag.uRigTestCode = 4
in the Expression interface. It is observed that the variable is set normally. Meanwhile, ePWM3.CMPA = 1262, and the corresponding pin 01 toggles.

Set Set the DSP Start address of CPU1 to 0x86000 and compile it into a hex file. After flashing the hex file to CPU1, enter the debug run interface and send the command
sCpu2ToCpu1Flag.uRigTestCode = 4
in the Expression interface. The observed result is that ePWM3.CMPA = 0, and the corresponding pin 01 toggles.

Merge boot.out and app.out into One hex Method:
1 Move the
boot.out
file to the output
folder under the app
directory.
2 enable hex file generate

3 add hex cmd hex2000 -i ../output/BOOT_BANK.out

4 Select the output file format.

Is the method of merging the hex files correct? How should I go about identifying and resolving the abnormal operation issues?