差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

Both sides previous revision 前次修改
下次修改
前次修改
stm32 [2017/01/31 04:41]
jz
stm32 [2021/02/27 03:03] (目前版本)
jz
行 1: 行 1:
 +====== DFU flash ======
 +<code bash>
 +dfu-util -d 0483:df11 -a 0 -s 0x08000000 -D stm32f4.bin
 +</​code>​
 +
 ====== Dev tool ====== ====== Dev tool ======
  
 <code bash> <code bash>
 yaourt -S gcc-arm-none-eabi-bin eclipse-arm gnuarmeclipse-qemu-bin yaourt -S gcc-arm-none-eabi-bin eclipse-arm gnuarmeclipse-qemu-bin
-pacman -S ddd openocd stlink+pacman -S ddd openocd stlink ​arm-none-eabi-gdb 
 +</​code>​ 
 + 
 +===== Debug ===== 
 +GDB 
 + 
 +<code bash> 
 +arm-none-eabi-gdb --eval-command="​target remote localhost:​1234"​ YOUR_PROGRAM.elf 
 +</​code>​ 
 + 
 +DDD 
 +<code bash> 
 +ddd -debugger arm-none-eabi-gdb YOUR_PROGRAM.elf 
 +# target remote localhost:​1234
 </​code>​ </​code>​