请问FLASH_ID到底是什么

91 views
Skip to first unread message

cheng chen

unread,
Sep 9, 2010, 5:23:58 AM9/9/10
to linux-kernel
初学,我的s3c2440板子,有个sst39vf1601的nor flash。我要把uboot烧到nor flash上。
用H-JTAG CHECK的时候一直报Flash id does not match.
我按照网上搜索的,改了H-JTAG\FDevice\SST下的配置文件,为相应的ID能CHECK,但是还
是不能program. 然后过一段时间也不知道怎么的FLASH的ID又变了。
开始是0xEA00007E
一会儿又是0xEA000030
过段时间又会变回去

问题:
1.我想问一下FLASH id 到底是什么东东?
2.为什么会出现FLASH ID 不能识别的问题?

谢谢~

--
Cheng(誠)

Fedora Project Contributor -- Ambassador
https://fedoraproject.org/wiki/User:Freakrobot

<https://fedoraproject.org/wiki/User:Freakrobot>VEDA Open Source Club
co-founder
http://www.vedaclub.org/
_______________________________________________

My Page: http://gnudam.webgarden.com

DuanZhenzhong

unread,
Sep 9, 2010, 3:28:56 PM9/9/10
to cheng chen, linux-kernel
有串扰?
cheng chen 写道:

> 初学,我的s3c2440板子,有个sst39vf1601的nor flash。我要把uboot烧到nor flash上。
> 用H-JTAG CHECK的时候一直报Flash id does not match.
> 我按照网上搜索的,改了H-JTAG\FDevice\SST下的配置文件,为相应的ID能CHECK,但是还
> 是不能program. 然后过一段时间也不知道怎么的FLASH的ID又变了。
> 开始是0xEA00007E
> 一会儿又是0xEA000030
> 过段时间又会变回去
>
> 问题:
> 1.我想问一下FLASH id 到底是什么东东?
> 2.为什么会出现FLASH ID 不能识别的问题?
>
> 谢谢~
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Linux 内核开发中文邮件列表
> Linux-...@zh-kernel.org
> http://zh-kernel.org/mailman/listinfo/linux-kernel
> Linux 内核开发中文社区: http://zh-kernel.org

_______________________________________________
Linux 内核开发中文邮件列表
Linux-...@zh-kernel.org
http://zh-kernel.org/mailman/listinfo/linux-kernel
Linux 内核开发中文社区: http://zh-kernel.org

cheng chen

unread,
Sep 10, 2010, 12:49:21 AM9/10/10
to DuanZhenzhong, linux-kernel
那个flash id 是干什么的啊?

2010/9/10 DuanZhenzhong <zhenzho...@oracle.com>

> 有串扰?
> cheng chen 写道:
> > 初学,我的s3c2440板子,有个sst39vf1601的nor flash。我要把uboot烧到nor flash上。
> > 用H-JTAG CHECK的时候一直报Flash id does not match.
> > 我按照网上搜索的,改了H-JTAG\FDevice\SST下的配置文件,为相应的ID能CHECK,但是还
> > 是不能program. 然后过一段时间也不知道怎么的FLASH的ID又变了。
> > 开始是0xEA00007E
> > 一会儿又是0xEA000030
> > 过段时间又会变回去
> >
> > 问题:
> > 1.我想问一下FLASH id 到底是什么东东?
> > 2.为什么会出现FLASH ID 不能识别的问题?
> >
> > 谢谢~
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Linux 内核开发中文邮件列表
> > Linux-...@zh-kernel.org
> > http://zh-kernel.org/mailman/listinfo/linux-kernel
> > Linux 内核开发中文社区: http://zh-kernel.org
>
>

Li Haifeng

unread,
Sep 10, 2010, 5:01:21 AM9/10/10
to cheng chen, linux-kernel
在cu BBS上问的也是你啊?

--
Laboratory of Service Computing Technology and System
p-web:http://tek-life.org

Adam Jiang

unread,
Sep 10, 2010, 5:25:32 AM9/10/10
to cheng chen, linux-kernel
On Thu, Sep 09, 2010 at 05:23:58PM +0800, cheng chen wrote:
> 初学,我的s3c2440板子,有个sst39vf1601的nor flash。我要把uboot烧到nor
> flash上。用H-JTAG CHECK的时候一直报Flash id does not match.
> 我按照网上搜索的,改了H-JTAG\FDevice\SST下的配置文件,为相应的ID能
> CHECK,但是还是不能program. 然后过一段时间也不知道怎么的FLASH的ID又变
> 了。
> 开始是0xEA00007E一会儿又是0xEA000030
> 过段时间又会变回去

