Altera_Forum
Honored Contributor
19 years agoAnyone use the USBHostSlave before?
Hi, hippo, http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif
I think I will bother you again, but I really need your help. I want to use the USBHostSlave as host distributed in opencores, and already use the usbhostslavewrap in the SOPC Builder, successfully generating the .ptf file and making compilation through Quartus. But when I download the .sof file into the dev board, software test code can not run in the board. I use the modelsim in Nios IDE, and get this, # This testbench includes an SOPC Builder Generated Altera model:# 'sdram_test_component.v', to simulate accesses to SDRAM.# Initial contents are loaded from the file: 'sdram.dat'.# ************************************************************# 410590 ns: WARNING: cpu_test_bench/M_wr_data_unfiltered is 'x'# 411270 ns: WARNING: cpu_test_bench/M_wr_data_unfiltered is 'x'# Break key hit # Break at C:/altera/quartus50/eda/sim_lib/stratix_atoms.v line 3128 in wave table, the value of usb host and device irq of cpu is x, what's the problem? I allocate the irq number to the usb host and device in SOPC Builder. I wonder that do you use USBHostSlave before? can uClinux drive of usb host work normally? I wonder that do you use USBHostSlave before? can uClinux driver of usb host work normally?