Hi,
I have encountered some issues when I debug the multi-core program on c6678 evm.
The program I use is the standalone h264 video encoder demo program provided by TI.
I have modified the parameters to run it on 2 cores of C6678 evm. When I run the program
without any breakpoint, It can work correctly. But when I set breakpoint in somewhere of the
program (say: I set a break point quickly after H264VEN_mcore_sync function seperately).
I find that the code disassembled by each core are different even they are in MSMC and have
the same address.
(say: in core0 side: 0x0C07DA94 dissembly code: 026269AA MVK.S2
in core1 side: 0x0C07DA94 dissembly code: 1001E002 SWBP 0)
And after I resume them again, the program run error. So it confused me very much because:
1. The code is in MSMC memory and I have set the atrribute of that Region to RX. But why it is be changed?
2. I can observe the value of that address in code cache in CCS. But how I can got the real value of that address.(I know that I can got it by invalidate cache in the program, But I do not know exactly where the code will be changed)
3. I have changed the position of breakpoint to somewhere else. And always get the some result.
Will someone please help me with this issue? Thanks a lot!
B.R.
Sunzhao