USB
(1)
MF
(1)
OpenNETCF
(1)
MCU
(1)
DAC
(1)
SPI
(1)
ADC
(1)
ARM
(1)

.Net Micro Framwork Confusion

Asked By Ale
19-Feb-07 04:52 PM
Hi,

I'm C# developer and often find myself working on a lot of USB stuff from a
managed perspective. By USB from a managed perspective, I mean performing USB
IO by means of Pinvoking windows API calls.

Anyways, I'm confused about what the .net MF actually is. Can somebody
explain what it means to me, a C# developer who often does IO with hardware?
What's the point of it? Is it meant to be used by someone like me, from
windows, or is it only meant to be used by code on chips in the device?

.Net Micro Framwork Confusion

19-Feb-07 05:39 PM
A good place to start is here:
http://msdn2.microsoft.com/en-us/embedded/bb278106.aspx

But in a nutshell, the MF is an OS that allows very small embedded
applications written purely in C# to run in a very small footprint CLR.
This could run directly on the hardware or under a host OS.

From C# you can directly set and read GPIOs as well as catch interrupts.
For more complex bus architecture stuff you'll likely need something in the
OAL. So your C# application could easily include hardware drivers to do what
you want, provided that the OAL provides you the hooks to the physical
hardware you need.


--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--

.Net Micro Framwork Confusion

Asked By Ale
19-Feb-07 06:15 PM
So I just read 3 chapters from a .net mf book comming out:

http://www.dotnetmicroframework.com/

SO, .net mf is essentially a replacement for writing embedded code (whatever
that may be) on devices with ARM processors?

This sounds like pretty revolutionary stuff, am I mistaken?

In theory it's not limited to ARM (the emulator is running on x86 for example).

19-Feb-07 08:37 PM
In theory it's not limited to ARM (the emulator is running on x86 for
example).  And yes, I'd agree it's revolutionary.


--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--
The .NET Micro Framework brings .NET to very small devices.
Asked By DavidConge
20-Feb-07 03:35 PM
The .NET Micro Framework brings .NET to very small devices. It provides a CLR
and al that a CLR implies (managed code, automatic garbage collection, etc).
For someone like you who deals with a lot of I/O devices, the framework makes
your life a lot easier. The reason is that the framework supports standard
communication interfaces (USB, Serial, GPIO, SPI, etc). It uses a managed
driver model that enables you to communicate with peripheral hardware over
these interfaces. To do so, you write a managed driver in C#.

So, for instance, say you have a new type of sensor that can be connected to
a GPIO. It doesn't matter that the framework wasn't initially built to
support your sensor, and you don't have to wait for drivers from Microsoft or
the sensor manufacturer. You can write one yourself, and it's usually pretty
straightforward. Once you've written the driver, your application can
communicate easily with the device.

With standard interface support and managed drivers, you can connect most
types of peripheral device to your base hardware platform as long as the
device supports the types of connections that the framework recognizes.
--
Programmer/Writer
.NET Micro Framework
Microsoft Corporation
.Net Micro Framwork Confusion
Asked By elwol
22-Feb-07 05:40 PM
as long as the

1-  if the device has type of connection as ADC/DAC which is not supported
on framework? (I did not see any reference to ADC/DAC),  the MF can't access
such connection?

2- the .net MF is like any C/Basic embedded SW platform used with MCU's,
however, as C# and VS platform it is more advanced and more refined API to
use for MCU work.   CAMERA (CAM) input is a very useful tool in embedded
application and for remote application.
does .net MF would be capable of havinf such capability in the future or
such is limited by the MCU?

thanks
elwolv
Many ADC/DAC devices use SPI, I2C or some propietary synchronous serial
22-Feb-07 07:17 PM
Many ADC/DAC devices use SPI, I2C or some propietary synchronous serial
communication, so those would be accessible (though you'd have to write a
driver for the part).


Again, depends on how the camera data comes in.  If it's a mapped parallel
interface it would be a fair bit of work that only the OEM could do.


--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--
thank you chris.
Asked By elwol
23-Feb-07 08:37 AM
thank you chris.

1- is there is amy reference articles on how to use spi/i2c to implement
interface to ADC/DAC hardware?

2- USB is a client not a host (a posted answer) used for upload the program
to MF board.

this means USB is not implemented for general use application.
why it can not be used for general communication with peripheral devices?

For MS: does implementing a full usb capability is prohibitive on such
platform? what are the technical issues, does it require hardware
implementations?  some MCU comes with USB, however, they are MCU with
dedicated USB? or MF implementation?

a hardware/SW implementation of the full USB into MF would create a major
hardware river of peripherals for the use with MF hardware platform?

if all peripherals  comply with a generic usb human intefrace, would that
make the application for MF simpler what are the issue involved in
implementing generic USB?

--
elwolv
No, but I've written a few and it's pretty simple.
23-Feb-07 08:56 AM
No, but I've written a few and it's pretty simple.  Just pull up the data
sheet, look at the timing diagrams and write code that matches it.


Because they didn't have time and manpower to implement and test the
required OAL pieces to implement USB hosting.  It's not a small or simple
task.
.Net Micro Framwork Confusion
Asked By Ben Voigt
23-Feb-07 09:43 AM
Sounds like you are describing USB-to-go devices which can act as a client,
or host a limited subset of devices (support for hubs is optional, for
instance).
thank you gentelmen for the infoUSB desirability is that you can offload
Asked By elwol
23-Feb-07 06:55 PM
thank you gentelmen for the info

