diweo 发表于 2014-5-12 20:17 
我也是用的CoIDE,一年多了。不过它的索引功能有点问题,每次都要多点几下鼠标,其他方面还是很好的。
纯Ec ...
st-link也可以,参考我的一篇回复:
发表于 2013-10-25 09:14:09 |只看该作者
johnsonzzd 发表于 2013-10-24 21:59 
我用stlink,swd方式。折腾了半天,都不支持。
stlink做gdb server的话,参考这个网页:
http://www.emb4fun.de/archive/stlink/index.html
主要是下载这个软件:http://www.emb4fun.de/download/arm/stlink/stlink-20130324-win.zip
然后在dos命令行下输入:st-util.exe
返回:
STLINK GDB Server (Dec 27 2012 19:29:29)
Many thanks to the STLINK development team.
(https://github.com/texane/stlink)
2012-12-28T17:30:08 INFO src/stlink-usb.c: -- exit_dfu_mode
2012-12-28T17:30:08 INFO src/stlink-common.c: Loading device parameters....
2012-12-28T17:30:08 INFO src/stlink-common.c: Device connected is: F4 device, id
0x20006411
2012-12-28T17:30:08 INFO src/stlink-common.c: SRAM size: 0x30000 bytes (192 KiB)
, Flash: 0x100000 bytes (1024 KiB) in pages of 16384 bytes
Chip ID is 00000413, Core ID is 2ba01477.
KARL - should read back as 0x03, not 60 02 00 00
Listening at *:4242...
然后修改5.3步里的GDB配置->Startup,把端口号改成上面这个4242:
# connect to the J-Link gdb server
target extended-remote localhost:4242 |
|