openocd把smdk2410跑起来了.
boot4k,bootloader,以前专门介绍过。
burn4k,burn程序,由boot4k改动而成,用于往nand flash上写数据。
1 - 用openocd将burn4k加载到0x00000000,片内sram起始地址;
2 - 运行burn4k,以便初始化smdk2410;
3 - 用openocd将boot4k加载到0x30000000,sdram起始地址;
4 - 继续运行burn4k,然后通过它的命令行将boot4k烧到nand flash上。
重启smdk2410,boot4k跑...
使用图形界面调试arm程序: insight + gdb 收藏 【转帖请注明出处:blog.csdn.net/lanmanck】 1、首先下载insight,我这里是6.8版本,里面已经包含gdb和gdbserver了 :) 2、编译pc端得程序,类似visual studio,可以按照这篇文章来做: http://linux.chinaunix.net/techdoc/develop/2008/12/28/1055528.shtml 但是有一点上述文章没有提到,那就是编译器链接库路径也要加进去的问题。 #cd insight #./configure --target=arm-linux ...
项目:调试简单的点灯程序 硬件连接: mini2440通过Jtag接口连接到计算机上,Jtag接口到计算机上是通过一个OpenJtag转USB口连接到计算机的。 软件环境: ubuntu9.10, openocd, arm-linux-gcc 4.3.2 步骤: 1>. 启动openocd,然后在另一个终端上 telnet localhost:4444 2>. 进入openocd界面后,执行 > poll > halt > arm920t cp15 2 0 //用来将MMU和读写Cache关掉 > step ...
译安装gdb+insight和gdbserver远程调试arm开发板native应用程序 下载gdb-6.8.tar.bz2 http://ftp.cs.pu.edu.tw/Linux/sourceware/gdb/releases/ 一.编译安装gdb luther@gliethttp:~/gdb-6.8$ ./configure --target=arm-linux --enable-sim --prefix=/usr/local luther@gliethttp:~/gdb-6.8$ make luther@gliethttp:~/gdb-6.8$ sudo make install 二.编译安装gdbserver luther@gliethttp:~/gdb-6.8/gdb/gdbserver$ ./configure --ta...
insight 6.8-1 http://sourceware.org/insight/ A graphical interface to the GNU debugger unsupported :: devel Maintainer: robbel Votes: 23 License: GPL Last Updated: Wed, 04 Jun 2008 18:10:02 +0000 First Submitted: Mon, 26 Feb 2007 17:50:40 +0000 Tarball :: Files :: PKGBUILD This package has been flagged out of date. Dependencies libx11 Sources ftp://sourceware....
Quick Test : Without having the JTAG connected to the target board, you should see something like this printed out: joseph@joseph-linux:/usr/local/lib/openocd/interface$ openocd Open On-Chip Debugger 0.2.0-in-development (2009-05-11-06:41)svn:1657M BUGS? Read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS $URL: svn://svn.berlios.de/openocd/trunk/src/openocd.c $ jtag_speed: 0 Warn : Tap/De...
1.编译带调试信息的内核,并将对应的zImage烧写到nandz中(bootloader在此必须已经正确的配置,确保传递参数的正确性) 2.目标板上电 ##### Friendlyarm BIOS for 2440 ##### [x] bon part 0 320k 2368k [v] Download vivi [k] Download linux kernel ...
网上买了南方兄的openjtag,修改了一下光盘带的LED代码,在QT2440上跑了一下,感觉很爽 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/69404/showart_1330200.html