问题描述的不是很清楚。上面两个地址的值是在哪里确认的?

>
> 问题:
> 1.我想问一下FLASH id 到底是什么东东?

flash memory所对应的一段物理地址的代称,一个label。

> 2.为什么会出现FLASH ID 不能识别的问题?

因为没有配置好。可能是内核,也可能是uboot,也可能是调试器。因为你没有指
定一个正确的将物理地址的某一段转换为一个名称的映射。

/大头阿当

>
> 谢谢~
>
> --
> Cheng(誠)
>
> Fedora Project Contributor -- Ambassador
> https://fedoraproject.org/wiki/User:Freakrobot
>
> <https://fedoraproject.org/wiki/User:Freakrobot>VEDA Open Source Club
> co-founder
> http://www.vedaclub.org/
> _______________________________________________
>
> My Page: http://gnudam.webgarden.com

> _______________________________________________

cheng chen

unread,
Sep 10, 2010, 5:33:30 AM9/10/10
to Adam Jiang, linux-kernel
http://www.hjtag.com/forum/viewthread.php?tid=819&page=1

<http://www.hjtag.com/forum/viewthread.php?tid=819&page=1>
就是跟这个截图一样的地方看到的数值~内核我还没有移上去呢,你的意思是,应该是uboot软件问题吧?

2010/9/10 Adam Jiang <jiang...@gmail.com>

Adam Jiang

unread,
Sep 10, 2010, 5:43:12 AM9/10/10
to cheng chen, linux-kernel
On Fri, Sep 10, 2010 at 05:33:30PM +0800, cheng chen wrote:
> http://www.hjtag.com/forum/viewthread.php?tid=819&page=1
>
> <http://www.hjtag.com/forum/viewthread.php?tid=819&page=1>
> 就是跟这个截图一样的地方看到的数值~内核我还没有移上去呢,你的意思是,
> 应该是uboot软件问题吧?

我明白你的状况了。你的板子上现在还什么都没有,然后,你想用HJTAG来烧入
Flash的image,这个image里面的内容就是uboot。是这样的么?

你需要检查两个事情,

第一,你的Flash memory的起始物理地址是多少?大小是多少?出错的地址是否落
在这个区间以内?

第二,HJTAG上有没有关于硬件的配置文件,在这个配置文件当中,关于这个flash
memory是如何定义的?是不是和你的物理地址正好对应起来?

/大头阿当

cheng chen

unread,
Sep 10, 2010, 6:09:47 AM9/10/10
to Adam Jiang, linux-kernel
是这样的。好的,多谢~先去查查这两个~不懂再问~

cheng chen

unread,
Sep 10, 2010, 11:38:51 PM9/10/10
to Adam Jiang, linux-kernel
2010/9/10 Adam Jiang <jiang...@gmail.com>

>
> 我明白你的状况了。你的板子上现在还什么都没有,然后,你想用HJTAG来烧入
> Flash的image,这个image里面的内容就是uboot。是这样的么?
>
> 你需要检查两个事情,
>
> 第一,你的Flash memory的起始物理地址是多少?大小是多少?出错的地址是否落
> 在这个区间以内?
>

s3c2440的存储器控制器的外设访问地址是
BANK0 NOR FLASH 起始地址:0x00000000 结束地址:0x001FFFFF
我报错的地址是FLash 0xEA00007E Error! 不在这个范围之内,
不知道怎么解决


>
> 第二,HJTAG上有没有关于硬件的配置文件,在这个配置文件当中,关于这个flash
> memory是如何定义的?是不是和你的物理地址正好对应起来?
>
>

HJTAG的硬件配置文件对SST39VF1601的描述是
FLASH_TYPE=2
FLASH_SIZE=2M
FLASH_ID=0x234B00BF
FLASH_SECTOR=512x4K
FLASH_WIDTH=0/16/0
FLASH_DRIVER=0/1/0

比较迷茫应该怎么做?请指教~

Adam Jiang

