====== DFU flash ====== dfu-util -d 0483:df11 -a 0 -s 0x08000000 -D stm32f4.bin ====== Dev tool ====== yaourt -S gcc-arm-none-eabi-bin eclipse-arm gnuarmeclipse-qemu-bin pacman -S ddd openocd stlink arm-none-eabi-gdb ===== Debug ===== GDB arm-none-eabi-gdb --eval-command="target remote localhost:1234" YOUR_PROGRAM.elf DDD ddd -debugger arm-none-eabi-gdb YOUR_PROGRAM.elf # target remote localhost:1234 **ref**: ARM Cortex-M https://www.youtube.com/watch?v=15z_vn4H41U Getting started ARM cortex M4 STM32 with Eclipse in Linux https://www.youtube.com/watch?v=HKX12hJApZM STM32/ARM Cortex-M3 HOWTO: Development under Ubuntu (Debian) https://fun-tech.se/stm32/OpenOCD/gdb.php ARM debugging with gdb https://www.youtube.com/watch?v=2kLK_sdvC3Q Embedded Systems Programming on ARM Cortex-M3/M4 https://www.udemy.com/embedded-system-programming-on-arm-cortex-m3m4 What is the booting process for ARM? http://stackoverflow.com/questions/6139952/what-is-the-booting-process-for-arm mbed OS handbook https://docs.mbed.com/docs/mbed-os-handbook/en/latest/ zephyr https://www.zephyrproject.org