天嵌 ARM开发社区

 找回密码
 注册
查看: 2090|回复: 5

裸跑的程序无法运行的问题

[复制链接]
wwwrryy 发表于 2009-12-12 00:08:40 | 显示全部楼层 |阅读模式
程序应该已经是成功下载,但在运行不了,调试信息如下:
#####    Boot for Nand 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
[r] Reboot u-boot
[t] Test Linux Image (zImage)
[q] quit from menu
Enter your selection: 7
USB host is connected. Waiting a download.

Now, Downloading [ADDRESS:c000000h,TOTAL:553578]
RECEIVED FILE SIZE:  553578 (540KB/S, 1S)
## Starting application at 0x0C000000 ...
*** Warning - bad CRC or NAND, using default environment


##### EmbedSky BIOS for SKY2440/TQ2440 #####
Press Space key to Download Mode !
请问这是什么问题?如何解决?
xinghun_4 发表于 2009-12-12 00:30:27 | 显示全部楼层
## Starting application at 0x0C000000 ...
s3c2440 sdram的起始地址是0x3000000,个人感觉是这个错误
 楼主| wwwrryy 发表于 2009-12-12 11:41:44 | 显示全部楼层
那如何修改下载的地址呢。
亚瑟王 发表于 2009-12-14 14:04:41 | 显示全部楼层
命令7使用的USB下载地址在DNW的configuration-》options-》USB ADDRESS下设置的。
gnjiao 发表于 2009-12-27 02:26:59 | 显示全部楼层
## Starting application at 0x0C000000 ...
s3c2440 sdram的起始地址是0x3000000,个人感觉是这个错误
xinghun_4 发表于 2009-12-12 00:30


好像ARM7 SDRAM起始地址是0x0C000000,
ARM9 SDRAM起始地址是0x30000000
亚瑟王 发表于 2009-12-31 12:12:11 | 显示全部楼层
0x30000000是TQ2440中的SDRAM的起始地址,和ARM9,ARM7无关。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-10-6 22:29 , Processed in 1.014688 second(s), 18 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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