Files
player/Project
andy 403b03e115 gcc版的nes汇编还是有问题
6502_a.s是armcc编译出来的,用于对比调试
2025-07-09 00:14:03 +08:00
..
2025-06-28 18:16:25 +08:00
2025-07-09 00:14:03 +08:00
2025-06-30 21:13:15 +08:00
2025-07-09 00:14:03 +08:00
2025-06-30 21:13:15 +08:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.



下载程序

pyocd flash -t stm32f429xi output/stm32.elf

使用pyocd调试

1. 启动pyocd

pyocd gdbserver -t stm32f429xi

2. 启动gdb

arm-none-eabi-gdb -ex "target remote localhost:3333" 

使用openocd下载程序
 openocd -f interface/cmsis-dap.cfg -f target/stm32f4x.cfg -c "init; halt; flash write_image erase output/stm32.bin 0x08000000 bin; reset; shutdown"