unread,
Sep 11, 2010, 9:14:25 AM9/11/10
to cheng chen, linux-kernel
On Sat, Sep 11, 2010 at 11:38:51AM +0800, cheng chen wrote:
> 2010/9/10 Adam Jiang <jiang...@gmail.com>
>
> >
> > 我明白你的状况了。你的板子上现在还什么都没有,然后,你想用HJTAG来烧入
> > Flash的image,这个image里面的内容就是uboot。是这样的么?
> >
> > 你需要检查两个事情,
> >
> > 第一,你的Flash memory的起始物理地址是多少?大小是多少?出错的地址是否落
> > 在这个区间以内?
> >
>
> s3c2440的存储器控制器的外设访问地址是
> BANK0 NOR FLASH 起始地址:0x00000000 结束地址:0x001FFFFF
> 我报错的地址是FLash 0xEA00007E Error! 不在这个范围之内,
> 不知道怎么解决
>
>
> >
> > 第二,HJTAG上有没有关于硬件的配置文件,在这个配置文件当中,关于这个flash
> > memory是如何定义的?是不是和你的物理地址正好对应起来?
> >
> >
> HJTAG的硬件配置文件对SST39VF1601的描述是
> FLASH_TYPE=2
> FLASH_SIZE=2M
> FLASH_ID=0x234B00BF
> FLASH_SECTOR=512x4K
> FLASH_WIDTH=0/16/0
> FLASH_DRIVER=0/1/0
>
> 比较迷茫应该怎么做?请指教~
>

这个应该是HJTAG的问题,而不是Kernel的问题了。你可以参考下面两个东西,

http://www.hjtag.com/forum/viewthread.php?tid=385&extra=page%3D1
http://www.hjtag.com/download/USER%20MANUAL%20(CN).pdf

好运。

/大头阿当

>
> > /大头阿当
> >
> > >
> > > 2010/9/10 Adam Jiang <jiang...@gmail.com>
> > >
> > > > On Thu, Sep 09, 2010 at 05:23:58PM +0800, cheng chen wrote:
> > > > > 初学,我的s3c2440板子,有个sst39vf1601的nor flash。我要把uboot烧到nor
> > > > > flash上。用H-JTAG CHECK的时候一直报Flash id does not match.
> > > > > 我按照网上搜索的,改了H-JTAG\FDevice\SST下的配置文件,为相应的ID能
> > > > > CHECK,但是还是不能program. 然后过一段时间也不知道怎么的FLASH的ID又变
> > > > > 了。
> > > > > 开始是0xEA00007E一会儿又是0xEA000030
> > > > > 过段时间又会变回去
> > > >
> > > > 问题描述的不是很清楚。上面两个地址的值是在哪里确认的?
> > > >
> > > > >
> > > > > 问题:
> > > > > 1.我想问一下FLASH id 到底是什么东东?
> > > >
> > > > flash memory所对应的一段物理地址的代称,一个label。
> > > >
> > > > > 2.为什么会出现FLASH ID 不能识别的问题?
> > > >
> > > > 因为没有配置好。可能是内核,也可能是uboot,也可能是调试器。因为你没有指
> > > > 定一个正确的将物理地址的某一段转换为一个名称的映射。
> > > >
> > > > /大头阿当
> > > >
> > > > >
> > > > > 谢谢~
> > > > >
> > > > > --

> > > > > Cheng(?\)


> > > > >
> > > > > Fedora Project Contributor -- Ambassador
> > > > > https://fedoraproject.org/wiki/User:Freakrobot
> > > > >
> > > > > <https://fedoraproject.org/wiki/User:Freakrobot>VEDA Open Source
> > Club
> > > > > co-founder
> > > > > http://www.vedaclub.org/
> > > > > _______________________________________________
> > > > >
> > > > > My Page: http://gnudam.webgarden.com
> > > >
> > > > > _______________________________________________
> > > > > Linux 内核开发中文邮件列表
> > > > > Linux-...@zh-kernel.org
> > > > > http://zh-kernel.org/mailman/listinfo/linux-kernel
> > > > > Linux 内核开发中文社区: http://zh-kernel.org
> > > >
> > > >
> > >
> > >
> > > --

> > > Cheng(?\)


> > >
> > > Fedora Project Contributor -- Ambassador
> > > https://fedoraproject.org/wiki/User:Freakrobot
> > >
> > > <https://fedoraproject.org/wiki/User:Freakrobot>VEDA Open Source Club
> > > co-founder
> > > http://www.vedaclub.org/
> > > _______________________________________________
> > >
> > > My Page: http://gnudam.webgarden.com
> >
>
>
>
> --

> Cheng(?\)

cheng chen

unread,
Sep 12, 2010, 7:00:33 AM9/12/10
to cheng chen, linux-kernel
谢谢~

2010/9/11 Adam Jiang <jiang...@gmail.com>

--
Cheng(誠)

Reply all
Reply to author
Forward
0 new messages