Forum Discussion
Altera_Forum
Honored Contributor
16 years agoTo connect my CFI Flash I used a tri-state-bridge and the CFI component provided by Altera. I am working on a DE1 development board, can it be the problem? Should I use another component? I made the test of my memory with the template test memories provided also by Altera and then found my CFI Flash. Here is the screen I obtained:
#!/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 D:/Test_memoires/essai/Debug # Creating .flash file for the FPGA configuration "$SOPC_KIT_NIOS2/bin/sof2flash" --offset=0x0 --input="D:/Test_memoires/carte.sof " --output="carte.flash" Info: ******************************************************************* Info: Running Quartus II Convert_programming_file Info: Command: quartus_cpf --no_banner --convert D:/Test_memoires/carte.sof cart e.rbf Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings Info: Peak virtual memory: 58 megabytes Info: Processing ended: Fri Aug 07 08:22:08 2009 Info: Elapsed time: 00:00:03 Info: Total CPU time (on all processors): 00:00:03 # Programming flash with the FPGA configuration "$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --base=0x00000000 --sidp=0x00505128 --id=1155318747 --timestamp=1249570787 --instance=0 "carte.flash" Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 Resetting and pausing target processor: OK Reading System ID at address 0x00505128: verified : Checksumming existing contents 00000000 : Verifying existing contents 00002000 : Verifying existing contents 00004000 : Verifying existing contents 00006000 : Verifying existing contents 00008000 : Verifying existing contents 0000A000 : Verifying existing contents 0000C000 : Verifying existing contents 0000E000 : Verifying existing contents 00000000 : Reading existing contents 00010000 : Reading existing contents 00020000 : Reading existing contents 00030000 : Reading existing contents 00040000 : Reading existing contents 00050000 : Reading existing contents 00060000 : Reading existing contents 00070000 : Reading existing contents Checksummed/read 101kB in 3.0s 00000000 ( 0%): Erasing 00010000 ( 1%): Erasing 00020000 (15%): Erasing 00030000 (29%): Erasing 00040000 (43%): Erasing 00050000 (57%): Erasing 00060000 (71%): Erasing 00070000 (85%): Erasing Erased 456kB in 3.8s (120.0kB/s) 00000000 ( 0%): Programming 00002000 ( 1%): Programming 00004000 ( 1%): Programming 00006000 ( 1%): Programming 00008000 ( 1%): Programming 0000A000 ( 1%): Programming 0000C000 ( 1%): Programming 0000E000 ( 1%): Programming 00010000 ( 1%): Programming Program failed at offset 1431C Leaving target processor paused # Creating .flash file for the project "$SOPC_KIT_NIOS2/bin/elf2flash" --base=0x00000000 --end=0x3fffff --reset=0x50400 0 --input="essai.elf" --output="ext_flash.flash" --boot="C:/altera/90/ip/altera/ nios2_ip/altera_nios2/boot_loader_cfi.srec" # Programming flash with the project "$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --base=0x00000000 --sidp=0x00505128 --id=1155318747 --timestamp=1249570787 --instance=0 "ext_flash.flash" Empty flash content cannot be programmed or verified # Creating .flash file for the project "$SOPC_KIT_NIOS2/bin/elf2flash" --epcs --input="essai.elf" --output="epcs_contro ller.flash" # Programming flash with the project "$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --epcs --base=0x00504000 --sidp=0x0 0505128 --id=1155318747 --timestamp=1249570787 --instance=0 "epcs_controller.fla sh" Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 Resetting and pausing target processor: OK Reading System ID at address 0x00505128: verified : Checksumming existing contents 00000000 : Verifying existing contents 00000000 : Reading existing contents Checksummed/read 30kB in 0.7s 00000000 ( 0%): Erasing Erased 64kB in 0.9s (71.1kB/s) 00000000 ( 0%): Programming Programmed 35KB +29KB in 1.5s (42.6KB/s) Did not attempt to verify device contents Leaving target processor paused Thanks for your help