The LPC8xx microcontrollers have a Code Read Protection which disables the SWD port.
If I set CRP2 in my firmware and flash it to the target (using Segger J-Flash), then the only way to erase and reflash is by talking to the ROM bootloader via the ISP interface (UART).
There's a program called FlashMagic (and a few opensource linux tools: lpc21isp, lpcisp, and lpcprog from lpctools package) which can do a mass erase and restore the SWD access.
Just wondering if any Segger tools can do the same.
If I set CRP2 in my firmware and flash it to the target (using Segger J-Flash), then the only way to erase and reflash is by talking to the ROM bootloader via the ISP interface (UART).
There's a program called FlashMagic (and a few opensource linux tools: lpc21isp, lpcisp, and lpcprog from lpctools package) which can do a mass erase and restore the SWD access.
Just wondering if any Segger tools can do the same.