USB Blaster Library error

Hello,

I am trying to upload the USB BLASTER example from here to my MKR VIDOR 4000.

These are the following steps I did:

  1. downloaded the library from the repository.
  2. extracted and moved the file to Arduino's Main libraries Folder.
  3. started the Arduino IDE. Set the board type and port. Clicked on File -> Examples -> USBBlaster -> USBBlaster. and the following example shows up.
#include "Blaster.h"

static bool activityLed = true;

extern void enableFpgaClock();

void setup() {
  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();
}
  1. Then I click on the compile button and I am getting an error as such

Arduino: 1.8.19 (Mac OS X), Board: "Arduino MKR Vidor 4000"

In file included from /Users/reevefernandes/Documents/Arduino/libraries/USBBlaster/src/Blaster.h:1:0,
from /Users/reevefernandes/Downloads/USBBlaster-master/examples/USB_Blaster/USB_Blaster.ino:1:
/Users/reevefernandes/Documents/Arduino/libraries/USBBlaster/src/USBConfig.h:51:10: fatal error: USB/PluggableUSB.h: No such file or directory
#include "USB/PluggableUSB.h"
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Error compiling for board Arduino MKR Vidor 4000.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

I am guessing I am missing a file. But I downloaded everything as it was. Can Someone please help me debug this situation.

Thank you for your assisstance!

See here: USBBlaster-1.0.0 not working for MKR Vidor 4000

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.