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.

Kevin Hazzard

Member Since 13 Feb 2011
Offline Last Active Private
-----

Posts I've Made

In Topic: Switch Debugging Port Back to RS232

31 December 2011 - 09:11 PM

That did it, Claus! Thank you. But as you said, COM1/COM2 are backwards in the application. I selected COM1 to switch the deployment transport to the RS-232 UART, which is COM2.

Kevin

Had the exact same problem last night.. but found the answer here
http://forums.netdui...p?showtopic=945

This version of MFDeploy lets you switch ports (although is seems like COM1/2 is switched around - but I might have been tired).


In Topic: Netduino Firmware v4.2.0 RC3 (all editions)

18 December 2011 - 11:57 PM

Perhaps I've missed it because I've been out of the NETMF loop for a while but has the 4.2 firmware RTMed?

Thanks, Chris.

Kevin

Version: 4.2.0 RELEASE CANDIDATE (version 4.2.0.0 RC3)

This firmware requires use of the .NET Micro Framework v4.2 RTM SDK. Users must completely erase and reflash their Netduinos to use this firmware.

WARNING: This firmware is pre-release firmware. It may temporarily cause your Netduino to cease functioning properly. If this firmware does not work for you, you will likely need to erase your Netduino completely and re-flash the production v4.1.0.6 bootloader using Atmel SAM-BA tools and the production v4.1.0.6 firmware using MFDeploy.

NOTE: This beta firmware must be used with the production version of the Microsoft .NET Micro Framework SDK.

If you're an early adopter and would like to help us test and refine these new features, this beta release may be for you.

If you experience any blue screens or crashes with this release, please try out the new .NET MF beta drivers.

NETDUINO MINI NOTE: select the appropriate firmware zip file (RS232 or TTL) based on the deployment port you are currently using (RS232 = pins 1 and 2; 3.3V TTL UART = pins 11 and 12).

This firmware includes the following updates:
1. For Netduino Plus, 38KB+ RAM (10KB+ more than before)
2. Visual Basic support (including Visual Basic Express 2010)
3. StringBuilder support
4. Regular Expressions
5. IP broadcast support
6. Extension method support
7. Dozens of bugfixes

The following features are planned for the v4.2 release:
1. More feature-rich, core ADC and PWM classes
2. Etc.

This firmware also includes the following previous updates:
1. Early support for some 4GB+ MicroSD cards (courtesy of community member KodeDaemon)
2. Early UsbClient support (requires deploy/debug via serial)
3. Pushbutton (SW1) now returns true when pushed, false when not pushed
4. DHCP support now works on more/all routers
5. Network cable may now be plugged in at any time
6. I2C internal address ("repeated start bit") support
7. Bugfixes: SerialPort.DataReceived event should now fire properly
8. Bugfixes: SerialPort.Read() timeout now implemented properly
9. Bugfix: SD card support no longer interferes with digital pin 2
10. Variable-bit SPI (9 to 15 bit) capabilities
11. Enhanced Parallels, VMWare, and VirtualBox compatibility
12. RS232 and TTL UART deployment now selectable via software tool
13. Enhanced deployment reliability (software reset enhancements)
14. SPI bugfixes

Before deploying the attached firmware, you should erase your board completely and flash the v4.2 RC3 bootloader (included in the attached ZIP file).

You may update to this pre-release firmware using the MFDeploy tool:
1. Download and unzip the attached file to a directory on your computer.
2. Go to the Start Menu > Programs > Microsoft .NET Micro Framework 4.2 > Tools
3. Run MFDeploy.exe. Be careful to run MFDeploy.exe and not MFDeploy.exe.config (as file extensions are hidden by default)
4a. For Netduino and Netduino Plus: Plug your Netduino into your PC using a Micro USB cable. If your Netduino does not connect successfully, try plugging the USB cable into your Netduino first...and then your PC.
4b. For Netduino Mini: Plug your Netduino Mini into your PC using an RS232 or TTL UART cable.
5a. For Netduino and Netduino Plus: In the Device section at top, select USB instead of Serial. Your Netduino should appear in the drop-down; if not, select it.
5b. For Netduino Mini: In the Device section at top, select Serial. Select the serial port assigned to your RS232 or TTL UART cable.
6. Click "Browse..." and select the unzipped files from step #1 (ER_CONFIG and ER_FLASH).
7. Press "Deploy". It will take a few minutes to update your Netduino.
8. For Netduino Plus: Select the Target > Configuration > Networking menu. You will need to re-enter your IP address settings and MAC address. We will try to eliminate this step in the future.

Chris


In Topic: Simple Netduino Webserver

20 February 2011 - 07:37 PM

Well, it's not really a webserver, but it listens to webrequests and do things based on the requested urls.
Thanks to OZ for hinting Socket.Listen() in his video.

...snip...


A well-designed browser won't invoke /led/0 or /led/1 more than once in a short period of time because it fetches the previous responses from its client-side cache. Adding a Cache-Control directive to the HTTP response header like this fixes the problem:

responseStr = "HTTP/1.1 200 OK\nContent-Type: text/html\nCache-Control: no-cache\n\n";

Kevin

In Topic: Data Direction Registers

15 February 2011 - 03:57 AM

Yes. That's exactly right.

A word of warning: the LoL products are really cool...but a number of them draw large amounts of current from the digital pins to drive the LEDs. The 32-bit ARM microcontroller on the Netudino is lower-power and only drives 3.3V at 8mA-16mA, not 5V at 20mA. So you may need to add some voltage/current along the way to support the shield...

Chris


Actually, I was wondering if switching the LEDs out to a lower voltage and amperage variety would allow it to work as is. Do those LEDs exist?

In Topic: Data Direction Registers

15 February 2011 - 03:52 AM

Yes. That's exactly right.

A word of warning: the LoL products are really cool...but a number of them draw large amounts of current from the digital pins to drive the LEDs. The 32-bit ARM microcontroller on the Netudino is lower-power and only drives 3.3V at 8mA-16mA, not 5V at 20mA. So you may need to add some voltage/current along the way to support the shield...

Chris


I suppose I could design an intermediary shield that adds current but when ports change from output to input, I'd have to be careful to attenuate the voltage intelligently. I'm supposing that to do that, I'd have to build a general purpose attenuator or one that was specifically designed for the Charlieplexed LED arrangement on the LoLShield. Both seem pretty complex. Probably more than I want to get into right now. :(

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.