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

Native code


  • Please log in to reply
3 replies to this topic

#1 juancbr

juancbr

    New Member

  • Members
  • Pip
  • 5 posts

Posted 11 April 2012 - 03:11 PM

Hi everyone I would like to know how I can change the settings SerialPort to use 9-bit frames .... Can i use asm code? thanks,

#2 awaiK

awaiK

    Advanced Member

  • Members
  • PipPipPip
  • 90 posts

Posted 12 April 2012 - 06:38 AM

Hi, is the System.IO.Ports.SerialPort.DataBits property not suited for you? Is native code really needed?

#3 juancbr

juancbr

    New Member

  • Members
  • Pip
  • 5 posts

Posted 12 April 2012 - 08:05 AM

Hi,

is the System.IO.Ports.SerialPort.DataBits property not suited for you?
Is native code really needed?


hello awaiK,

thanks for replying, when I change the property SerialPort.DataBits to 9, I have a runtime error, it only works with 6.7 and 8 bits.

I really do not know how to solve this problem! I think the native code is a solution, but if there is another way, it would be better.

#4 juancbr

juancbr

    New Member

  • Members
  • Pip
  • 5 posts

Posted 13 April 2012 - 06:59 AM

help .. trying to solve my problem, I update my netduino to Firmware_Netduino_4.2.0.0_RC4 DeviceInfo: HAL build info: 4.2.0.0, Netduino (v4.2.0.0 RC4) by Secret Labs LLC OEM Product codes (vendor, model, SKU): 34, 177, 4096 Serial Numbers (module, system): 00000000000000000000000000000000 0000000000000000 Solution Build Info: 4.2.0.0, Netduino (v4.2.0.0 RC4) by Secret Labs LLC AppDomains: default, id = 1 Assemblies: mscorlib, 4.2.0.0 Microsoft.SPOT.Native, 4.2.0.0 Microsoft.SPOT.Hardware, 4.2.0.0 Microsoft.SPOT.Hardware.SerialPort, 4.2.0.0 Microsoft.SPOT.IO, 4.2.0.0 System.IO, 4.2.0.0 Microsoft.SPOT.Hardware.PWM, 4.2.0.0 Microsoft.SPOT.Hardware.Usb, 4.2.0.0 SecretLabs.NETMF.Hardware, 4.2.0.0 SecretLabs.NETMF.Diagnostics, 4.2.0.0 SecretLabs.NETMF.IO, 4.2.0.0 and install. Net Framework 4.2 like http://forums.netdui...-netduino-plus/ but now I can not run any project please help me ..... :( :( Attached File  1.PNG   67.22KB   22 downloads Attached File  2.PNG   86.14KB   20 downloads




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.