Forum Discussion

NRugg's avatar
NRugg
Icon for Occasional Contributor rankOccasional Contributor
4 years ago
Solved

Quartus Prime Programmer - Where is the EPCS Flash Tool?

So recently we have upgraded from Quartus 16.1 to Quartus 19.4. In 16.1 we have access to the NIOS II Flash Programmer (NIOS II > Flash Programmer) In 19.4 when we press this same button a mess...
  • NRugg's avatar
    4 years ago

    I've found a way to flash NOIS to our embedded target. Here's how I did it for anyone else running into this same issue.

    The Short Version: Build project, convert resulting .elf to .hex. Then convert this .hex to .jic. Then use Quartus Programmer to flash .jic onto the board.

    The Long Version:

    1. Build your project (this creates a .elf as output)
    2. Right click project in eclipse > Make Targets > Build > mem_init_generate
      1. mem_init_generate creates several .hex files. Each for a different target memory device. Select the one which matches your target memory device (e.g. mine was generic_quad_spi_controller2_0.hex)
    3. Open Quartus Convert Programming File Tool
    4. Set the following options:
      1. Programming File Type: .jic
      2. Configuration Device: <Select_Your_Target_Memory_Device)
      3. Mode: <Select_Your_Target_Mode>
      4. Click Flash Loader >> Add Device: <Select_Your_Target_Device)
      5. Click Add Hex Data: Add hex file created in step 2
    5. Click Generate
    6. Close Convert Programming File Tool
    7. Open Quartus Prime Programmer
    8. Add File > Select .jic created in step 5
    9. Check 'Program / Configure' & 'Verify'
    10. Click 'Start', NIOS code will be flashed to the target

    Enjoy!