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.
1. Without encryption, the program runs normally.
First of all, the word "encrypt" should not be used, since there is no encryption here. The correct word is "secure". So, what you are saying is that the application runs correctly as long as the device is unsecure, but does not work correctly once the device is secured by passwords. Is this correct?
2. Zone1 encrypts Bank0 and Bank1 without encrypting RAM, Zone2 does not encrypt RAM, Bank0 and Bank1,
I don’t understand what you mean by the above. Both Bank0 and Bank1 have their own Z1 & Z2. Are you saying Banks 0 & 1 both encrypt Z1's Flash but not RAM? And Z2 is not allocated any resources in both banks?
Through CCS online DEBUG, the program runs normally
Are you saying that the application runs correctly when connected to CCS but not in standalone mode? If so, this indicates that there could be initialized constants in RAM. It is very important to isolate the problem to this phenomenon or a DCSM-related issue.
If the problem is indeed related to DCSM, please take a look at the two posts below: