天嵌 ARM开发社区

 找回密码
 注册
查看: 2264|回复: 12

串口不会用

[复制链接]
dutu 发表于 2010-6-7 20:30:50 | 显示全部楼层 |阅读模式
我用USB转的串口连接了开发板,计算机给的是COM3,我的计算机上还显示有一个COM1,可是我不知道COM1是哪个硬件接口。我看了机箱后部,好像是没有,计算机上显示有的。
可以用超级终端连接上,可是其余的就都不行了。当超级终端连接的时候,DNW出现的结果是下面的样子
用另外的SecureCRT,结果也不行的
希望大虾们帮帮忙啊!!先谢谢啊

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
亚瑟王 发表于 2010-6-7 20:40:09 | 显示全部楼层
你查看一下设备管理器中的串口设备号是几?然后设置CRT软件的串口时就选择对应的设备号。
 楼主| dutu 发表于 2010-6-7 20:49:39 | 显示全部楼层
这个是我的设备管理 COM3就是那个USB转的串口,现在可能是被超级终端用着,是不是CRT软件的串口也用COM3啊?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
 楼主| dutu 发表于 2010-6-7 20:53:44 | 显示全部楼层
加载正确了,可是下面的就不会弄了。 不知道怎么下载啊?用dnw下载么?可是这个总是工作不成功的。就是上面的图片的。谢谢!!
 楼主| dutu 发表于 2010-6-7 20:55:18 | 显示全部楼层
对不起啊 刚才忘了加图片让你们看看了,这个就是结果

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
亚瑟王 发表于 2010-6-8 18:58:28 | 显示全部楼层
在dnw上面选项usb port-》transmit-》transmit,然后选择你要烧写的文件。
 楼主| dutu 发表于 2010-6-8 19:57:55 | 显示全部楼层
现在在启动开发板的时候出东西可是好像不太对。下面是出现的东西。
*** Warning - bad CRC or NAND, using default environment





##### EmbedSky BIOS for SKY2440/TQ2440 #####

Press Space key to Download Mode !



#####         Boot for Nor Flash Main Menu        #####

[1] Download u-boot or STEPLDR.nb1 or other bootloader to Nand Flash

[2] Download Eboot to Nand Flash

[3] Download Linux Kernel to Nand Flash

[5] Download CRAMFS image to Nand Flash

[6] Download YAFFS image to Nand Flash

[7] Download Program (uCOS-II or TQ2440_Test) to SDRAM and Run it

[8] Boot the system

[9] Format the Nand Flash

[0] Set the boot parameters

[a] Download User Program (eg: uCOS-II or TQ2440_Test)

Download LOGO Picture (.bin) to Nand  Flash

[l] Set LCD Parameters

[o] Download u-boot to Nor Flash

[r] Reboot u-boot

[t] Test Linux Image (zImage)

[q] quit from menu

Enter your selection:

再就是选择了下载后,下载完了,在选择启动,结果还是不行的。下面是出现的结果,我下载的是一个u-boot。
*** Warning - bad CRC or NAND, using default environment





##### EmbedSky BIOS for SKY2440/TQ2440 #####

Press Space key to Download Mode !



#####         Boot for Nor Flash Main Menu        #####

[1] Download u-boot or STEPLDR.nb1 or other bootloader to Nand Flash

[2] Download Eboot to Nand Flash

[3] Download Linux Kernel to Nand Flash

[5] Download CRAMFS image to Nand Flash

[6] Download YAFFS image to Nand Flash

[7] Download Program (uCOS-II or TQ2440_Test) to SDRAM and Run it

[8] Boot the system

[9] Format the Nand Flash

[0] Set the boot parameters

[a] Download User Program (eg: uCOS-II or TQ2440_Test)

Download LOGO Picture (.bin) to Nand  Flash

[l] Set LCD Parameters

[o] Download u-boot to Nor Flash

[r] Reboot u-boot

[t] Test Linux Image (zImage)

[q] quit from menu

Enter your selection: 1

USB host is connected. Waiting a download.


Now, Downloading [ADDRESS:30000000h,TOTAL:222998]

RECEIVED FILE SIZE:  222998 (217KB/S, 1S)


NAND erase: device 0 offset 0x0, size 0x40000


Erasing at 0x0 --  50痮mplete.
Erasing at 0x20000 -- 100omplete.

OK


NAND write: device 0 offset 0x0, size 0x3670c



Writing data at 0x0 --   0痮mplete.
Writing data at 0x800 --   1痮mplete.
Writing data at 0x1000 --   2痮mplete.
Writing data at 0x1800 --   3痮mplete.
Writing data at 0x2000 --   4痮mplete.
Writing data at 0x2800 --   5omplete.
Writing data at 0x3000 --   6痮mplete.
Writing data at 0x3800 --   7痮mplete.
Writing data at 0x4000 --   8 complete.
Writing data at 0x4800 --   9痮mplete.
Writing data at 0x5000 --  10痮mplete.
Writing data at 0x5800 --  11痮mplete.
Writing data at 0x6800 --  12痮mplete.
Writing data at 0x7000 --  13痮mplete.
Writing data at 0x7800 --  14痮mplete.
Writing data at 0x8000 --  15complete.
Writing data at 0x8800 --  16痮mplete.
Writing data at 0x9000 --  17痮mplete.
Writing data at 0x9800 --  18 complete.
Writing data at 0xa000 --  19痮mplete.
Writing data at 0xa800 --  20 complete.
Writing data at 0xb000 --  21痮mplete.
Writing data at 0xb800 --  22痮mplete.
Writing data at 0xc800 --  23痮mplete.
Writing data at 0xd000 --  24痮mplete.
Writing data at 0xd800 --  25痮mplete.
Writing data at 0xe000 --  26痮mplete.
Writing data at 0xe800 --  27痮mplete.
Writing data at 0xf000 --  28痮mplete.
Writing data at 0xf800 --  29痮mplete.
Writing data at 0x10000 --  30痮mplete.
Writing data at 0x10800 --  31痮mplete.
Writing data at 0x11000 --  32痮mplete.
Writing data at 0x11800 --  33痮mplete.
Writing data at 0x12800 --  34痮mplete.
Writing data at 0x13000 --  35痮mplete.
Writing data at 0x13800 --  36痮mplete.
Writing data at 0x14000 --  37痮mplete.
Writing data at 0x14800 --  38痮mplete.
Writing data at 0x15000 --  39痮mplete.
Writing data at 0x15800 --  40痮mplete.
Writing data at 0x16000 --  41痮mplete.
Writing data at 0x16800 --  42omplete.
Writing data at 0x17000 --  43痮mplete.
Writing data at 0x17800 --  44痮mplete.
Writing data at 0x18000 --  45痮mplete.
Writing data at 0x19000 --  46痮mplete.
Writing data at 0x19800 --  47痮mplete.
Writing data at 0x1a000 --  48痮mplete.
Writing data at 0x1a800 --  49痮mplete.
Writing data at 0x1b000 --  50痮mplete.
Writing data at 0x1b800 --  51痮mplete.
Writing data at 0x1c000 --  52痮mplete.
Writing data at 0x1c800 --  53痮mplete.
Writing data at 0x1d000 --  54痮mplete.
Writing data at 0x1d800 --  55痮mplete.
Writing data at 0x1e000 --  56痮mplete.
Writing data at 0x1f000 --  57complete.
Writing data at 0x1f800 --  58痮mplete.
Writing data at 0x20000 --  59痮mplete.
Writing data at 0x20800 --  60痮mplete.
Writing data at 0x21000 --  61痮mplete.
Writing data at 0x21800 --  62痮mplete.
Writing data at 0x22000 --  63痮mplete.
Writing data at 0x22800 --  64痮mplete.
Writing data at 0x23000 --  65痮mplete.
Writing data at 0x23800 --  66痮mplete.
Writing data at 0x24000 --  67痮mplete.
Writing data at 0x25000 --  68痮mplete.
Writing data at 0x25800 --  69痮mplete.
Writing data at 0x26000 --  70痮mplete.
Writing data at 0x26800 --  71痮mplete.
Writing data at 0x27000 --  72痮mplete.
Writing data at 0x27800 --  73痮mplete.
Writing data at 0x28000 --  74痮mplete.
Writing data at 0x28800 --  75痮mplete.
Writing data at 0x29000 --  76痮mplete.
Writing data at 0x29800 --  77痮mplete.
Writing data at 0x2a000 --  78痮mplete.
Writing data at 0x2b000 --  79痮mplete.
Writing data at 0x2b800 --  80痮mplete.
Writing data at 0x2c000 --  81痮mplete.
Writing data at 0x2c800 --  82痮mplete.
Writing data at 0x2d000 --  83痮mplete.
Writing data at 0x2d800 --  84痮mplete.
Writing data at 0x2e000 --  85痮mplete.
Writing data at 0x2e800 --  86痮mplete.
Writing data at 0x2f000 --  87痮mplete.
Writing data at 0x2f800 --  88痮mplete.
Writing data at 0x30000 --  89痮mplete.
Writing data at 0x30800 --  90complete.
Writing data at 0x31800 --  91痮mplete.
Writing data at 0x32000 --  92痮mplete.
Writing data at 0x32800 --  93痮mplete.
Writing data at 0x33000 --  94痮mplete.
Writing data at 0x33800 --  95痮mplete.
Writing data at 0x34000 --  96omplete.
Writing data at 0x34800 --  97痮mplete.
Writing data at 0x35000 --  98痮mplete.
Writing data at 0x35800 --  99痮mplete.
Writing data at 0x36000 -- 100痮mplete.

