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

Netduino Firmware v4.2.0 RC5 (Netduino + Netduino Plus)


  • Please log in to reply
138 replies to this topic

#81 nicolastintorre

nicolastintorre

    New Member

  • Members
  • Pip
  • 5 posts

Posted 25 June 2012 - 01:15 PM

Chris,
Have you been able to recreate the ethernet problem I described earlier?

Thanks,
Adam


If the UTP cable is unplugged and I try Socket.Connect(..) throws an exception (that's ok) but If the UTP is plugged then the socket.Connect(...) hangs. Should I try DHCP? I've already set IP and MAC manually.
Thanks

#82 mcinnes01

mcinnes01

    Advanced Member

  • Members
  • PipPipPip
  • 325 posts
  • LocationManchester UK

Posted 26 June 2012 - 07:17 PM

Source access would be very handy for me as well, as i need some SPI specific tweaks to the firmware for my current project to run with adequate performance, and i cant evaluate 4.2 fully without making the necessary changes, and i would really really like the GC improvements and increased codespace for the extra headroom it gives in my project.

Would it be possible to release source as well as the compiled firmware and bootloaders with each Beta, (obviously with a suitable disclaimer of here be dragons, etc.) as it would allow the community to help test and speed integration of highly requested features such as the OneWire extensions etc.

Nak.


Plus 1 on that I am dying to get 1-wire in 4.2!
  • NDFan likes this

#83 nicolastintorre

nicolastintorre

    New Member

  • Members
  • Pip
  • 5 posts

Posted 27 June 2012 - 01:33 AM

If the UTP cable is unplugged and I try Socket.Connect(..) throws an exception (that's ok) but If the UTP is plugged then the socket.Connect(...) hangs. Should I try DHCP? I've already set IP and MAC manually.
Thanks


I've tested it deeply and I've realized that it only happens when I'm debugging with Visual Studio. I added a break point on socket.Connect(...) line and after pressing F10 the program hangs. However, it is important to me to solve this debugging issue.

As far as I´ve tested, the problem of ethernet cable connection has been fixed on 4.2.

#84 Cabadam

Cabadam

    Advanced Member

  • Members
  • PipPipPip
  • 90 posts

Posted 30 June 2012 - 02:29 AM

I've tested it deeply and I've realized that it only happens when I'm debugging with Visual Studio. I added a break point on socket.Connect(...) line and after pressing F10 the program hangs. However, it is important to me to solve this debugging issue.

As far as I´ve tested, the problem of ethernet cable connection has been fixed on 4.2.


At least on my device, I'm definitely seeing the problem outside the debugger.

#85 Brandon Shibley

Brandon Shibley

    New Member

  • Members
  • Pip
  • 3 posts

Posted 01 July 2012 - 02:40 PM

I just started working with the Netduino Plus. Everything seems to be going fine. I updated it to the 4.2 RC5 firmware. I have a program to access a 4GB micro sd. I changed the .NET Micro Framework to 4.2 in the properties of the project. Two problems... 1. Where would I find SecretLabs.NETMF.IO (the latest Netduino SDK I can find is 4.1 and it doesn't have it)? 2. The deployment fails with messages like: "Assembly: SecretLabs.NETMF.Hardware.NetduinoPlus (4.1.0.0) needs assembly 'Microsoft.SPOT.Hardware' (4.1.2821.0)" -- (I'm assuming because .NET MF = 4.2, but Netduino SDK is 4.1) Apparently something very fundamental has wooshed over my head. It would seem to me that I need a newer Netduino SDK which does not yet exist. Please help. BTW, as a new community member, I appreciate seeing Secret Lab's high level of community involvement.

#86 Brandon Shibley

Brandon Shibley

    New Member

  • Members
  • Pip
  • 3 posts

Posted 01 July 2012 - 03:50 PM

Forget my last post. I found a Netduino 4.2 SDK listed with the Netduino Go. This appears to have solved my problem. Upon execution, I get: "A first chance exception of type 'System.NotSupportedException' occurred in Microsoft.SPOT.IO.dll" It appears this is an indication that the microSD card is not supported. Its a 4GB SanDisk. If I get time, I will attempt with the 4.1.1 Beta w/ SDHC support.

#87 Brandon Shibley

Brandon Shibley

    New Member

  • Members
  • Pip
  • 3 posts

Posted 01 July 2012 - 04:52 PM

SDHC update...

4GB SanDisk Micro SD:

FAILS with Firmware v4.2.0 RC5 - "A first chance exception of type 'System.NotSupportedException' occurred in Microsoft.SPOT.IO.dll"

WORKS with Firmware v4.1.1 Beta 1 - although it eventually ran into an out of memory exception when traversing the file system (FWIW, it has a lot of files on it)

#88 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 01 July 2012 - 06:44 PM

Hi Brandon,

1. Where would I find SecretLabs.NETMF.IO (the latest Netduino SDK I can find is 4.1 and it doesn't have it)?

The DLL is included in the Netduino 4.2 SDK, but you shouldn't need it on Netduino Plus. With Netduino Plus, the MicroSD card is automatically mounted as "\SD" when detected.

The SD drivers were radically updated in .NET MF 4.2, and the enhanced SD support seems to have lots compatibility with some SDHC cards. We'll try to re-patch it to bring back support for larger cards with an upcoming beta release.

Chris

#89 Arbiter

Arbiter

    Advanced Member

  • Members
  • PipPipPip
  • 132 posts
  • LocationBrisbane, Australia

Posted 04 July 2012 - 11:31 PM

Thanks Chris. It's getting hard to find 2G uSD cards.
One day, all this too shall parse.

#90 elettrozero

elettrozero

    Advanced Member

  • Members
  • PipPipPip
  • 58 posts

Posted 14 July 2012 - 01:00 PM

Excuseme if my question sounds redundant but, I have to be shure: 8Gb uSD are not supported in this FW version, is that correct? Thanks Update: with a 2Gb uSD it worked bu SD is mounted in \SD

#91 nakchak

nakchak

    Advanced Member

  • Members
  • PipPipPip
  • 404 posts
  • LocationBristol, UK

Posted 16 July 2012 - 10:21 AM

Some larger cards work, some don't... Not very helpful i know but there seems to be no authoritative list of uSD compatibility with netmf. The SD card always mounts to \SD\ unless you want to seriously hack about with firmware relating to SD cards. Nak.

#92 Stefan

Stefan

    Moderator

  • Members
  • PipPipPip
  • 1965 posts
  • LocationBreda, the Netherlands

Posted 16 July 2012 - 11:34 AM

SDHC is not supported with the 4.2 beta firmware. Only in Firmware v4.1.1 beta 1 SDHC (in SPI mode) is supported.
"Fact that I'm a moderator doesn't make me an expert in things." Stefan, the eternal newb!
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs

#93 elettrozero

elettrozero

    Advanced Member

  • Members
  • PipPipPip
  • 58 posts

Posted 16 July 2012 - 06:58 PM

Since Broadcast is working almost perfectly with RC5 are there any reason why I got a SocketException when I try to Join a Multicast Group ? (udpSocket.SetSocketOption(SocketOptionLevel.IP, SocketOptionName.AddMembership, multicastOpt); )

#94 Novice Alex

Novice Alex

    Advanced Member

  • Members
  • PipPipPip
  • 59 posts

Posted 18 July 2012 - 01:46 PM

Hi Chris, Just like to know if it is possible to release more code space if I would to drop the network portion, since for my project, I don't really need it. But I am using Netduino+ because of the SD card reader onboard. If so, how can I go about on loading the firmware, which once should I use? Please advise. Thanks in advance.

#95 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 18 July 2012 - 06:58 PM

Hi Novice Alex,

Just like to know if it is possible to release more code space if I would to drop the network portion, since for my project, I don't really need it. But I am using Netduino+ because of the SD card reader onboard.

If so, how can I go about on loading the firmware, which once should I use?

You can safely use the regular Netduino firmware on your Netduino Plus.

To do this you will want to: erase your board by applying 3V3 power to the gold erase pad underneath D0; flash TinyBooter using Atmel SAM-BA; flash the NETMF runtime using MFDeploy.

Full instructions are available on the Wiki.

Once you flash the regular Netduino firmware on your Netduino Plus, you can use the SecretLabs StorageDevice class to ".MountSD" and re-enable SD card access.

Chris

#96 Novice Alex

Novice Alex

    Advanced Member

  • Members
  • PipPipPip
  • 59 posts

Posted 18 July 2012 - 07:43 PM

Hi Novice Alex,


You can safely use the regular Netduino firmware on your Netduino Plus.

To do this you will want to: erase your board by applying 3V3 power to the gold erase pad underneath D0; flash TinyBooter using Atmel SAM-BA; flash the NETMF runtime using MFDeploy.

Full instructions are available on the Wiki.

Once you flash the regular Netduino firmware on your Netduino Plus, you can use the SecretLabs StorageDevice class to ".MountSD" and re-enable SD card access.

Chris


Hi Chris,

Thanks for your quick response.
I will try and revert if there is any problem.

So after this flashing, I suppose I have 128KB code storage size together with 60KB RAM, right?

#97 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 18 July 2012 - 08:32 PM

So after this flashing, I suppose I have 128KB code storage size together with 60KB RAM, right?

Yup, exactly!

Chris

#98 Arbiter

Arbiter

    Advanced Member

  • Members
  • PipPipPip
  • 132 posts
  • LocationBrisbane, Australia

Posted 19 July 2012 - 09:35 AM

Regarding SDHC on 4.2, is there a timeline or even a vague hope on that? It's not that I need more space, it's just that it's harder and harder to get hold of 2G cards.
One day, all this too shall parse.

#99 <Jeremy>

<Jeremy>

    Advanced Member

  • Members
  • PipPipPip
  • 31 posts
  • LocationNorthern Ireland

Posted 21 July 2012 - 09:56 AM

Is there anywhere I can download the source for this firmware? I've seen a couple of other people post this question but I haven't seen an answer. Or is the firmware source not going to be released until it goes gold? Thanks Jeremy

#100 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 21 July 2012 - 11:29 AM

Hi Jeremy, We generally post the source once firmware gets to release stage. We're working on a repository where we could upload each beta as well...but right now we're just waiting for the next beta (which is waiting on .NET MF 4.2 QFE2). I spoke with someone on the NETMF team this week, and it sounds like NETMF 4.2 QFE2 is in final testing now. Chris




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.