USB desirability is that you can offload different hardware function to the
peripheral.
the user can select what he wants to use to augment the board/MF selected
with extra capability to use during development or as supplement to the board
function.

one feature useful for development purpose is the ability to have FS where
data is logged to an external USB Flash/HD

it is clear to me that this API with its .net presentation framework will be
a major MCU OS for ARM controllers, ovetaken C development emvironment.

the question is: are we going to be able to use the ARM/MF package as low
cost MCU to mate with other specialty controller chips, like stepper and
servo motor control specialty chips that require communication through system
data bus?


--
elwolv
Seems yes -- you can interface with many busses such as I2C or SPI using GPIO
Asked By Ben Voigt
26-Feb-07 09:44 AM
Seems yes -- you can interface with many busses such as I2C or SPI using
GPIO which .NETMF apparently supports, and integrators should provide
additional drivers exposing builtin peripherals such as synchronous serial
ports, counter registers, pwm, etc.
Post Question To EggHeadCafe
NET Framework Freescale Development Kit, and the cost of NET MF Greetings to all. Has anyone tried the Development kit from However, third parties like Embedded Fusion sell them (with NET MF pre-loaded) at like $39 / each for 10000 (which is MCU for $39. You get the MCU + RAM + FLASH with MF already ported and you get that on a surface mounted a lot of time and money to make the Net MF port on their platform; any change in underlying hardware would mean a development-effort on their Net MF port, someone has to pay for it. However, what Alan must consider. I'm currently exploring with the Digi Net MF board and within a few days i hope to start need to have an option to re-deploy my .Net MF application, while the device is already working at the customers Now in some cases, this might even include a .Net MF update if a bnew version is out. If there is no option to flash the .Net MF embedded runtime ourselves, than how are we ever going to I think we are talking about the benefits of the MF Framework, not the benefits of using modules in product design
support. However, if there are as many OEMs porting the MF as there are doing CE, then MS has seriously failed EmbeddedFusion dot com The lack of managed user classes for USB and Ethernet is also a big deal. It seems that people like me with the high cost of porting the MF to their unique hardware, and that cost would have to paid a negotiated amount for writing the software, that extra MF porting cost would cause my bid to be very high out, this is version 1. The support cost for the MF team if they just allowed anyone to get and use 0 / 4.0 time frame. I expect to see the MF to become something that can be moved to a set get there one can only guess. - - Chris Tacke - Embedded MVP OpenNETCF Consulting Managed Code in the Embedded World www.opennetcf.com - - keywords: Micro, Framework, OEM, Developing description: I would like
NET Framework USB Slave Support Does MF support USB Slave devices? If so, what dev boards support this function. Also, are there samples on using USB samples. E.g. Read analog inputs on uC via USB to C# WPF app ( Using as a virtual COM port ). At this time, the only use of USB function for the .NET micro framework is for debug and There is no direct HOST capabilities. However, GHI has added USB host support to their EmbeddedMaster devices. Steve Maillet Program Manager .NET Micro Framework keywords: USB, Slave, Support description: Does MF support USB Slave devices If so, what dev boards support this function
located? Regards, Alex Meleta [Tech Blog: http: / / devkids.blogspot.com] MF> I am using FindControl in my page and try to cast the control found MF> to a specific control. MF MF> ((Controls_Footer)this.Master.FindControl("Footer1")).OnPrintToPdf MF> + = new Controls_Footer.PrintToPdf(Footer1_OnPrintToPdf); MF> MF> This works but after a while doesnt compile anymore in Visual MF> Studio. MF> MF> "Type Controls_Footer not found" is the error. MF> MF> I
NET Framework USB Host If you have a MF dev kit with USB Host ports, how would you use them? Could you install and interface with USB keyboards, Jump-Drives, Bluetooth, etc.? No particular kit and project topic for future reference. Currently there is only support for USB Client in .NET MF. A few post ago, someone from the .NET MF team asked the NG for input on USB host . Doesn't sound like there are any plans to Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit keywords: USB, Host description: If you have a MF dev kit with USB Host ports, how would you use
NET Framework MF Deploy & USB Configuration Hi. . . actually two problems: First, when I choose Target | Configuration | USB Configuration and choose my xml, it says "No values were overwritten with chunk of bytes! Is that expected? Jan keywords: MF, Deploy, &, USB, Configuration description: Hi. . . actually two problems: First, when I choose Target | Configuration | USB Configuration and choose my xml, it says No values were
NET Framework USB support Does anyone know whether USB 1.1 or 2.0 support exists in the MF? I read another article posted to this discussion group that states that USB is supported for deployment of applications from the host computer Studio) and for debugging purposes only. Does this mean that USB support (to enable a device to establish a duplex conversation PC) can't be done at all in the existing MF? or does it simply mean that an OEM managed USB driver is required for the hardware is question? The hardware board. If it is possible to obtain an OEM managed USB driver to provide USB support for the hardware, will it also mean that the can be used with the standard emulator to provide emulated USB support. If not; is there any other way of getting
NET Framework Serial de llave USB (Memoria USB) Éste es un mensaje de varias partes en formato MIME Encoding: quoted-printable Necesitaba sacar el serial de una memoria usb para proteger un = aplicativo que solo funcionaria si esta pinchada CanvasTabStop = 3D"true" = 20 name = 3D"Compose message area"> memoria usb para = 20 proteger un aplicativo que solo funcionaria si esta 20 idea?< / FONT> < / DIV> - -- -- - = _NextPart_000_0062_01C8EBEF.34A3CBC0- - keywords: Serial, de, llave, USB, (Memoria, USB) description: Éste es un mensaje de varias partes en formato