Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21602 Discussions

Morph-IC II (Cyclone II) using vb.net in FIFO 245 mode

Altera_Forum
Honored Contributor II
1,873 Views

I have a Cyclone II (Morph-IC II) module that I need to communicatewith in FIFO 245 mode. I am new toAltera/FPGA and I do not know VHDL, but someone else is writing that code forthe module. What I am attempting is towrite the code for the PC to send a stream of data to the Cyclone II in FIFO245 mode. I am using Visual Basic.net 2010 and have thevb.net wrapper for the FTD2XX.dll and I was able to write programs to searchthe device and write/read from it, but FIFO 245 mode requires an OutputEnablefrom the Cyclone chip and I have not been able to figure out how to read thestatus of OE. I am not even sure if theWrapper allows the use of that mode or not.  

I also need the ability to load .rbf files to the Cyclonethrough this program. Altera has anexample loader for vb.net, but I couldn’t get it to run on vb.net 2010. I was able to create a new project and copythe form/code from the loader example and I got it to run, but it wouldn’t seeany devices. Has anyone had any luckwith the vb.net loader from Altera? 

 

Thanks, 

Jim 

0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
1,134 Views

I figured out how to get the Altera rbf loader example to work. I turns out the MORPHPRG.dll file is a 32-bit COM and requires x86 compile on a 64-bit OS. I was able to set the Morph-IC II to 245FIFO mode by sending it the MorphIC_HS_245_Sync_fifo.rbf file. I am still looking for help on how to send a stream of data from vb.net using the FTD2XX Wrapper. Most use of the wrapper is not too difficult to figure out, but 245FIFO mode requires use of OutputEnable from the Cyclone II and I can't figure out how to access that signal. 

 

Jim 

 

 

--- Quote Start ---  

I have a Cyclone II (Morph-IC II) module that I need to communicatewith in FIFO 245 mode. I am new toAltera/FPGA and I do not know VHDL, but someone else is writing that code forthe module. What I am attempting is towrite the code for the PC to send a stream of data to the Cyclone II in FIFO245 mode. I am using Visual Basic.net 2010 and have thevb.net wrapper for the FTD2XX.dll and I was able to write programs to searchthe device and write/read from it, but FIFO 245 mode requires an OutputEnablefrom the Cyclone chip and I have not been able to figure out how to read thestatus of OE. I am not even sure if theWrapper allows the use of that mode or not.  

I also need the ability to load .rbf files to the Cyclonethrough this program. Altera has anexample loader for vb.net, but I couldn’t get it to run on vb.net 2010. I was able to create a new project and copythe form/code from the loader example and I got it to run, but it wouldn’t seeany devices. Has anyone had any luckwith the vb.net loader from Altera? 

 

Thanks, 

Jim 

 

--- Quote End ---  

0 Kudos
Reply