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++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

[Flash programmer]CycloneII and 29LV320 FLASH

Altera_Forum
Honored Contributor II
1,347 Views

We make a new NiosII board.There are EP2C5Q208 and MX29LV320, something else. 

 

First, I got error when using flash programmer 

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

--- Quote Start ---  

[SOPC Builder]$ nios2-flash-programmer --input=output_file.flash --sof=f:/GU_Ni 

os/SW/myComponents/GU_Nios_2C5/system/GU_Nios_2C5.sof --base=0x01000000 

WARNING: Default charset GBK not supported, using ISO-8859-1 instead 

Oct 27, 2005 4:56:01 PM - (??) nios2-flash-programmer: Launching Quartus Program 

mer to download: 

  f:/GU_Nios/SW/myComponents/GU_Nios_2C5/system/GU_Nios_2C5.sof 

Pre-Reading 85KBytes of data from IC7: 

    |----.----+----.----| 

    ********************* (5.531 sec). 

Erasing 2 Sectors: 

    |----.----+----.----| 

    ********************* (2.125 sec). 

Writing 128KBytes : 

    |----.----+----.----| 

    *Unable to send write-packet @3674112 

buffer-chunk write failed @3674112 

erase-block write failed @3674112 

write failed @3670016 

Oct 27, 2005 4:56:21 PM - (??) nios2-flash-programmer: Unable to write to flash 

Oct 27, 2005 4:56:21 PM - (??) nios2-flash-programmer: Error: Write-operation fa 

iled on device. - exiting.[/b] 

--- Quote End ---  

 

 

Dose anybody else face the same error buffer-chunk 

BTY, I use this command to create target board 

$ mk_target_board --name=GU_Nios_2C5 --family=CycloneII --clock=50.0 --index=1 --buffer_size=4096
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
588 Views

:confused: hi, 

i need a help from this flash related things, we are using ep1s20 fpga with m29w640 application flash and with the same bus using for sram also. we are getting a problem as unable to write and read in that flash,but can be wrote and read in sram device. if u runned or worked with this flash,tel me how to access the flash with that fpga? and also how to do the write and read function in that?
0 Kudos
Reply