// ---- OK, this is completely in the third of four blocks flash_storage 0x2000be00 0x200 Data Lc IAP.o [1] // ---- NOT OK, this is in the third and fourth block flash_storage 0x2000be04 0x200 Data Lc IAP.o [1] |
uint32_t command[6]; uint32_t result[5]; IAP iap_entry = *((IAP *)0x10400100); command[0] = 51; command[1] = 0x1B070000; command[2] = 0x2000BE40; command[3] = 512; command[4] = 72000; command[5] = 0; iap_entry(command, result); |