Backup or read settings of a nucleo board stm32

896 views Asked by At

I was wondering if it is possible to back up or read the settings of a nucleo board stm32. It is set up as a P-NUCLEO-LRWAN1 Nucleo pack. Which uses LoRaWAN to send data to a gateway and it works perfectly. I was now wondering if I could change the configuration (like lora settings, data format, etc).

I already tried using stm32 st-link utility, and Keil IDE. But they only flash or erase the board. I don't know how to read it.

I don't have any background on this so, details would be great. Apologies if I used the wrong words to describe things. Thanks!

2

There are 2 answers

0
denis krasutski On

You can read memory by "st-link utility" software (if you have st-link, of course) Under "icon menu" you have two text fields: Address and size. Just set correct address and window below will display necessary memory region.

To save data just Select menu File->Save file...

0
0___________ On

You need to save it into the FLASH memory. FLASH memory can be erased and programed runtime. Read your micro Reference Manual where the procedure of erasing and writing the FLASH page is described in details.