222988 bytes written: OK



#####         Boot for Nor Flash Main Menu        #####

[1] Download u-boot or STEPLDR.nb1 or other bootloader to Nand Flash

[2] Download Eboot to Nand Flash

[3] Download Linux Kernel to Nand Flash

[5] Download CRAMFS image to Nand Flash

[6] Download YAFFS image to Nand Flash

[7] Download Program (uCOS-II or TQ2440_Test) to SDRAM and Run it

[8] Boot the system

[9] Format the Nand Flash

[0] Set the boot parameters

[a] Download User Program (eg: uCOS-II or TQ2440_Test)

Download LOGO Picture (.bin) to Nand  Flash

[l] Set LCD Parameters

[o] Download u-boot to Nor Flash

[r] Reboot u-boot

[t] Test Linux Image (zImage)

[q] quit from menu

Enter your selection: 8

Start Linux ...

Copy linux kernel from 0x00200000 to 0x30008000, size = 0x00200000 ... Copy Kernel to SDRAM done,Warning: this binary is not compressed linux kernel image

zImage magic = 0xffffffff

NOW, Booting Linux......

data abort

pc : [<30208180>]    lr : [<33d81760>]

sp : 33d3d714  ip : c000107e  fp : 33d3d993

r10: 33d3d893  r9 : 00000000  r8 : 33d3ffdc

r7 : 33d3d993  r6 : 00000000  r5 : 000000a8  r4 : 2f808020

r3 : c000107c  r2 : 30008000  r1 : 000000a8  r0 : 00000000

Flags: Nzcv  IRQs off  FIQs off  Mode SVC_32

Resetting CPU ...


*** Warning - bad CRC or NAND, using default environment





##### EmbedSky BIOS for SKY2440/TQ2440 #####

Press Space key to Download Mode !



#####         Boot for Nor Flash Main Menu        #####

[1] Download u-boot or STEPLDR.nb1 or other bootloader to Nand Flash

[2] Download Eboot to Nand Flash

[3] Download Linux Kernel to Nand Flash

[5] Download CRAMFS image to Nand Flash

[6] Download YAFFS image to Nand Flash

[7] Download Program (uCOS-II or TQ2440_Test) to SDRAM and Run it

[8] Boot the system

[9] Format the Nand Flash

[0] Set the boot parameters

[a] Download User Program (eg: uCOS-II or TQ2440_Test)

Download LOGO Picture (.bin) to Nand  Flash

[l] Set LCD Parameters

[o] Download u-boot to Nor Flash

[r] Reboot u-boot

[t] Test Linux Image (zImage)

[q] quit from menu

Enter your selection:

希望大虾帮忙看看什么原因。谢谢!!
nichmean 发表于 2010-6-10 01:37:46 | 显示全部楼层
再重新下载下内核镜像和文件镜像吧!
亚瑟王 发表于 2010-6-10 18:14:52 | 显示全部楼层
命令8启动linux时需要先完成烧写Linux内核(命令3)和文件系统(命令6)。
而你没有做这一步。
monkyzhanglin 发表于 2010-6-15 17:45:44 | 显示全部楼层
重新烧写LINUX
super2071 发表于 2010-6-17 10:21:19 | 显示全部楼层
重新烧写吧
zhonghua8410 发表于 2010-6-17 22:50:11 | 显示全部楼层
你需要烧写内核和文件系统镜像
亚瑟王 发表于 2010-6-18 21:01:04 | 显示全部楼层
到这个帖子下载最新的TQ2440使用手册吧,里面对于TQ2440的使用等写得更加详细了。
http://bbs.embedsky.net/viewthread.php?tid=859&extra=page%3D1
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-10-6 05:55 , Processed in 1.039103 second(s), 20 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表