Hello, I have some troubles with "scatterload" function. My project contains a global array of bytes. It defined as:
static uint8_t wifi_set_password[40] = {0x08, 0x09, 0x03, 0x05};
This array located in RAM, and when my application starts wifi_set_password[0] = 0x09. It occurs in "scatterload" function. In origin wifi_set_password initializes properly: 0x08, 0x09, 0x03 etc. but then in "scatterload" body wifi_set_password[0] value changes to 0x09.
This trouble migrates from one file or array to others and I don't know when and where this error will occur again.
My project uses software bootloader. Main firmware located at 0x08020000. My MCU is STM32F205RET6.
Are there any ideas how can I fix it?