Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

flash problem in u-boot

Altera_Forum
Honored Contributor II
1,029 Views

Hi,all 

 

I use the Am29LV160DT flash in my cyclone custom board. 

 

and the flash used in the altera' dev board is Am29LV065D , and the size of sectors are the same , but this is not the case in Am29LV160DT , the organisation of sectors is as follow: 

 

<div class='quotetop'>QUOTE </div> 

--- Quote Start ---  

One 16 Kbyte, two 8 Kbyte, one 32 Kbyte, and 

thirty-one 64 Kbyte sectors (byte mode) 

— One 8 Kword, two 4 Kword, one 16 Kword, and 

thirty-one 32 Kword sectors (word mode)[/b] 

--- Quote End ---  

 

 

how to modify the source code to make it work?  

 

has anyone meet this question before? how to solve it? 

 

Any replies are highly appreciated . 

 

scut_ak
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
315 Views
0 Kudos
Altera_Forum
Honored Contributor II
315 Views

Hi,Scott 

 

 

I can use my flash now. And I do not reference the flash.c file you recommended to me, I think it more difficult and boring to modify the file .  

 

Thank you for your help anyway.
0 Kudos
Altera_Forum
Honored Contributor II
315 Views

Hi, Scott 

 

How to add your cumstom commands into the u-boot?  

where is the source code for the command "cp" ? and so on... 

 

 

Waiting for your reply. 

 

scut_ak
0 Kudos
Altera_Forum
Honored Contributor II
315 Views

Hi scut_ak, 

 

> How to add your cumstom commands into the u-boot?  

 

I started a new topic for this: 

 

http://forum.niosforum.com/forum/index.php?showtopic=3888#1 (http://forum.niosforum.com/forum/index.php?showtopic=3888#1

 

Regards, 

--Scott
0 Kudos
Reply