最近的项目,很感动于linux和gdbserver内容,I think must write something to record it . 各位对不起,图片挂了.. Ok, at first I'm very thanks to Bob. 这篇文章大部分是来自bob的一份文档,所以是转载. 以下给一个他的工作日记给大家.有兴趣深入了解的,能够去看看,https://sites.google.com/site/hhmasterthesis/project-updates? offset=30
要调试裸板,有两种初始化方法,一个是用烧好的uboot初始化,再有就是直接用JLink+GDBServer初始化.代码参考了网上的资料,根据手头的OK6410开发板做了修改.整体代码如下: # Connect to the J-Link GDBServer target remote localhost:2331 # Set JTAG speed to 30 kHz monitor endian little monitor speed 30 # Reset the target monitor