|
|
|
#include "main.h"
|
|
|
|
#define ISP_ADDRESS 0x1fffb000 //In-System-Program address in flash
|
|
#define MAGIC_VALUE_ADDRESS RTC_BKP_DR1
|
|
#define MAGIC_VALUE 0xa5a5 //jump to isp while ISP_BKP_DR's value equal this
|
|
|
|
|
|
void ISP_Jump();
|
|
void ISP_Judge();
|
|
bool ISP_Prepare();
|