Altera_Forum
Honored Contributor
20 years agoProblem with Flash Programmer
<div class='quotetop'>QUOTE </div>
--- Quote Start --- #! /bin/sh# # This file was automatically generated by the Nios II IDE Flash Programmer.# # It will be overwritten when the flash programmer options change.# cd E:/altera/qdesigns42/UP3_flash2/software/hello_world_0/Debug # Creating .flash file for the project $SOPC_KIT_NIOS2/bin/elf2flash --flash=U8 --base=0x00000000 --end=0x100000 --rese t=0x0 --input=hello_world_0.elf --output=flash.flash --boot=$SOPC_KIT_NIOS2/comp onents/altera_nios2/boot_loader_cfi.srec WARNING: Default charset GBK not supported, using ISO-8859-1 instead # Programming flash with the project $SOPC_KIT_NIOS2/bin/nios2-flash-programmer --input=flash.flash --sof=e:/altera/U P3_board/up3/system/up3.sof --base=0x00200000 Jun 27, 2005 10:55:31 AM - (??) nios2-flash-programmer: Launching Quartus Progra mmer to download: e:/altera/UP3_board/up3/system/up3.sof Pre-Reading 53KBytes of data from U8: |----.----+----.----| ********************* (2.75 sec). Erasing 4 Sectors: |----.----+----.----| ********************* (1.719 sec). Unable to send write-packet @0 buffer-chunk write failed @0 erase-block write failed @0 write failed @0 Jun 27, 2005 10:55:47 AM - (??) nios2-flash-programmer: Unable to write to flash Jun 27, 2005 10:55:47 AM - (??) nios2-flash-programmer: Error: Write-operation f ailed on device. - exiting. WARNING: Default charset GBK not supported, using ISO-8859-1 instead[/b] --- Quote End --- When I port the NiosII Flash Programmer to my custom board, the problems above happens. Can anybody help me to figner out the problems?? thanks!!