This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Porting simple code to M4 to A7

Hi all,

we are porting a firmware from a M4 to A7 micro (single core).

The code is very simple and checks if the micro is in debug mode.

if (CoreDebug->DHCSR & 1)

{

__BKPT (0);

}

Please, is there equivalent code?

Thanks!

0