MikroBootloader example works (I can see the downloaded soft working) if I use those adresses:
Code: Select all
#define AdresseBase 0x6C00
#define INIT_PROGRAM_ADRESS 0x7C00
#define START_PROGRAM_ADDR 0x300
Code: Select all
if ((Adresse < START_PROGRAM_ADDR)FLASH_EraseWritePage(Adresse);
Code: Select all
#define AdresseBase 0x200
#define INIT_PROGRAM_ADRESS 0x1500
#define START_PROGRAM_ADDR 0x1600
Code: Select all
if ((Adresse >= START_PROGRAM_ADDR) && (Adresse<INIT_PROGRAM_ADRESS)) FLASH_EraseWritePage(Adresse);
Did this mean assembler codes has to be changed ? (I suppose)