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

com3 exeception on open port

com3 exeception exception HandlePinReservati

Best Answer wendo, 13 February 2014 - 07:33 PM

COM3 is definitely usable, I've happily run devices on COM3 on my N+2. I assume you're not using pins 7 or 8 for anything else before your serial port declaration?

Go to the full post


  • Please log in to reply
4 replies to this topic

#1 mjd

mjd

    New Member

  • Members
  • Pip
  • 7 posts

Posted 13 February 2014 - 02:08 AM

Hi everyone

 

i have encountered an exception [font="'courier new', courier, monospace;"]System.IO.Ports.SerialPort::HandlePinReservations[/font] on attempting to open 'COM3' ([font="'courier new', courier, monospace;"]System.IO.Ports.SerialPort::Open()[/font])

 

i have seen a couple of references to COM3 in the forum but no reports of this problem. i'm using v4.2.2.2 firmware (SolutionReleaseInfo.solutionVersion) which includes assembly: Microsoft.SPOT.Hardware.SerialPort 4.2.0.0.

 

is COM3 usable? the other comments refer to uart allocation for it and the libraries support its enumeration 'Serial.COM3'.

 

thanks in advance for any comments

 

mike



#2 wendo

wendo

    Advanced Member

  • Members
  • PipPipPip
  • 85 posts

Posted 13 February 2014 - 03:22 AM

What hardware are you using? An N1 doesn't have a COM3 which would explain it if you're trying to do this on an N1.

 

The N2 obviously does so it should work there



#3 mjd

mjd

    New Member

  • Members
  • Pip
  • 7 posts

Posted 13 February 2014 - 03:25 AM

Hi Wendo

 

thank you for the reply.

 

im using a netduino plus 2

 

mike



#4 wendo

wendo

    Advanced Member

  • Members
  • PipPipPip
  • 85 posts

Posted 13 February 2014 - 07:33 PM   Best Answer

COM3 is definitely usable, I've happily run devices on COM3 on my N+2. I assume you're not using pins 7 or 8 for anything else before your serial port declaration?


  • mjd likes this

#5 mjd

mjd

    New Member

  • Members
  • Pip
  • 7 posts

Posted 13 February 2014 - 07:42 PM

great that's it! thank you very much. :)






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.