I'm looking for how to read hex file from USB (USB Interfaced successfully) and decode the data in RAM for write into internal flash of lpc1788 for In-Application Programming. In which format data should be read and write into flash ? If anyone has sample code that would be grateful.
Hello Alice_Yang Thanks for sharing information. Its really helpful for me. But I'm actually working on code (Not like bootloader) that update firmware from USB when needed. And I wrote hex file to flash but I couldn't jump to my loaded code. Ir repeat code that existing in it.
Does Hex file starting address should be same as flash starting address?