[Note]. A solution to the problem that the source node cannot be started from the source node. SOF + elf> flash> hex> JIC

Source: Internet
Author: User
ArticleDirectory
    • Introduction
    • Solution: SOF + elf> flash> hex> JIC
    • Reference
Introduction

After downloading the flash programmer by using the niosii flash programmer, the problem that the program cannot be started from the new source is concentrated in the following versions:

    1. 9.0sp2
    2. 9.1, 9.1sp2
    3. 11.0

Basically, there are bugs in these series FLASH leader versions. Among them, 11.0 cannot be erased when the JIC is downloaded.

 

Solution: SOF + elf> flash> hex> JIC

According to Edison, it is learned that there are predecessors on alteraforum to provide a solution. It seems simple, but the curative effect is better.

    1. In the qii project folder, create a folder. Take SOF + elf_jic as an example;
    2. Copy SOF and elf compiled by qii and NII to this folder;
    3. Create a new SH file in the following format, named make_hex.sh here; (SH file, bash batch file; similar to Doc BAT file)
      Sof = "de0_nano.sof" elf = "de0_nano.elf" Echo "sof> flash... "; sof2flash -- EPC -- input = $ sof -- output = HW. flash -- quietecho "elf> flash... "; elf2flash -- EPC -- after = HW. flash -- input = $ elf -- output = Sw. flashecho "cat flash... "; cp hw. flash hw_sw.flash; cat sw. flash> hw_sw.flashecho "Flash> hex... "; nios2-elf-objcopy -- input-target SREC -- output-target ihex hw_sw.flash hw_sw.hexecho" del flash... "; RM-f *. flash
    4. Modify 1st ~ 2. Save the name of the row. Start>Program> Altera> niosii eds XX. x> niosii XX. x command shell. Here we use the niosii 10.1 command shell for demonstration (figure 1 ).

      Figure 1
    5. Open qii> File> convert programming files (Figure 2), remove sof data, and click Generate to generate the JIC.

      Figure 2
    6. Download JIC directly. OK.

 

Reference

1. alteraforum. JIC file generation

Http://www.alteraforum.com/forum/showthread.php? P = 77416

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.