Altera_Forum
Honored Contributor
15 years agonios2-flash-programmer failed!
I Desgin a new EP2C8 board with 8MByte flash(S29Gl064N), but it can not download file with nios2-flash-programmer. please help me!!!
it can run Memory Test example and it's OK! but only nios2-flash-programmer failed!!! this is output messages: 1. Memory Test ---------------------------------- Memory Test Main Menu ---------------------------------- a: Test RAM b: Test Flash e: FlashErase m: TestFlash(SHOWMAP, CFI) q: Exit ---------------------------------- Select Choice (a-b): [Followed by <enter>]b Enter the name of the CFI flash device to be opened, or just press <enter> to open "/dev/ext_flash" >/dev/cfi_flash -Successfully opened /dev/cfi_flash -Region 0 contains 8 blocks. -Checking Region 0 for erased blocks. -Block 1, at address 0x2000 identified. -Would you like to test this block? (y/n)y -Starting Flash Test. -Testing "alt_write_flash" and "alt_read_flash". pass 1 - passed. pass 2 - passed. -Testing "alt_erase_flash_block". passed. -Testing "alt_write_flash_block". passed. -Testing unaligned writes. passed. -Returning block 1 to its erased state. -Flash tests complete. -Closing flash device "/dev/cfi_flash". Press enter to continue... 2. nios2-flash-programmer:# Programming flash with the datafile "$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --base=0x00000000 --cable='USB-Blas ter [USB-0]' --sidp=0x00802010 --id=1524664086 --timestamp=1283755809 --instance =0 "bit8.flash" Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 Resetting and pausing target processor: OK Reading System ID at address 0x00802010: verified : Checksumming existing contents 00000000 : Reading existing contents 00008000 : Reading existing contents Checksums took 0.3s 00000000 ( 0%): Erasing 00008000 (50%): Erasing Erased 16kB in 0.1s 00000000 ( 0%): Programming Program failed Leaving target processor paused please help me!!!