Arduino Forum

Products => MKR Boards => MKRVIDOR4000 => Topic started by: ErikAndArduino on Jul 26, 2018, 11:46 am

Title: Programming the MKR Vidor 4000
Post by: ErikAndArduino on Jul 26, 2018, 11:46 am
Hi there,

is the somewhere the Visual Editor für programming the MKR Vidor 4000?

Regards,

Erik
Title: Re: Programming the MKR Vidor 4000
Post by: dariopennisi on Jul 27, 2018, 02:19 pm
Hi Erik,
as we clearly stated everywhere the visual editor is due to be published in late september/early october.

in the meantime you can use the libraries we are providing with precompiled assemblies of peripherals and if you need anything more please feel free to suggest your preferred blend.
thanks,

Dario
Title: Re: Programming the MKR Vidor 4000
Post by: sexiewasd on Jul 28, 2018, 12:10 am
I don't know enough about fpga's to properly suggest what I'll need, as I bought my vidor board to start playing with them, but I can tell you the projects I am most interested in exploring with the board.

I most want to use the vidor for oscilloscope purposes, specifically for automotive use, but in general I think a lot of people would like to develop data acquisition projects of some sort, either in a scope format or just fast adc and data analysis.

The second really kind of goes along with that.  I would like to use the vidor board as a digital crossover similar to minidsp's projects for multichannel audio, both digital and analog.  That's a bit specific, but I think audio processing in a more broad sense will be a popular use case. I can see a lot of interest as an instrument effects processor, amp/mic modeling, synthesizer, or mixer.

Both uses would need fast adc and dac front end circuitry with overvoltage protection.  I think that a lot of interest in the board will pick up after the visual editor is stable, but also after shields are released that support those uses.
Title: Re: Programming the MKR Vidor 4000
Post by: dariopennisi on Jul 28, 2018, 12:01 pm
hi sexiewasd,
for please join the discussion here: https://forum.arduino.cc/index.php?topic=560019.0
as you will see we have ideas on how to handle audio even without adding external hardware...

regarding oscilloscope, i'll start a new thread as we were thinking to develop something a bit more complex than that with support for hardware triggers, protocol decoding etc, possibly compatible with sigrok (https://sigrok.org/). you may want to post your ideas about that here: https://forum.arduino.cc/index.php?topic=560471.0

Cheers, Dario

