Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

netduino3 now works with VS2017


  • Please log in to reply
13 replies to this topic

#1 Gus Issa

Gus Issa

    Member

  • Members
  • PipPip
  • 14 posts

Posted 07 July 2017 - 03:33 PM

This is a crosspost from our our announcement https://www.ghielect.../topic?id=24580. We hope you will find this useful.

 

A TinyCLR OS outbreak is heading your way!

Starting today, TinyCLR OS is going to start infecting a lot of hardware you already own and other hardware around the world. Today's Tech Talk is all about that and we cover some questions below as well.
 

https://www.youtube....h?v=pQKLpAZFSDo


What is TinyCLR OS?
It is a modern operating system that runs .NET programs on your embedded devices. Take a look at the docs to see what's changed and what's coming!

How do I use TinyCLR OS?
Get the latest Visual Studio 2017, install the TinyCLR OS extension (it's less than 1MB!) and now you can load and debug programs on your hardware with just a USB cable. Get going today!

Which hardware does TinyCLR OS support?
TinyCLR OS is easily portable. We have put all the complex interpreter work into a single library that we manage. Then this library uses some peripheral drivers to run on specific hardware. We are starting with example ports for G30, G80, FEZ, BrainPad, FEZ Cerberus, STM32F411-DISCO, STM32F407G-DISCO, netduino 3, and Quail. Yes, you heard that right, netduino 3 and Quail boards now work with Visual Studio 2017 and TinyCLR! And this is just a starting point. We are already working on many other boards.

How do I help?
Everything you need is on the TinyCLR GitHub. You can start helping out today. The current supported devices still need work.

What tools do I need to port TinyCLR OS?
Nothing but free tools: Visual Studio 2017 Community and GCC. Just follow the porting instructions. These are the same tools we use internally so you will get the exact same results.

Where is the TinyCLR OS support for G120 and G400?
They'll be back in the next release.

Is there RLP/Native code in TinyCLR?
Yes! Even better: you can add your own native interops! You can extend TinyCLR anyway you like, just like we do.
See the docs to get started.

Who has used TinyCLR OS?
We have been working close with many commercial users and community members. In fact, we hope to see videos showing community members with TinyCLR OS running on their hardware.

Do I see a new documentation system?
Yes! We are excited about moving all our documentation to GitHub and DocFX. It is in progress still, so please be patient and feel free to contribute.

What is FEZ?
It is the official reference board for TinyCLR OS. More on this later!



#2 beastyboy

beastyboy

    Advanced Member

  • Members
  • PipPipPip
  • 194 posts
  • LocationNetherlands

Posted 07 July 2017 - 09:15 PM

Thanks Gus amazing job you guys did.


Van SchOten Ict Diensten en Services
http://www.voids.nl


#3 tridy

tridy

    Advanced Member

  • Members
  • PipPipPip
  • 68 posts
  • LocationStockholm, Sweden

Posted 08 July 2017 - 11:38 AM

Great news! Good job!

 

Here is my first try to get Netduino 3 WiFi to work:

 

I tried the steps on http://docs.ghielect...bootloader.html it and:

1. downloaded and installed the tools 

2. generated the file

3. started Netduino in "STM Device in DFU Mode"

4. uploaded the file (I had to run the tool "As Administrator" to get the "Upload" button enabled). (screenshots)

 

It went through OK. However when I plug in the Netduino to USB, it boots, however the blue light stays on all the time (I do not think it should). And there seems to me a problem with the driver.

 

blue_led_netduino.jpg

 

 

 

Netduino_Driver.png

 

 

- System
    - Provider
      [ Name] Microsoft-Windows-Kernel-PnP       [ Guid] {9C205A39-1250-487D-ABD7-E831C6290539}
      EventID 441       Version 0       Level 2       Task 0       Opcode 0       Keywords 0x4000000000000000     - TimeCreated
      [ SystemTime] 2017-07-08T11:07:35.796899400Z
      EventRecordID 874       Correlation     - Execution
      [ ProcessID] 4       [ ThreadID] 364
      Channel Microsoft-Windows-Kernel-PnP/Configuration       Computer ASUSG75     - Security
      [ UserID] S-1-5-18
- EventData
    DeviceInstanceId USB\VID_1B9F&PID_0110\5&87d8f66&0&3     LastDeviceInstanceId USB\VID_0666&PID_8888\00000000001A     ClassGuid {36FC9E60-C465-11CF-8056-444553540000}     LocationPath PCIROOT(0)#PCI(1400)#USBROOT(0)#USB(3)     MigrationRank 0xf000ffffffff0033     Present false     Status 0xc0000719

 

 

Where do I start with troubleshooting at this point?

 

Thanks!



#4 Gus Issa

Gus Issa

    Member

  • Members
  • PipPip
  • 14 posts

Posted 08 July 2017 - 11:51 AM

You did everything correctly but for whatever reason your PC did not load the drivers as it should have! TinyCLR OS should work without drivers but windows is being goofy on some machines. We are currently investigating this as we have seen this form other users as well.



#5 tridy

tridy

    Advanced Member

  • Members
  • PipPipPip
  • 68 posts
  • LocationStockholm, Sweden

Posted 08 July 2017 - 02:00 PM

I am wondering why the blue light does not go off even if I supply the power from the adapter (not USB).

If I remember right (I might be wrong), with the old firmware, it used to go off after the boot is completed.



#6 Gus Issa

Gus Issa

    Member

  • Members
  • PipPip
  • 14 posts

Posted 08 July 2017 - 03:42 PM

We can change the LED behavior to whatever we like. How it worked before in NETMF is not related ot how it is today with TinyCLR OS.

 

By the way, someone made this video with a blinking LED on netduino3 https://youtu.be/6UCjEHaMSB0



#7 tridy

tridy

    Advanced Member

  • Members
  • PipPipPip
  • 68 posts
  • LocationStockholm, Sweden

Posted 08 July 2017 - 07:36 PM

We can change the LED behavior to whatever we like. How it worked before in NETMF is not related ot how it is today with TinyCLR OS.

 

By the way, someone made this video with a blinking LED on netduino3 https://youtu.be/6UCjEHaMSB0

 

yes, the blinking led was sort of "hello world" application :)

 

 

