Go Down

Topic: Signaltap problem with emulated blaster (Read 342 times) previous topic - next topic

Limba

Hi,

Found problem if signaltap capture memory is 2048 bits or more. (can't do 8x256 capture)

This cause is failing error message "Invalid data received". Under 2048 bit seems to work.

Has anyone tested big signaltaps with emulated blaster or real USB blaster with Vidor.

I have official drivers because I also use terasic USB blaster for other cards.



Tools:
Arduino 1.8.8
Quartus Prime lite 18.1

Lib:
USBBlaster (v1.0.0)

tksm372

Hi Limba,

I have successfully captured over 2K samples by adding "USBBlaster.setOutEpSize(60);" into the USB_Blaster.ino.

Code: [Select]

void setup() {
  USBBlaster.setOutEpSize(60);
  USBBlaster.begin(1);
  enableFpgaClock();

}



It is mentioned in the known issues section:
https://github.com/vidor-libraries/USBBlaster
Minatsu Tukisima

Limba

#2
Mar 28, 2019, 10:09 am Last Edit: Mar 28, 2019, 12:09 pm by Limba
I think that was only for BSOD case.
I will try that.

Edit:
->  USBBlaster.setOutEpSize(60);
Didn't do autodetect in programmer. Hangs

->  USBBlaster.setOutEpSize(64);
Works ok and also 2k sample 16kbit capture seems work with original drivers.

Edit2:
16kbit data offload takes 16s but it works. So don't do any big captures.

Edit3:
Did some test with DE0-Nano. 4 signal 32k depth (128kbit). Whole capture was about 1.5s
So if I need to debug something in HW then I use real braster.
Also remember to use testbench and simulate.

tksm372

Thank you for your reports.

I tested again with different EP size:

-> Without setOutEpSize();
NG

-> setOutEpSize(60);
OK, 4K samples 290Kbits data can be offloaded in an instant.

-> setOutEpSize(64);
NG


Hmm, the appropriate EP size seems to be dependent on an environment as described in the USB_Blaster's readme.


My environment:
Arduino IDE 1.8.8
Quartus Prime lite 18.1
Windows 10 Pro 64bit, Altera USB-Blaster driver: 2014/08/25 Ver. 2.12.0.0
Minatsu Tukisima

Limba

#4
Mar 28, 2019, 05:24 pm Last Edit: Mar 28, 2019, 05:48 pm by Limba
Thanks,

32 byte endpoint seems to work for me.

Edit:
256kbit transfer seems to take little under 1s.

Go Up