GONZALEZ 发表于 2018-9-23 21:45:55

USB下载裸机程序不能运行问题

写了个裸机代码,通过DNW去下载到板子上,却不能运行,大牛帮忙分析分析下,具体操作步骤:
(1)选择1:Download to flash
(2)选择3:烧写到myApp分区
(3)通过DNW连接USB进行烧写
Now download and write nand flash part [ MyApp ]
press to choose the file

Now, Downloading
RECEIVED FILE SIZE:    1046
(156.0KB/S,0.0S)
Now, Checksum calculation
Download O.K.

Now write nand flash page 0x300 from ram address 0x30800000, filesize = 1046
.Program nand flash partition success

(4)烧写完成后选择3:Boot My Application
出现问题:
NAND ID is 0xecda
Memory Test(30200000h-33ff0000h):O.K.
Load Application...
run 0x32000000...
NAND ID is 0xecda
Set boot params = root=/dev/mtdblock3 init=/linuxrc load_ramdisk=0 console=ttySAC0,115200 mem=65536K devfs=mount display=lcd480
Load Kernel...



貌似没有运行myAPP分区的代码,去启动内核了,大神有遇到过这种问题吗???

GONZALEZ 发表于 2018-9-23 21:49:54

貌似写错板块了:funk::funk:

GONZALEZ 发表于 2018-9-23 22:03:22

有人吗???

xhh 发表于 2018-9-25 14:52:40

您好
DNW在win7及以上64位系统不能使用

GONZALEZ 发表于 2018-9-27 21:42:16

xhh 发表于 2018-9-25 14:52
您好
DNW在win7及以上64位系统不能使用

我有写led测试程序试过的,可以烧写进去运行的,后面再用当前的代码就不行了,貌似跟系统没多大关系,测试开发板自带程序也可以烧进去运行

liyang 发表于 2018-10-9 09:54:26

GONZALEZ 发表于 2018-9-27 21:42
我有写led测试程序试过的,可以烧写进去运行的,后面再用当前的代码就不行了,貌似跟系统没多大关系,测 ...

您好,建议您尝试烧写我们提供的裸机镜像,来排除一下硬件问题
页: [1]
查看完整版本: USB下载裸机程序不能运行问题