2020-02-15 02:07 AM
I successfully seen the BLE output by dumping BLEP2P_Server.hex file in Nucleo board and BLEP2P_Client.dfu file in USB Dongle board.
I tried, STM_Programmer_CLI.exe -c port=usb1 -r8 0x0800000 100 command to read the data. But it shows all 0's.
2020-02-17 06:58 AM
It is not possible to read the secure part of the memory where the RF stack is loaded as it is protected with a HW mechanism that erases the content of the flash if an erroneous access is performed. It could even block any access to the complete flash memory, making the chip unusable.
A simple read access on this secure part of the flash memory performed by the debugger only returns 0.
BLEP2P_Server.hex is the application part executed by the M4 core and is not loaded in the secure part. So it is always possible to read it, starting at 0x08000000.
It is possible to set/unset read protection but only on the non-secure part of the flash memory.