the tested code is:
pVal =(uint8*)0x20410000;
vval=*pVal;
*pVal = vval;
i put the code before #endif /* #ifdef XCP ENABLE SEEDNKEY */ ,the mcu run well,but put the code after “ XcpApp CalMem DownloadBuffer cnt=0“ i find a problem which is it can run well in debug,when i take off the MULTILINK UNIVERSAL, and reset the board ,it cannot work normal,can you help me?
Solved! Go to Solution.
Hi @zhangzhixing,
The issue may be caused by the DTCM not being initialized during the MCU's startup when running in stand-alone mode.
Debuggers like Multilink Universal often automatically initialize volatile memory regions, including DTCM, during a debug session. This can mask problems that occur during normal boot. To avoid accessing uninitialized memory, try writing to the DTCM location before reading from it.
Regards,
Daniel
Hi @zhangzhixing,
The issue may be caused by the DTCM not being initialized during the MCU's startup when running in stand-alone mode.
Debuggers like Multilink Universal often automatically initialize volatile memory regions, including DTCM, during a debug session. This can mask problems that occur during normal boot. To avoid accessing uninitialized memory, try writing to the DTCM location before reading from it.
Regards,
Daniel