Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

[Flash programmer]CycloneII and 29LV320 FLASH

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

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    :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?