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

Using COM1 and COM2 at the same time


  • Please log in to reply
2 replies to this topic

#1 boiacchi

boiacchi

    Member

  • Members
  • PipPip
  • 29 posts
  • LocationLondon

Posted 30 November 2012 - 09:50 AM

Hi, I need to communicate with the netduno mini using the serial communication (FTDI cable --> COM1 on the nedtuino). Now because I'm using the netduino COM1 for deploying and debugging is it possible to use the COM2 for serial communication with my computer? I have tried to connect two FTDI cables from my PC and to the COM1 & COM2 on the netduino. I can deploy and debug but it seems I cannot access the COM2. How can I use them at the same time ? ( COM1 : deploy and debug, COM2 communication with my PC) Thanks

#2 NooM

NooM

    Advanced Member

  • Members
  • PipPipPip
  • 490 posts
  • LocationAustria

Posted 30 November 2012 - 05:08 PM

yes its possible, but keep in mind one port is rs232 and one is uart, so it wount work with the same ftdi cables, you need different

//edit:
iam using an max232 to step up my ftdi chip for the com2 port for deployment, so i have the uart (com1) free for device to device/pc communication

//edit the code for that would be something like this:
sample 1
sample 2

#3 boiacchi

boiacchi

    Member

  • Members
  • PipPip
  • 29 posts
  • LocationLondon

Posted 01 December 2012 - 06:28 PM

yes its possible, but keep in mind one port is rs232 and one is uart, so it wount work with the same ftdi cables, you need different

//edit:
iam using an max232 to step up my ftdi chip for the com2 port for deployment, so i have the uart (com1) free for device to device/pc communication

//edit the code for that would be something like this:
sample 1
sample 2


thanks for the tip.

So I'll deploy via RS232 to keep the COM1 free.

I'll give it a got and I'll let you know

Thanks a lot




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.