- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I m programming EPCS64 through NIOS-II flash programmer (Cyclone III FPGA). The file i m trying to download into EPCS64 is of size 4 Mega Byte. And we are giving offset at 0x400000. But it is not able to program the EPCS64 device. We tried by changing offset also, but its not working. It is giving error # !/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:/TONE/hello_world_0/Debug # Creating .flash file for the FPGA configuration "$SOPC_KIT_NIOS2/bin/sof2flash" --epcs --input="E:/TONE/TONE.sof" --output="TONE .flash" Info: ******************************************************************* Info: Running Quartus II Convert_programming_file Info: Command: quartus_cpf --no_banner --convert --device=EPCS128 --option=TONE. opt E:/TONE/TONE.sof TONE.pof Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings Info: Peak virtual memory: 77 megabytes Info: Processing ended: Mon Aug 23 10:03:04 2010 Info: Elapsed time: 00:00:10 Info: Total CPU time (on all processors): 00:00:08 Info: ******************************************************************* Info: Running Quartus II Convert_programming_file Info: Command: quartus_cpf --no_banner --convert TONE.pof TONE.rpd Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings Info: Peak virtual memory: 73 megabytes Info: Processing ended: Mon Aug 23 10:03:16 2010 Info: Elapsed time: 00:00:09 Info: Total CPU time (on all processors): 00:00:08 # Programming flash with the FPGA configuration "$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --epcs --base=0x00041800 --cable='U SB-Blaster [USB-0]' "TONE.flash" Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 Resetting and pausing target processor: OK : Checksumming existing contents 00000000 : Verifying existing contents 00010000 : Verifying existing contents 00020000 : Verifying existing contents 00030000 : Verifying existing contents 00040000 : Verifying existing contents 00050000 : 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 Checksummed/read 19kB in 0.7s 00000000 ( 0%): Erasing 00010000 (16%): Erasing 00020000 (33%): Erasing Erase failed at offset 20000 Leaving target processor paused # Creating .flash file for the datafile "$SOPC_KIT_NIOS2/bin/bin2flash" --base=0x00041800 --location=0x400000 --input="E :/TONE/toneann.dat" --output="toneann.flash" # Programming flash with the datafile "$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --epcs --base=0x00041800 --cable='U SB-Blaster [USB-0]' "toneann.flash" Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 Resetting and pausing target processor: OK : Checksumming existing contents 00400000 : Verifying existing contents 00410000 : Verifying existing contents 00420000 : Verifying existing contents . . . . . . 00790000 : Verifying existing contents 007A0000 : Verifying existing contents 007B0000 : Verifying existing contents 007C0000 : Verifying existing contents 007D0000 : Verifying existing contents 007E0000 : Verifying existing contents 007F0000 : Verifying existing contents 00400000 : Reading existing contents 00410000 : Reading existing contents 00420000 : Reading existing contents . . . . . . 00790000 : Reading existing contents 007A0000 : Reading existing contents 007B0000 : Reading existing contents 007C0000 : Reading existing contents 007D0000 : Reading existing contents 007E0000 : Reading existing contents 007F0000 : Reading existing contents Checksums took 0.0s 00400000 ( 0%): Erasing 00410000 ( 1%): Erasing 00420000 ( 3%): Erasing 00430000 ( 4%): Erasing 00440000 ( 6%): Erasing 00450000 ( 7%): Erasing 00460000 ( 9%): Erasing Erase failed at offset 460000 Leaving target processor pausedLink Copied
6 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
plz do reply someone........................
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My prbm is solved by changing the value of resister from 1k to 240 ohm.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Which resistor did you changed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
TCLK pullup resistance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot for your post. I had exactly the same problem and now it's working with 220 ohm.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have the same problem. ajay_106 and isue, could you be a little more specific, please?
Is TCLK the 1st pin of JTAG or DCLK pin of EPCS device? If it is the 1st pin of JTAG, namely TCK, it should be pulldown to the GND, not pullup. ajay_106 said TCLK pullup resistance was changed. Is it correct?
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page