cancel
Showing results for 
Search instead for 
Did you mean: 

I want to see where BLE stack application saved in the memory through STM32_Programmer_CLI.exe application. Can anyone tell me the memory address of this BLE stack and how to read it by disabling read protection, I need commands.

SaM3
Associate

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.

1 REPLY 1
Remi QUINTIN
ST Employee

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.