Go Down

Topic: USB Blaster library not working (Read 275 times) previous topic - next topic

Tempest15

Hello,
i downloaded the usb blaster library and uploaded the included example sketch to my vidor.
The onboard led started to blink so it seems to work, but when i open quartus in can not select it as a programming device. Am i doing anything wrong?

Limba

Do you find "Atera USB-Blaster" under usb or unknown devices?

When opening Quartus programmer. Opening Hardware setup. Is there any device listed in available hardware items.
But here you need to select hardware what you want to use from dropdown list.

 

Tempest15

Thats the problem:

In the device manager of windows it is listed as Arduino MKR Vidor 4000.
But in does not show up in the quartus programmer dropdown.

Limba

#3
May 12, 2019, 04:29 pm Last Edit: May 12, 2019, 04:39 pm by Limba
Device manager should say under USB devices "Altera USB-Blaster" and there sould be no "...Vidor 4000" under Ports

Do you have 1.0.0 USBBlaster library version?

Edit:
Little stupid question. Have you updated Vidor bootloader?


Tempest15

yes i have version 1.0.0 and my bootloader is up to date.

Limba

#5
May 13, 2019, 12:33 am Last Edit: May 13, 2019, 12:37 am by Limba
My usbblaster sketch give these

Device description
Altera USB-Blaster

Hardware Ids
USB\VID_09FB&PID_6001&REV_0400


Code: [Select]

#include "Blaster.h"

static bool activityLed = true;

extern void enableFpgaClock();

void setup() {
  USBBlaster.setOutEpSize(32);
  USBBlaster.begin(activityLed);
  // also start the 48MHz clock feed for the FPGA, in case we need to run the bitstream and need this clock
  enableFpgaClock();
}

void loop() {
  USBBlaster.loop();
}

Tempest15

you just loaded the code to the vidor and it worked with quartus right away?

Did you do anything special in quartus to let it show up?

Limba

#7
May 13, 2019, 10:17 pm Last Edit: May 13, 2019, 10:24 pm by Limba
yes. One thing was I was also using DE0-Nano before getting Vidor.

But after loading code to vidor it detects as "Altera USB-Blaster" under unknown devices or usb devices.

In my case I have to double tap reset to go bootloader mode if I wan't to load another sketch after using USB-Blaster.

Edit:
Added screenshot from device in device manager that should appear after loading USB-Blaster sketch

tksm372

#8
May 14, 2019, 10:15 am Last Edit: May 14, 2019, 10:17 am by tksm372
The same kind of problem has reported before.

I hope this article may help you:
https://forum.arduino.cc/index.php?topic=589328.msg4055582#msg4055582
Minatsu Tukisima

Limba

Ok.
Then in my case I had already right drivers loaded becuase I have used DE0-Nano. It uses same VID/PID.

Tempest15


Go Up