(Setup the Vidor4000 and hardware required) For use with Replay Cores.
1) (Software required for Flashing card)
a) You need this to flash the firmware. This requires the Arduino framework.
You need to download and install the Arduino IDE so you can update the Vidor 4000 computer.
Note: For windows people it will default now to the windows store.
b) Next under the Arduino IDE “Tools” menu, select under this the option “Boards:xxxxx” and select the “Boards Manager”
Next in the “type” searchbox at the top, type in “Vidor” and when the boards appear in the list, select the option Arduino SAMD Boards (32bits arm cortex-m0+).
On the bottom right of this board, you will see a select box. Select v1.8.6 or above and click the Install button.
Along the way, you will get popup boxes saying to install “Arduino USB Driver” and “Adafruit industries LLC Ports” make sure you install both of these.
Also a java se popup install will appear, also make sure you install this.
Also download the Vidor 4000 firmware…https://github.com/erique/replay_mkrvidor4000
Format an sdcard also eg: 16gig card and fat32 or exfat and or put the image or and its files on the sdcard.
Card orientation will be..ie 5v to 5v etc and with sd card end toward mini pci connector.
2) (Programming the core)
The Arduino MKR SD Proto Shield allows you to easily connect an SD card to your MKR video 4000 form factor board for core programming.
The Vidor4 board has been designed pin for pin compatible just for this purpose.
3) (Pwr the Vidor 4000 board)
You can power it via USB yes, but you either need a USB splitter or power it via the header,
if you want to use a USB keyboard/mouse usb otg with power pass through.
A powered 4 port hub would also be beneficial here.
1x Otg usb splitter…..Micro USB2.0 Splitter Cable OTG
1x micro usb cable…..USB 2.0 A-Male to Micro B Cable
4) (Flashing the core)
a) Install the Arduino IDE on your computer as in step 1, connect the micro USB and micro HDMI.
b) Download the Vidor4000 firmware from step 1. Download the complete folder as a .zip. ie: Click on the “Clone or Download” option on the right the green button, and select “Download .zip” option. Next copy this entirely into a folder on your harddisk.
c) Next use the “install .zip library” menu option in the Arduino IDE ie: Under the menu item “Sketch” next select “Include Library” and select under that, “Add.zip library“. next navigate to your folder your saved previously in step b and select this folder and select open.
d) Next from the “Tools” menu under the Arduino IDE, select the “Boards:xxxxx” and then select this time select “Arduino MKR Video 4000”
e) Select from the “Tools” menu and then select Port: “Com4 Arduino MKR Vidor 4000”.
Under that (Com4 Arduino MKR Vidor 4000) should be selected or ticked.
Note: Your comport maybe Com 1 thu to 4 depending on your setup. Select whichever is relevant to you and then again the Vidor board under that.
6) Next load the example “Replay_Boot” from the Arduino IDE menu ie: Under the menu item “File” and then select “Examples” under that, select “Replay MKR Video 4000” under custom libraries then select finally “Replay_Boot“.
7) (Upload your program to the Vidor board)
Press the second round icon from left on the top bar of the Arduino Software (IDE) or press Ctrl+U or select the menu Sketch and then Upload.
Please note that the time required to load the sketch and the FPGA bitstream might be more than 30 seconds.
8) (Booting the Vidor)
If you Pwr on initially without (sdcard inserted) and it should give you some image that looks similar to the regular replay OSD menu.
Note: You may need the sdcard inserted to get this anyways.