stm32

差異處

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

連向這個比對檢視

兩邊的前次修訂版 前次修改
下次修改
前次修改
stm32 [2017/01/31 04:34] jzstm32 [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>
  
行 15: 行 33:
  
 https://www.youtube.com/watch?v=HKX12hJApZM 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 Embedded Systems Programming on ARM Cortex-M3/M4
  • stm32.1485808458.txt.gz
  • 上一次變更: 2017/01/31 04:34
  • jz