AN2410SSB学习笔记一

这些是买了阿南的板子后,学习中所遇到的一些问题及解决记录。

由于是从头学起,碰到的问题都是非常基础性的问题。记录如下。

 

一:硬件测试

参照此贴http://blog.ednchina.com/user_default.aspx?u=taosha126&page=2 感谢原作者

测试方法:
方法一:接上5V电源,4个LED全亮,差不多5秒钟之后有一个LED为不停的闪烁.
方法二:用串口连接PC机与AN2410SSB板,打开超级终端或串口调试软件.将波特率设置成115200,然后接上电源则将在终端上打印系统启动信息.进行了测试.使用 DNW Windows的超级终端进行测试光盘中/测试代码/samsung里有DNW软件,(书上P91)configuration->options里选择115200,然后serial port-connect

按SSB板上的复位键就有信息显示,我的显示如下:

 

  1. VIVI version 0.1.4 (root@eady.mizi.com) (gcc version 2.95.3 19991030 (prerelease)) #0.1.4 Tue Jul 6 19:10:29 KST 2004
  2. MMU table base address = 0x33DFC000
  3. Succeed memory mapping.
  4. NAND device: Manufacture ID: 0xec, Chip ID: 0x76 (Samsung K9D1208V0M)
  5. Found saved vivi parameters.
  6. Press Return to start the LINUX now, any other key for vivi
  7. Copy linux kernel from 0x00030000 to 0x30008000, size = 0x000c0000 ... done
  8. zImage magic = 0x016f2818
  9. Setup linux parameters at 0x30000100
  10. linux command line is"noinitrd root=/dev/bon/2 init=/linuxrc console=ttyS0"
  11. MACH_TYPE = 193
  12. NOW, Booting Linux......
  13. Uncompressing Linux.................................................... done, booting the kernel.
  14. Linux version 2.4.18-rmk7-pxa1 (eady@eady.mizi.com) (gcc version 2.95.2 20000516 (release) [Rebel.com]) #3 岿 7岿 5 14:39:23 KST 2004
  15. CPU: ARM/CIRRUS Arm920Tsid(wb) revision 0
  16. Machine: Samsung-SMDK2410
  17. On node 0 totalpages: 16384
  18. zone(0): 16384 pages.
  19. zone(1): 0 pages.
  20. zone(2): 0 pages.
  21. Kernel command line: noinitrd root=/dev/bon/2 init=/linuxrc console=ttyS0
  22. DEBUG: timer count 15626
  23. Console: colour dummy device 80x30
  24. Calibrating delay loop... 99.94 BogoMIPS
  25. Memory: 64MB = 64MB total
  26. Memory: 62704KB available (1396K code, 306K data, 60K init)
  27. Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes)
  28. Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
  29. Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
  30. Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
  31. Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
  32. POSIX conformance testing by UNIFIX
  33. Linux NET4.0 for Linux 2.4
  34. Based upon Swansea University Computer Society NET3.039
  35. Initializing RT netlink socket
  36. CPU clock = 200.000 Mhz, HCLK = 100.000 Mhz, PCLK = 50.000 Mhz
  37. Starting kswapd
  38. devfs: v1.10 (20020120) Richard Gooch (rgooch@atnf.csiro.au)
  39. devfs: boot_options: 0x1
  40. JFFS2 version 2.1. (C) 2001, 2002 Red Hat, Inc., designed by Axis Communications AB.
  41. ttyS00 at I/O 0x50000000 (irq = 52) is a S3C2410
  42. ttyS01 at I/O 0x50004000 (irq = 55) is a S3C2410
  43. ttyS02 at I/O 0x50008000 (irq = 58) is a S3C2410
  44. Console: switching to colour frame buffer device 30x40
  45. Installed S3C2410 frame buffer
  46. pty: 256 Unix98 ptys configured
  47. s3c2410-ts initialized
  48. S3C2410 Real Time Clock Driver v0.1
  49. block: 128 slots per queue, batch=32
  50. eth0: cs8900 rev K(3.3 Volts) found at 0xd0000300
  51. cs89x0 media RJ-45, IRQ 37
  52. NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V)
  53. bon0: 00000000-00030000 (00030000) 00000000
  54. bon1: 00030000-00100000 (000d0000) 00000000
  55. bon2: 00100000-03ffc000 (03efc000) 00000000
  56. NET4: Linux TCP/IP 1.0 for NET4.0
  57. IP Protocols: ICMP, UDP, TCP, IGMP
  58. IP: routing cache hash table of 512 buckets, 4Kbytes
  59. TCP: Hash tables configured (established 4096 bind 4096)
  60. NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
  61. NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
  62. VFS: Mounted root (cramfs filesystem).
  63. Mounted devfs on /dev
  64. Freeing init memory: 60K
  65. mount /etc as ramfs
  66. re-create the /etc/mtab entries
  67. console=/dev/cosole
  68. init started:  BusyBox v0.60.3 (2002.05.13-08:36+0000) multi-c鵯l binary
  69. Starting pid 16, console /dev/console: '/etc/init.d/rcS'
  70. exec: /usr/etc/rc.local: No such file or diretory
  71. Waiting for enter to start '/bin/sh' (pid 19, terminal /dev/console)
  72. Please press Enter to activate this console. 

 

二 内核检测

BIOS里将并口设置为EPC模式

然后如下图

 

 

(我开始的时候设置了H-JTAG和EPC模式都不行,然后把图中“启用旧式即插即用检测”勾上了就可以了)

然后H-JTAG如下设置就可以了。(我这里TCK Speed设置任意一个都可以检测到)

 

 

三 打开AXD Debugger一直如错

按照群里的Ads1.2+H-JTAG这篇文章来设置。打开AXD Debugger时一直出现如下错误

反复restart还是失败。最后百度到了答案(汗,google竟没搜到那个网页),解决方法如下图。

 

 

这样就可以连上了。看看AXD Debugger里出现下面这样(关于AUTO INIT可以看JTAG说明书):

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值