element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Arduino MKR Vidor4000 problems!!!!
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 16 replies
  • Subscribers 395 subscribers
  • Views 3206 views
  • Users 0 members are here
  • arduino mkr vidor 4000
  • fpga
  • arduino boards
Related

Arduino MKR Vidor4000 problems!!!!

rgiguere
rgiguere over 6 years ago

Ok yall, so I recently got my Arduino MKR Vidor4000. I figured that this would be a good board to start learning FPGA with. Apparently I was incorect in that assumption.

I can not even get a sketch to upload properly( Not even trying to use the FPGA chip yet). The instuctions on Arduino.cc home page say once you get the board setup

and installed to run the basic blink sketch for Arduino boards. When I attempt to do this it appears to compile and upload just fine but right after the sketch is finished uploading

it says "CPU RESET" and the sketch stops running and this happens in under 1 second every time. what is this "CPU REST" and why does it continue to happen? Also

I have noticed that the RED LED on the left side of the board flashes, and not do to the blink sketch it is not the "correct speed" it should blink every half second but its slower, more like

every 1.5 seconds and it has done this since I first plugged it in before even uploading anything.

 

Below is exactly what Arduino IDE is telling me after the upload of a sketch is done.

 

Sketch uses 10824 bytes (4%) of program storage space. Maximum is 262144 bytes.

Atmel SMART device 0x10010005 found

Device       : ATSAMD21G18A

Chip ID      : 10010005

Version      : v2.0 [Arduino:XYZ] Jun 20 2018 16:38:19

Address      : 8192

Pages        : -129

Page Size    : 64 bytes

Total Size   : 4194295KB

Planes       : 1

Lock Regions : 16

Locked       : none

Security     : false

Boot Flash   : true

BOD          : false

BOR          : false

Arduino      : FAST_CHIP_ERASE

Arduino      : FAST_MULTI_PAGE_WRITE

Arduino      : CAN_CHECKSUM_MEMORY_BUFFER

Erase flash

done in 0.838 seconds

 

 

Write 10968 bytes to flash (172 pages)

 

 

[===========                   ] 37% (64/172 pages)

[======================        ] 74% (128/172 pages)

[==============================] 100% (172/172 pages)

done in 0.075 seconds

CPU reset.

 

Please anyone and everyone help! I can't even start to try to use or understand this board because of this and I have no idea where to start. Nooe of my other boards(NANO, ESP8266, UNO R3, ATMEGA) have this problem.

                                  

                                                                                                                                                    Thanks Guys/Gals---------------Robert

  • Sign in to reply
  • Cancel

