cancel
Showing results for 
Search instead for 
Did you mean: 

Using WriteMemory command of STM32L45xxx bootloader

SKrey.1
Associate II

Hi,

Iam trying to write some data (i.e. 8 bytes) via the WriteMemory command of STM32L45xxx bootloader to the STM32's SRAM area (in particular to address 0x20000000). However when I connect to the device and look into the memory the data is not taken over. I use the USART interface for sending the command to the bootloader.

Iam already using the WriteMemory command successfully for flash programming. Why doesnt it work or have an effect on SRAM area? Or what do I need to pay attention to in order to write data to SRAM area.

If you need additional information please let me know.

Any help on this issue is very much appreciated.

Thanks in advance.

Kind Regards,

Steve

2 REPLIES 2
TDK
Guru

From AN2606:

12 Kbyte starting from address 0x20000000 are used by the bootloader firmware

Don't mess with those bytes if you want the bootloader to keep working. Not sure if it'll even let you. Are you getting an ACK back from all responses?

If you feel a post has answered your question, please click "Accept as Solution".
SKrey.1
Associate II

Hi TDK,

yeah I got an ack back. However I already successfully written something at the end of SRAM1 area and it worked out. So together with your answer we can close the thread.

Thanks for the help, Steve