Title: Re: Programming the MKR Vidor 4000
Post by: dragonet80 on Oct 03, 2018, 01:38 am
The Maker Vidor 4000 will be nice when can be sintetized in or has something similar to icestudio from fpgawars.
icestudio (https://github.com/FPGAwars/icestudio)
Thats the way to follow. A fully visual environment and fully open source.
Title: Re: Programming the MKR Vidor 4000
Post by: foxrobotics on Oct 03, 2018, 06:10 pm
dragonet80 - Unfortunately, a fully open source development environment for the FPGA isn't possible due to the choice of FPGA manufacturer (Intel/Altera). They are currently fighting tooth and nail to get Intel to agree to release various other bits of code as open source; I doubt they'll get the synthesis toolchain to play with in quite that fashion. The only way to program the FPGA is to use Quartus (which  does allow you to do schematic-style programming, albeit discouraged) or to use a precompiled *.hex file that is side loaded onto the processor.

The good news, though, is that you always have the ability to use icestudio with another board such as a TinyFPGA. It just isn't the case for this one.
Title: Re: Programming the MKR Vidor 4000
Post by: Ste_Trat on Oct 25, 2018, 02:13 pm
Hi Erik,
as we clearly stated everywhere the visual editor is due to be published in late september/early october.

in the meantime you can use the libraries we are providing with precompiled assemblies of peripherals and if you need anything more please feel free to suggest your preferred blend.
thanks,

Dario
Any news/updates ?
Title: Re: Programming the MKR Vidor 4000
Post by: mark-vriesenga on Nov 01, 2018, 05:52 pm
Any status on the development environment?  This will make FPGA programming much more achievable by the maker community.
Title: Re: Programming the MKR Vidor 4000
Post by: dariopennisi on Nov 02, 2018, 07:29 am
Hi guys,
Sorry for the late in answering. The toolchain to produce and modify the libraries we published already is in its final testing stage and is going to be with you in matter of days. This is basically the back end of the web ui we promised which unfortunately is being delayed as we're exploring ways to make it really simple to use and this is a bigger challenge than initially thought.
Bottom line is that if you want the web tool you'll have to wait a bit more whereas if you want to get your hands a bit dirty time is (almost) come.
Title: Re: Programming the MKR Vidor 4000
Post by: Ste_Trat on Nov 26, 2018, 05:10 pm
Expected release date ?
Title: Re: Programming the MKR Vidor 4000
Post by: dariopennisi on Nov 26, 2018, 07:19 pm
Toolchain is released... See first sticky post in the forum. For web editor we are experiencing some delays but right now the plan is releasing it around March. Maybe we'll be opening beta earlier but can't promise much right now given the delay we already have
Title: Re: Programming the MKR Vidor 4000
Post by: Ste_Trat on Mar 29, 2019, 12:53 pm
For web editor we are experiencing some delays but right now the plan is releasing it around March.
Any news ?
Title: Re: Programming the MKR Vidor 4000
Post by: Ste_Trat on May 17, 2019, 06:08 pm
So, i would like to know if theres still a plan to release a visual programmer for the mkr vidor, since i trying to get an answer for 8 months now.
Title: Re: Programming the MKR Vidor 4000
Post by: Ze_Ma_Ne on May 21, 2019, 04:37 pm
Hello
Please forgive me if this is not the place to ask for help.
I am a new ( very new ) user of arduino mkr vidor 4000 and has already "draw" an example of a FIR filter and check it with modelsim. Looks like it is running OK.
BUT I would like to check it more "fisicaly" . I mean I woul like to use 1 (2) switch for input and see the input and result by serial monitor.
I am using just a clck ... a input bus x (8bit) ... a ouput bus y (11bit).
My idea was to use 1 or 2 switch to force bit 0 and bit 1 of input bus x    .... show on serial monitor the input bus x and also the result output bus y.
I do not know how to do it on the IDE arduino.
-First how to pass bus x and bus y from fpga to "IDE" in order I can play with then how to use it in serial print.
Can you please provide an example to me ?
Best regards
JMCN
Title: Re: Programming the MKR Vidor 4000
Post by: mattpearce on May 22, 2019, 12:37 pm
Hi - is there an update on this? Or maybe it would be better to modify icestudio?
Title: Re: Programming the MKR Vidor 4000
Post by: Limba on May 23, 2019, 10:01 am
Hello
Please forgive me if this is not the place to ask for help.
I am a new ( very new ) user of arduino mkr vidor 4000 and has already "draw" an example of a FIR filter and check it with modelsim. Looks like it is running OK.
BUT I would like to check it more "fisicaly" . I mean I woul like to use 1 (2) switch for input and see the input and result by serial monitor.
I am using just a clck ... a input bus x (8bit) ... a ouput bus y (11bit).
My idea was to use 1 or 2 switch to force bit 0 and bit 1 of input bus x    .... show on serial monitor the input bus x and also the result output bus y.
I do not know how to do it on the IDE arduino.
-First how to pass bus x and bus y from fpga to "IDE" in order I can play with then how to use it in serial print.
Can you please provide an example to me ?
Best regards
JMCN

I think this should be separated discussion.
I would recommend is serial input. With this you can send test file from PC and also receive result to separated file. This can be done easily with python.
With serial input you reduce risk for invalid input data for filter.

Edit:
Did you use project template from github for FPGA project?
You can do that 2 switch input but remember debounce times etc and it's slow.

If you didn't use github as template:
create simple QSYS with NIOS II (you can use also nios ii f in this, you use usbblaster sketch for this)
put clk/rst input, nios, ram, jtag-serial, 32bit gpio for filter input and output (or 2 separated gpio if you like separated rigisters for them) and connect them.

If I remeber right jtag-serial should route all printf text to eclipse console (scanf should also work from console).
Also gpio should have library for using it. if not it should be pretty simple to use. set bit direction and state or read these. in qsys there should be link to userguide pdf