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.

nimble's Content

There have been 4 items by nimble (Search limited from 29-March 23)


By content type

See this member's

Sort by                Order  

#32883 OSX + Mono + Netduino USB COM port

Posted by nimble on 29 July 2012 - 10:31 PM in Mono

I am putting together a Netduino device, which I want to connect to my mac mini, and control it from the mac using Mono. So, the parts involved are 1. Netduino (of course) 2. OSX 3. USB Host <-> USB Netduino 4. serial COM port over USB I have never done this before, and I have been reading about difficulty getting this sort of thing to work in Windows, so I am wondering if this is even possible on a Mac? My main concern, is that when I switch the Netduino to do debugging over RS-232 (leaving the USB free for data), this requires a HID driver on the host operating system that will support virtual COM ports? Is this correct? My concern is that this driver might not be available on OSX - I have no idea, but I thought I would ask the question - this is probably really obvious to somebody here. To help my understanding, can someone point me to a link explaining what actually happens when configuring a Netduino to use the USB for data transfer? I am expecting something like this: 1. Netduino is toggled to start up USB HID Virtual COM port driver on firmware reboot - hopefully you have connected RS-232 pins to PC so you can still debug the device... 2. Connect Netduino USB to PC - this powers on the netduino and boots it, which starts the HID driver firmware. PC now detects the Netduino as an HID device 3. PC queries Netduino for HID capabilities, Netduino responds with 'Virtual COM port' 4. PC pops up the obligatory 'do you want to install this device' dialog box - and Windows already has a driver for this device type? The driver is happily installed. 5. PC creates a COM port number (i.e. COM8, COM9, COM10 etc) to represent this device 6. In your C# code, you can now open 'COM8' (or whatever) and it opens a channel directly to the netduino. If the netduino is running code listening on its own COM port (I assume it would probably be 'COM1' on the device) then a channel is achieved. Thanks guys and gals. Adam



#33403 Netduino does not work when powered by Mac Mini USB

Posted by nimble on 11 August 2012 - 06:00 AM in General Discussion

Reporting back... Yes hitting the reset did work - odd it didnt work at first (it was the FIRST thing I tried before posting my problem online) - but then after unplugging everything from my Mac, and trying again I had the same problem, but now the reset button resets the unit and it is then fine... What does this mean Chris? That the Mac doesn't support the initial current draw of the unit? Its a bit of a hiccup for creating the final product - however it might not be a problem this time, because I am considering implementing the final product using a Cerb40... so probably a whole different set of problems. Thanks guys



#33304 Netduino does not work when powered by Mac Mini USB

Posted by nimble on 08 August 2012 - 09:34 PM in General Discussion

I have been developing my Netduino application on a Windows desktop machine - but my deployment scenario is going to involve powering the board from a Mac Mini USB port (currently a Mac Mini 2012 model). What I have discovered, is that if I plug my netduino into a Mac Mini USB port, the on-board LED lights up, but stays on - and my program never loads. If, I plug it into my PC, or a wall-wart USB power supply, the on-board LED lights up for a few seconds, then goes out as my program loads into memory, and everything works. Why does my Netduino not run correctly when powered by Mac Mini?? Thanks



#33346 Netduino does not work when powered by Mac Mini USB

Posted by nimble on 10 August 2012 - 02:01 AM in General Discussion

Hi guys, Thanks for the responses. My netduino is constantly powering a quad-and-gate and an IR receiver. I could probably throw a transistor in there to power off all those devices until after the unit has fully booted. I will have to give all your suggestions a try tonight, and report back. - Adam




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.