Function lpc55_hal::boot_to_bootrom [−][src]
pub fn boot_to_bootrom() -> !
This is a hack to jump to the bootrom without needing to assert ISP pin or destroy current firmware.
- Resets all peripherals & disconnect all interrupts (like in a soft reset)
- Enable Iocon and set the INVERT attribute for Pio0_5 (ISP pin).
- Jump to bootrom, which will think ISP pin is asserted.