Hi,
Customer wants to place some self test code (for RAM and others), before main() for CPU2.
Is there any solution?
For CPU1, they can place codes after code_start.
Thanks a lot.
Br, Jordan
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.
Hi,
Customer wants to place some self test code (for RAM and others), before main() for CPU2.
Is there any solution?
For CPU1, they can place codes after code_start.
Thanks a lot.
Br, Jordan
Hi Zhou,
We would like to have more detail on what customer is trying to do in this case. Ideally, once code jumps to application (e.g. code_start), code, customer can do what ever they want. If they want to test the RAM before jumping to main, they can do it but they need to make sure they do not corrupt any valid code or data for CPU2. E.g. some of the variables get initialized before main() hence user should not try to corrupt them. This hold true for CPU1 also.
They should be able to access any code via debugger.
Regards,
Vivek Singh
Vivek,
They are able to do on CPU1, but not CPU2.
Do you know how to stop the PC there? They can set the setpoint, but PC doesn't stop there.
Br, Jordan
Hi,
Debugger behavior should be same for CPU1/CPU2. When setting the breakpoint, are there any error/warnings in CCS console ? Also please let us know the steps customer is using the load/run the code on CPU2.
Vivek Singh