When I debug MC56F82748 by CW11 , show " Device is secure.Erase to unsecure ".
The program is normal, no password is set .
Now I suspect that it is the welding problem. Is there any other reason for the following results?
Hi, Zhang,
Pls refer to the following section, after reset, the data in flash address 0x40C is copied to Flash Security Register automatically, if the SEC bits in the FTFA_FSEC register is 2b'11, the chip will be in secure mode, the part of JTAG is blocked. if the SEC bits in the FTFA_FSEC register is 2b'10, the chip will be in unsecure mode, the JTAG is unblocked.
After the chip is in secure mode, you can execute mass-erase instruction to set the chip in unsecure mode. In other words, you can execute mass-erasing and reloading the application code to flash.
Hope it can help you
BR
XiangJun Rong