- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
i am working on cyclone V soc (5csxfc6d6f31c8) and using nios II as processor. i have generated sof and sopcinfo and also programmed the device successfully. But after configuring the nios and generating the .elf this error pops up - Downloading Elf Process failed In the Eclipse Console window I get the following lines: Using cable "USB-BlasterII [USB-1]", device 2, instance 0x00 Resetting and pausing target processor: FAILED Leaving target processor paused i have read many posts relating to this but i am not able to figure out the actual issue. Please help me with this asap. Thanks in advance.Link Copied
12 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you provide some more details about your setting? Such as configuration of your clocks, of the NIOS (including used RAM for data- and for instruction-master).
Maybe as screenshots? The first things I would look on are: - clocking - resets - working RAM (in case of DDR and SoC you need to enable the FPGA->SDRAM-Bridge)- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for an early reply. I am trying to run the Video and Image processing design example on cyclone V soc. The pin mapping are - set_location_assignment PIN_AD27 -to reset_n set_location_assignment PIN_AK21 -to ddr3_reset_n set_location_assignment PIN_AC18 -to phy_refclk set_location_assignment PIN_Y26 -to clock_source I am using external PLL.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you also have screenshots from the whole QSYS-System?
Why do you use NIOSII Gen2?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am not using HPS, but i want soft processor so i am using Nios.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Issue solved. I was facing problem with pin assignments. But elf downloading still fails and its actually very wierd behaviour. Here it is when i try to download elf from command line - Resetting and pausing target processor: OK Initializing CPU cache (if present) OK Downloaded 163KB in 0.4s (407.5KB/s) Verifying 08050000 (39%) Verify failed between address 0x8050000 and Leaving target processor paused $ nios2-download -r -g vip_example.elf Using cable "USB-BlasterII [USB-1]", device Resetting and pausing target processor: OK Initializing CPU cache (if present) OK Downloaded 163KB in 0.4s (407.5KB/s) Verifying 08050000 (39%) Verify failed between address 0x8050000 and Leaving target processor paused $ nios2-download -r -g vip_example.elf Using cable "USB-BlasterII [USB-1]", device Resetting and pausing target processor: OK Initializing CPU cache (if present) OK Downloaded 163KB in 0.4s (407.5KB/s) Verified OK Starting processor at address 0x08040120 $ nios2-download -r -g vip_example.elf Using cable "USB-BlasterII [USB-1]", device Resetting and pausing target processor: OK Initializing CPU cache (if present) OK Downloaded 163KB in 0.4s (407.5KB/s) Verifying 08040120 ( 0%) Verify failed between address 0x8040120 and Leaving target processor paused $ nios2-download -r -g vip_example.elf Using cable "USB-BlasterII [USB-1]", device Resetting and pausing target processor: OK Initializing CPU cache (if present) OK Downloaded 163KB in 0.4s (407.5KB/s) Verifying 08050000 (39%) Verify failed between address 0x8050000 and Leaving target processor paused $ nios2-download -r -g vip_example.elf Using cable "USB-BlasterII [USB-1]", device Resetting and pausing target processor: OK Initializing CPU cache (if present) OK Downloaded 163KB in 0.4s (407.5KB/s) Verifying 08040120 ( 0%) Verify failed between address 0x8040120 and Leaving target processor paused $ nios2-download -r -g vip_example.elf Using cable "USB-BlasterII [USB-1]", device Resetting and pausing target processor: OK Initializing CPU cache (if present) OK Downloaded 163KB in 0.4s (407.5KB/s) Verified OK in 1.0s (163.0KB/s) Starting processor at address 0x0 I AM trying to download elf and sometimes it fails and sometimes it pass. Also the verify fails at different addresses and not any one particular. Somebody please tell me why this is happening.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is your system timing-clean?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
TimeQuest timing analyzer has given no errors and it is showing successful. Although there are some warning messages.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Is your system timing-clean? --- Quote End --- TimeQuest timing analyzer has given no errors and it is showing successful. Although there are some warning messages. What else to look for to ensure system timimg is clean or not??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could post a screenshot of the timing analysis report?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Could post a screenshot of the timing analysis report? --- Quote End --- I am attaching the following snapshots - 1.give no errors in Timequest timing analyzer ang shows it successful https://www.alteraforum.com/forum/attachment.php?attachmentid=10150 2. setup and hold summary of Timequest timing analyzer - https://www.alteraforum.com/forum/attachment.php?attachmentid=10151 https://www.alteraforum.com/forum/attachment.php?attachmentid=10152 I can see slack issue in the clock source in above. Is this the cause for the issue?? And if it is how to get over it? Thanks again !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
could you please also post your *.sdc-file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- could you please also post your *.sdc-file? --- Quote End --- sdc file contains these statements only - https://www.alteraforum.com/forum/attachment.php?attachmentid=10156

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