2019-12-06 10:01 PM
I'm using STM32F103C8 and I have Bootloader at the start of flash 0x08000000 and Application start at 0x08008000. On powerup Bootloader start to perform basic functions and then jumps to the main application. Everything works fine but what about Bootloader RAM data does it get over written with Application RAM data?
2019-12-07 01:04 AM
Typically - yes. All the control is passed to the application, therefore it depends on particular application.
2019-12-07 02:11 AM
Okay, Please help me with this problem. My application crashes after some I don't know why. From the main checkForUpdate() function is called. Function gets executed and prints "no update" but function never returns back to main.
void checkForUpdate() {
char buf[48] = {0};
uint32_t len;
uint32_t ver;
if(http_get_request("getinfo", 0, buf, &len) == HAL_OK) {
ver = atoi(&buf[5]);
println("v %i",ver);
if(ver > VERSION) {
HAL_NVIC_SystemReset();
} else {
println("no update");
}
}
}
2019-12-07 03:28 AM