Hi,
I'm using J-Flash with an LPC54605J512 MCU. We have a bootloader that occupies address range 0x0-0x3FFF, and the app occupies 0x4000-0x7FFFF. Whenever we try to program the app space, the J-Link seems to use a sector erase, which erases the bootloader. The flash sector size in this part is 32kB, page size is 256bytes. Page erase is available in the flash API, so why does programming force a sector erase in sector 0?
Thanks,
Henry
I'm using J-Flash with an LPC54605J512 MCU. We have a bootloader that occupies address range 0x0-0x3FFF, and the app occupies 0x4000-0x7FFFF. Whenever we try to program the app space, the J-Link seems to use a sector erase, which erases the bootloader. The flash sector size in this part is 32kB, page size is 256bytes. Page erase is available in the flash API, so why does programming force a sector erase in sector 0?
Thanks,
Henry