I tried to connect it to 2 more computers running Windows 10 x64 (that haven't "seen" Netduino before) with the same result where it could not install drivers.

 

Is there a way to verify something via "DFU Tester" application?



#8 Gus Issa

Gus Issa

    Member

  • Members
  • PipPip
  • 14 posts

Posted 08 July 2017 - 08:36 PM

Here is a driver for you to try https://www.ghielect...R_Interface.zip

#9 tridy

tridy

    Advanced Member

  • Members
  • PipPipPip
  • 68 posts
  • LocationStockholm, Sweden

Posted 08 July 2017 - 09:21 PM

working_driver.png

 

Yes! Now both the driver works and VS 2017 can deploy to it.

 

And I was able to create the blinking led demo from http://docs.ghielect...rials/gpio.html

 

Thanks! 

 

P.S. Since Netduino has the white power led that shows when the device is on, what do yo think about the idea of having blue led on while booting and turning it off after the boot is finished?



#10 Gus Issa

Gus Issa

    Member

  • Members
  • PipPip
  • 14 posts

Posted 08 July 2017 - 10:54 PM

Yes we can surely do that.

#11 skyjam

skyjam

    New Member

  • Members
  • Pip
  • 9 posts

Posted 10 July 2017 - 07:23 AM

Great news!

 

Any chance to support NetDuino Plus 2?



#12 Gus Issa

Gus Issa

    Member

  • Members
  • PipPip
  • 14 posts

Posted 11 July 2017 - 10:02 AM

Of course this can be done. We even mentioned netduino 1 in the video. You should watch it :)

#13 Antonio Florencio

Antonio Florencio

    New Member

  • Members
  • Pip
  • 5 posts

Posted 18 July 2017 - 08:09 PM

Hi Gus, I have following doubt: if use TinyCLR OS in a Netduino 3 Ethernet, the ethernet interface will be disabled?



#14 Gus Issa

Gus Issa

    Member

  • Members
  • PipPip
  • 14 posts

Posted 19 July 2017 - 11:19 AM

Correct, this is just an inital port with only basics available for now. However, you can definitely add Ethernet if you are up for a challenge.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.