Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
949 Views

DE2-115 USB DEVICE Demo not working

Hi all, 

 

I just started trying to use the USB port to communicate from the PC to the DE2-115 board. My needs are to transfer info back and forth for the control application running on the FPGA. 

 

Since I never used the USB I figured it would be easier to start from the example provided in the CD but I can`t get it to work. 

 

I managed to compile the project on Quartus and the software code that runs on Nios II on the Nios EDS (FOr versions 12.1 and 13.1) In both cases and even on the already compiled .SOF end .ELF that comes with the demo, it returns the same messagem (copied below) when they run. I couldn`t figure out how to work from that.  

 

Did anyone get this example to work? 

 

Thanks 

Renato 

 

========= DE2-115 CY7C67200 USB Device Demo [2011/07/05]========= 

= = 

= This program demo a simply transfer between PC and DE2-115. = 

= = 

================================================================= 

[USBD]+ dc_download ----  

[USBD]Clear up the interrupt 

[USBD]dc_download: address=0x3e00, download_length=0x192 

[USBD_ERR]Data Checker ERROR!  

[USBD_ERR]dc_download: download error, try_count=0 

[USBD]Clear up the interrupt 

[USBD]dc_download: address=0x3e00, download_length=0x192 

[USBD_ERR]Data Checker ERROR!  

[USBD_ERR]dc_download: download error, try_count=1 

[USBD]Clear up the interrupt 

[USBD]dc_download: address=0x3e00, download_length=0x192 

[USBD_ERR]Data Checker ERROR!  

[USBD_ERR]dc_download: download error, try_count=2 

[USBD]Clear up the interrupt 

[USBD]dc_download: address=0x3e00, download_length=0x192 

[USBD_ERR]Data Checker ERROR!  

[USBD_ERR]dc_download: download error, try_count=3 

[USBD]Clear up the interrupt 

[USBD]dc_download: address=0x3e00, download_length=0x192 

[USBD_ERR]Data Checker ERROR!  

[USBD_ERR]dc_download: download error, try_count=4 

[USBD]Clear up the interrupt 

[USBD]dc_download: address=0x3e00, download_length=0x192 

[USBD_ERR]Data Checker ERROR!  

[USBD_ERR]dc_download: download error, try_count=5 

[USBD]Clear up the interrupt 

[USBD]dc_download: address=0x3e00, download_length=0x192 

[USBD_ERR]Data Checker ERROR!  

[USBD_ERR]dc_download: download error, try_count=6 

[USBD]Clear up the interrupt 

[USBD]dc_download: address=0x3e00, download_length=0x192 

[USBD_ERR]Data Checker ERROR!  

[USBD_ERR]dc_download: download error, try_count=7 

[USBD]Clear up the interrupt 

[USBD]dc_download: address=0x3e00, download_length=0x192 

[USBD_ERR]Data Checker ERROR!  

[USBD_ERR]dc_download: download error, try_count=8 

[USBD]Clear up the interrupt 

[USBD]dc_download: address=0x3e00, download_length=0x192 

[USBD_ERR]Data Checker ERROR!  

[USBD_ERR]dc_download: download error, try_count=9 

[USBD]- dc_download ----  

-DEVICE Init - Failed to download into 67200 Chip.
Tags (2)
0 Kudos
2 Replies
Altera_Forum
Honored Contributor I
56 Views

After contacting Terasic Support I've found out that there are 2 versions of the DE2-115 board. One of them uses the Philips ISP1362 chip for the USB and the other one uses the Cypress CY7C67200.  

 

As it turns out I was using a newer version of Quartus II and assumed it would be better to download updated drivers from the Terasic website. But the version 3.0.1 is only for the Cypress CYC67200 board. In my case, all new boards the University in bought 2014 came with the Philips ISP1362 chip so the most updated files on the Terasic site are version 1.0.6 

 

Also note that only Cypress seems to have an USB driver for Windows 7 which is the system I'm running. Is mentioned by the Terasic support the Philips ISP1362 only has drivers for Windows XP. 

 

If anyone knows a way to use the Philips ISP1362 chip on Windows 7 and above please let me know. 

 

Thanks.
Altera_Forum
Honored Contributor I
56 Views

Just a follow up, I was able to use this project http://mzakharo.github.io/usb-de2-fpga/ successfully on the DE2-115 Board with the Philips ISP1362 USB chip. 

 

The only adaptation needed is to remap some of the OTG pins from the DE2 to the DE2-115. 

 

Also, on the hardware side, the project is set to loopback the data coming in from the USB directly to the output so, in my case, I added a buffer for the incoming data to be read by other modules on the system and made an AVALON wrapper so that from Nios II I can read and write to the USB port. 

 

Since the USB driver is not signed, on Windows 8 you have to force the system to install it. I followed this tutorial (http://revryl.com/2013/08/06/install-unsigned-drivers/)
Reply