Hi, I would like to use the IAP feature for firmware upgrade in future for bug fixs. But how do I organise my code such that I have a portion "bootloader" that is fixed, and the rest of the code are upgradeable ?? I have tried using the linker option to set my bootloader function at address 0x1000, and the rest of my functions at 0x2000 onwards. But I check the .hex file, what happen is when I changed something in the main body function, the 0x1000 address code also changed. How should I go about it in implementing a "bootloader" section and upgradeable portion of code??? Thank You !! Jerry Yeo
But how do I organise my code such that I have a portion "bootloader" that is fixed, and the rest of the code are upgradeable ?? WHY, oh why do you muck with this. There is ready made software (FlashMagic) free from http://www.esacademy.com that uses a bootloader that is already in the chip Is it NIH syndrome? Erik
Hi Erik, at the risk that I come out as a silly: What is a "NIH syndrome"? Martin
What is a "NIH syndrome"? I have seen many reinventions of various wheels due to the "Not Invented Here" syndrome. Erik
View all questions in Keil forum