A question: I am mostly using the local editor and dfu-util for uploading firmware to the Spark. I was wondering if it is possible to brick the Spark in some way when modifying the firmware outside of application.cpp? It does not seem to be the case, just checking.
As long as you don’t overwrite the DFU bootloader or system flags in STM32 flash between 0x08000000 - 0x080004fff you cant hurt it.
If you were to modify the bootloader flash the core would only be recoverable by JTAG, but using the example dfu-util command you will only modify the user application region of flash.
Okay, thanks! That’s what I figured. But better be safe than sorry!