Top Replies

  • uc6969
    uc6969 over 5 years ago in reply to jomoenginer +2
    Hello, I see that it is an old post but I'm running in the same trouble, my MKR4000 boards (3 different boards) are all running much slower than my MKR1010 with the same code !?! Why ...? No idea yet …
  • vimarsh_
    vimarsh_ over 5 years ago in reply to jomoenginer +2
    I had got the board almost like 1.5 years ago as soon as it was released. I have not yet updated my WiFiNINA firmware on the ublox esp32 chip and it seems that ble and wifi both work quite very well. I…
  • weiwei2
    weiwei2 over 6 years ago +1
    try plugging in a lipo battery to its battery port. it might be that your usb port is providing insufficient power to power up the board
  • weiwei2
    weiwei2 over 6 years ago

    try plugging in a lipo battery to its battery port. it might be that your usb port is providing insufficient power to power up the board

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • 14rhb
    14rhb over 6 years ago

    Hi Robert,

     

    All that seemed to make sense and I couldn't see anything in your printout to argue that.

     

    I plugged my Vidor 4000 into my USB and ran up the IDE (installed version) and got identical print out to yourself (albeit with a very slightly different flash time) and the LED did indeed blink. You could try weiwei2 point and try a LiPo or plug the USB into a quality USB charger to see if that is the problem.

     

    Please let us know how you get on.

     

    Rod

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • jomoenginer
    jomoenginer over 6 years ago

    Although this post is over a month old, if you are running with the Desktop version of the Arduino IDE, I would suggest using the latest Hourly Build of the Arduino IDE instead of the current released one.

     

    You can get the hourly build part way down the page on the following link:

    https://www.arduino.cc/en/Main/Software

     

    There may be a firmware update for the board as well so you might want to look at that.

     

    Under File->Preferences on the Arduino IDE you can enable "Show verbose output during: upload and compilation.  This should give you more details and may point to an issue.

     

    After the CPU reset, the next phase should have been a Read back but from what is posted that does not seem to happen.  I wonder if the board is going offline after the Write so it can't do a read back.  Have you tried resetting the board from the reset button to see if the Sketch runs after manual reset?  You could try to reset the board by pressing the Reset button and then applying power to it.

     

    The Blink Sketch should blink the LED_BUILTIN, so if that is not set in your Sketch, then use that instead of any other defined pin.

    https://www.arduino.cc/en/Guide/MKRVidor4000

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • uc6969
    uc6969 over 5 years ago in reply to jomoenginer

    Hello,

    I see that it is an old post but I'm running in the same trouble, my MKR4000 boards (3 different boards) are all running much slower than my MKR1010 with the same code !?!  Why ...?

    No idea yet - I'm comparing the startup.c files and the other places where clocks are configured but I still cannot find the root cause...

    ... if somebody solved this issue ?

    Thanks, Jean

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • clem57
    clem57 over 5 years ago in reply to uc6969

    Could you attach a zip file of the code in question? Just a footnote, looking at https://hackaday.com/2018/07/30/hands-on-with-new-arduino-fpga-board-mkr-vidor-4000/  it would seem the hardware may be interesting. The support in software though lacks any polish or a good following.4452.contentimage_53.png

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • jomoenginer
    jomoenginer over 5 years ago in reply to uc6969

    Have you updated the firmware on the board via the Arduino IDE yet?  I would suggest using the latest or the hourly build of the Arduino IDe to ensure you have the latest code for the board.

     

    Example(see Update MKR WiFi 1010 Firmware. Should be the same for the MKR Vidor 4000):

    https://www.element14.com/community/community/arduino/arduino-projects/blog/2018/11/24/mkr-wifi-1010-enable-ble-support

     

    Update the bootloader (See BootLoader):

    https://www.element14.com/community/community/project14/programmable-logic/blog/2019/06/23/nightscout-mkr-vidor-4000-mobile-robot-intro

     

    Also, have you posted this on the Arduino forums.  I would suspect that would be your best best for Arduino support.

    https://forum.arduino.cc/index.php?PHPSESSID=5b92peas320gpb4ulggfje1tk0&board=125.0

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • uc6969
    uc6969 over 5 years ago in reply to jomoenginer

    I found that the speed trouble comes from 'print.client(data);' => sending 'big' chunk of data (~ 1.3 kB)  to the WiFiNINA module takes much much longer on the MKR4000 than on the MKR1010

    If I check the firmware version it says that I use 1.1.0 and I should upgrade to 1.2.0 but where is version 1.2.0 ?!

    Not in stable 1.8.10, not in the beta and not in the latest hourly build !?! Only 1.1.0 available...

    J.

    6320.contentimage_189407.png

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • jomoenginer
    jomoenginer over 5 years ago in reply to uc6969

    This issue was filed against WiFiNINNA mid last year by me and someone else but it looks like it was closed with no resolution.

    Perhaps you would have better luck with the Arduino folks, but it does seem like they are not really interested in providing much support for this board.

    https://github.com/arduino-libraries/WiFiNINA/issues/68

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • clem57
    clem57 over 5 years ago in reply to uc6969

    According to Arduino, look at https://www.arduino.cc/en/Reference/WiFiNINA .

     

    Utilities

    You find these two utilities under Examples - > WiFiNINA -> Tools.

    • CheckWiFiNINAFirmwareVersion : Reads the required firmware number required from library and matches with the one installed on the board or the shield.
    • WiFiNINAFirmwareUpdater : The sketch that must be loaded to allow the firmware and certificates update process through the integrated plugin of Arduino Software (IDE) rel. 1.8.5 or later.

    Can you find WiDiNINAFirmawareUpdater? Note IDE must be 1.8.5 or later.

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • clem57
    clem57 over 5 years ago in reply to clem57

    Oh maybe the later versions is not working. Save off your working one and install a back level version. I have heard upgrades may drop function or introduce new problems...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube