Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17255 Discussions

.cdf for a JRunner embedded implementation

Altera_Forum
Honored Contributor II
1,476 Views

Hallo, 

 

I am trying to adapt the JRunner program in order to program an attached serial Flash memory to my target Cyclone III. 

 

In order to do that, I followed the instructions given by http://www.alterawiki.com/wiki/nios_jrunner_example but changing the altera echelon routines to drive the output pins for the direct assignments to the GPIO ports of my micro (a mbed). 

 

The problem comes when I want to create the .cdf file to describe the chain. In the Quartus-II programmer I have the posibility to add my FPGA and an EPC to it... but not my Flash memory. Can anybody tell me how can I add this my device to the chain? 

 

Also... the program I have is in a .flash extension (SREC), as it has been given me in order to program the FPGA through a standalone quartus II programmer... can I somehow convert this to .rbf file I need for JRunner?  

 

Thank you very much in advance
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
596 Views

Hella all, 

 

I have partially solved this issue. I have converted the .flash to a .rbf with a srec2bin converted. After tweaking the IO requirements of the Nios II example (in the first message of the thread) and solving some minor issues concerning to coding it seems I was able to deal with the problem properly... 

 

 

...but not! I see the JRunner can only support programming the FPGAs, CPLDs... but not the flash memories attached to them!  

 

The JRunner program tells be that what I have detailed in my .cdf file is non-altera stuff and thus it is bypassed in the operation. 

 

I know the altera programmer can deal with this fact, because I program the flash memory attached to my FPGA with the PC utility, but the JRunner seems not to support this. Maybe I am doing something wrong... so, if anybody could help me anyhow, it would be very nice. 

 

Thank you in advance.
0 Kudos
Reply