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

Serial port deployment


  • Please log in to reply
5 replies to this topic

#1 p47l4f0n

p47l4f0n

    New Member

  • Members
  • Pip
  • 3 posts

Posted 03 June 2012 - 10:17 PM

Hello,

after many experiments I am still not able to deploy application over serial port to the Netduino.
There in MFDeploy it is possible to choose Serial/COM3, but after click to the Ping button the reponse is: "Pinging... Error: No response from device" or "Pinging... NoConnection". I know, that the whole setup (virtual machine and usb converter) could be a complication, but why.
I attached pictures, how it is connected to the PC. Did I connect it properly?
What else should I check and investigate?
Is there something other, that has to be done before the deployment/debug over serial port can be done?

One more note: Since 4.2 firmware with this setup I describe next it is not possible to debug over USB and system crashes when cabel is disconnected, so I had to switch back to the 4.1 fw.

Device: Netduino rev. B
Firmware: NetduinoFirmware_v4.1.1.0_Beta1 and Netduino_v4.1.1_beta1_CW.NETMF.OneWire-1.0.5.0
USB to serial port converter: PremiumCord USB To RS232 Cable
Netduino switched to serial deployment following this steps: http://forums.netdui...b-and-com1com2/
COM port tested: http://www.ni.com/wh...er/3450/en#toc3 and http://www.ni.com/su...al/verhyper.htm
Netduino's COM1 connection: Netduino's pin D1(TX) to RS232's pin 3(RX), Netduino's pin D0(RX) to RS232's pin 2(TX).

Other setup:
VirtualBox: 4.1.16 r78094
Host OS: Debian Squeeze (without any driver to the USB2Serial installed - but the test in guest passed).
Guest OSes tested: Windows XP 32bit SP3 or Windows 7 Enterprise 32bit

Thanks for any help.

Attached Files



#2 DaveRVW

DaveRVW

    Advanced Member

  • Members
  • PipPipPip
  • 37 posts

Posted 04 June 2012 - 07:22 AM

Is there something other, that has to be done before the deployment/debug over serial port can be done?


See http://forums.netdui...b-and-com1com2/

#3 p47l4f0n

p47l4f0n

    New Member

  • Members
  • Pip
  • 3 posts

Posted 04 June 2012 - 07:44 AM

See http://forums.netdui...b-and-com1com2/

Hi, I switched the netduino's deployment earlier following that steps.

After I wrote the first post, there in MFDeploy something happend. When the button was pressed, some binary data had been printed into MFDeploy's console. After maybe 30 seconds, when the LED turned off after the reboot is done, another binary data had been printed. Retesting this in hyperterminal is similar, but there is printed just one or two characters at the begin of reset and sometimes at the end of reset and sometimes nothing is printed. So it looks, like the netduino's COM and USB2Serial are sometimes working, but deploying an application with VS2010 is still not possible.

Attached Files



#4 DaveRVW

DaveRVW

    Advanced Member

  • Members
  • PipPipPip
  • 37 posts

Posted 04 June 2012 - 03:24 PM

I just took a better look at your attached photos, and oops... The 232 lines should not usually be connected directly to the Netduino as they may have more voltage than can be accepted. The 232 spec allows for signals in the range 3V-15V whereas the Netduino is expecting 3.3V, but tolerant of 5V signals. Maybe the Netduino isn't damaged because often these adapters use voltages in the lower ranges. You should use a TTL level (TTL level signals are at microprocessor voltages like 3.3V or 5V) USB adapter like one of these to connect directly to the Netduino (either 5V or 3.3V are okay): http://www.sparkfun.com/products/9718 http://www.sparkfun.com/products/9873 (there are lots more out there, these are just some samples)

#5 DaveRVW

DaveRVW

    Advanced Member

  • Members
  • PipPipPip
  • 37 posts

Posted 05 June 2012 - 08:46 PM

Please keep the netduino community informed of your progress. I hope you haven't suffered any great setback and are not discouraged. It's good to see folks connecting wires and trying things, sometimes outside their comfort zones. I have greatly enjoyed working with these boards for some time now, learning much as I go along. Good luck with your project! :)

#6 DaveRVW

DaveRVW

    Advanced Member

  • Members
  • PipPipPip
  • 37 posts

Posted 08 June 2012 - 07:52 PM

If you must use 232 DB-9 connection, here's one shield that can be used. It does the TTL to 232 conversion. Others have mentioned this one before. http://www.cutedigi....or-arduino.html




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.