您的位置: OpenADSP社区论坛 -> Blackfin专区 -> 新手上路 -> ADSP-EDU-BF53X v2.1 u-boot烧写问题请教
本帖共有638个阅读者
发表帖子 发表投票 回复主题
ADSP-EDU-BF53X v2.1 u-boot烧写问题请教
saryee(论坛新手)
saryee
头衔:社区公民
帮派:无帮无派
帖数:14
金钱:186
积分:16
注册时间:2012/7/24
楼主信息 | 留言 | Email | 主页 | 编辑 | 管理 | 离线
ADSP-EDU-BF53X v2.1 u-boot烧写问题请教
我载入了光盘上带的u-boot.bin。然后想用u-boot自己写入到flash中去。

bfin> loady
## Ready for binary (ymodem) download to 0x01000000 at 57600 bps...
CCCxyzModem - CRC mode, 2(SOH)/113(STX)/0(CAN) packets, 5 retries
## Total Size      = 0x0001c3f8 = 115704 Bytes

bfin> go 0x1000000
## Starting application at 0x01000000 ...
...

bfin> protect off all

bfin> erase all
Erase Flash Bank # 1
Erasing Flash locations, Please Wait
Erase Flash Bank # 2
Erasing Flash locations, Please Wait
Erase Flash Bank # 3
Erasing Flash locations, Please Wait

bfin> cp.b 0x1000000 0x20000000 0x1c3f8
Copy to Flash... Flash not erased at offset 0x4000 Please erase to reprogram
Flash not Erased

我查了下S29AL016D70有保护功能。
Sector Protection features
— A hardware method of locking a sector to prevent any
program or erase operations within that sector
— Sectors can be locked in-system or via programming
equipment
— Temporary Sector Unprotect feature allows code
changes in previously locked sectors

请教一下如何能让u-boot能烧写该flash呢?

谢谢!

Good good study and day day up!
等级:论坛新手 参考IP地址:*.*.*.*
2013/10/12 0:18:22
尊贵身份标志
andy(论坛版主)
andy
头衔:社区公民
帮派:无帮无派
帖数:2287
金钱:11132
积分:2263
注册时间:2011/6/8
1信息 | 留言 | Email | 主页 | 编辑 | 管理 | 离线
不清楚,没在uboot下这样用过,通常我们都是用仿真器烧写

这家伙很懒,什么也没有留下!
等级:论坛版主 参考IP地址:*.*.*.*
2013/10/12 17:55:48
saryee(论坛新手)
saryee
头衔:社区公民
帮派:无帮无派
帖数:14
金钱:186
积分:16
注册时间:2012/7/24
2信息 | 留言 | Email | 主页 | 编辑 | 管理 | 离线
谢谢回答。后来我想了一下,在u-boot中,使用save命令可以保存环境变量,所以save命令的实现的源代码中肯定有这个问题的答案。

Good good study and day day up!
等级:论坛新手 参考IP地址:*.*.*.*
2013/10/14 22:51:50
Powered by OpenADSP Copyright © 2010 www.Openadsp.com. All rights reserved.159257 Call, 1 Queries, Processed in 0.015991 second(s),