chipKIT32 / PIC32-avrdude-bootloader

The 'new' bootloader for MPIDE/chipKIT PIC32 boards
44 stars 62 forks source link

Bootloaders do not protect themselves from being overwritten #35

Open lstandage opened 7 years ago

lstandage commented 7 years ago

The bootloaders, if fed a hex file that contains addresses the bootloader currently occupies, will erase the corresponding pages and attempt to write to them. Eventually a page will be erased that the bootloader is currently executing, and will subsequently crash.

The bootloaders need to know what areas it occupies, and prevent any addresses in those areas from being erased or programmed.