Other Parts Discussed in Thread: UNIFLASH
When I install BIM on a CC1312R1 Launchpad, it write protects some of the blocks. I can erase the flash using UniFlash 8.0.0 GUI. But I need to do the same from the Linux command line for a test pipeline. I have made a standalone command line package and can re-flash successfully using dslite.sh when there are no write protected blocks. But it fails if BIM has been installed and I can only erase and clear the write protection from the GUI.
I have also tried openocd (flash protect 0 0 last last off) but that doesn't remove the protection.
Is there a command line equivalent of doing 'Settings & Utilities, Manual Erase, Erase Entire Flash'?