Netduino Firmware v4.2.0 RC5 (Netduino + Netduino Plus) - Page 4 - Beta Firmware and Drivers - Netduino Forums
   
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

#61 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 06 June 2012 - 06:12 AM

Hi giuliano, Did you flash the TinyBooterDecompressor first using SAM-BA? RC5 requires an updated bootloader so that you get the 56KB of code space...and flashing the rest of the firmware may fail like this if the bootloader doesn't match. Chris
  • Giuliano likes this

#62 CW2

CW2

    Advanced Member

  • Members
  • PipPipPip
  • 1592 posts
  • LocationCzech Republic

Posted 06 June 2012 - 06:34 AM

That MFDeploy error also means the firmware is too big - I can see in the screenshot the size of ER_FLASH starts with 0x00063A.., which is larger than the available space reported in the other screenshot (0x0005E000). You have to flash the correct bootloader first, as suggested by Chris.
  • Giuliano likes this

#63 Giuliano

Giuliano

    Advanced Member

  • Members
  • PipPipPip
  • 361 posts
  • LocationSimi Valley, CA

Posted 06 June 2012 - 04:34 PM

Thanks Chris and CW2, I am pretty sure that's the step I am missing after doing more reading about it. Stefan posted this link: http://wiki.netduino...ep-by-step.ashx Where explains the steps to do so, my bad, this is the first time I am doing a Firmware update becuase I am pretty sure my Netduino Plus came with the bootloader preloaded for 4.1. Still learning here. Thank you both.

#64 Giuliano

Giuliano

    Advanced Member

  • Members
  • PipPipPip
  • 361 posts
  • LocationSimi Valley, CA

Posted 07 June 2012 - 02:18 AM

Thanks Chris and CW2, I am pretty sure that's the step I am missing after doing more reading about it.

Stefan posted this link:

http://wiki.netduino...ep-by-step.ashx

Where explains the steps to do so, my bad, this is the first time I am doing a Firmware update becuase I am pretty sure my Netduino Plus came with the bootloader preloaded for 4.1. Still learning here.

Thank you both.


Indeed that was the step I was missing. Yeah!!!

#65 Giuliano

Giuliano

    Advanced Member

  • Members
  • PipPipPip
  • 361 posts
  • LocationSimi Valley, CA

Posted 07 June 2012 - 07:09 AM

Now I am getting this error if I try to either debug or just deploy a few changes I made to my app:

Posted Image

Please advise

PD: I am curious about something. I remember seen 2 checkboxes in the screen below, framework and deployment but the framework checkbox is gone. Do I need to reflash the board again?

Posted Image

#66 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 07 June 2012 - 07:24 AM

Hi giuliano, I'm guessing that your app is a bit too big. With NETMF 4.2 RC5, you have 56KB of code space on your Netduino Plus but the app is 62,828 bytes. Chris
  • Giuliano likes this

#67 Giuliano

Giuliano

    Advanced Member

  • Members
  • PipPipPip
  • 361 posts
  • LocationSimi Valley, CA

Posted 07 June 2012 - 01:34 PM

Hi giuliano,

I'm guessing that your app is a bit too big. With NETMF 4.2 RC5, you have 56KB of code space on your Netduino Plus but the app is 62,828 bytes.

Chris


Duh. Sorry I am still thinking PC here, where limitations are not much a problem nowadays. I was freaking out, I thought I fried the board somehow :D

Very ambiguous error message, don't you think? Let me guess, it is just a generic error message from MS. I am used to see those from time to time in the .NET framework :D

#68 Giuliano

Giuliano

    Advanced Member

  • Members
  • PipPipPip
  • 361 posts
  • LocationSimi Valley, CA

Posted 07 June 2012 - 05:38 PM

Hi giuliano,

I'm guessing that your app is a bit too big. With NETMF 4.2 RC5, you have 56KB of code space on your Netduino Plus but the app is 62,828 bytes.

Chris


A few more questions related to this. The Netduino Plus specs reads as follows:

Code Storage: 64 KB - Without networking: 128 KB
version 4.2.0.0 RC5 -> Increased code space from 48KB to 56KB for Netduino Plus

Am I missing something? Or that code storage space was based on the 4.1 Framework?
How do I disable the Networking functionality so I get the 128 KB of code storage?

Thank you in advance for the feedback.

#69 JerseyTechGuy

JerseyTechGuy

    Advanced Member

  • Members
  • PipPipPip
  • 870 posts

Posted 07 June 2012 - 06:08 PM

A few more questions related to this. The Netduino Plus specs reads as follows:

Code Storage: 64 KB - Without networking: 128 KB
version 4.2.0.0 RC5 -> Increased code space from 48KB to 56KB for Netduino Plus

Am I missing something? Or that code storage space was based on the 4.1 Framework?
How do I disable the Networking functionality so I get the 128 KB of code storage?

Thank you in advance for the feedback.



Version 4.1 of the Netduino firmware supports 48kb, where as version 4.2 RC5 can support 56k.

In order to get "without networking" you need to re-flash your Netduino Plus as a Netduino using the Netduino firmware instead of the plus firmware.
  • Giuliano likes this

#70 Cabadam

Cabadam

    Advanced Member

  • Members
  • PipPipPip
  • 90 posts

Posted 07 June 2012 - 06:10 PM

Version 4.1 of the Netduino firmware supports 48kb, where as version 4.2 RC5 can support 56k.

In order to get "without networking" you need to re-flash your Netduino Plus as a Netduino using the Netduino firmware instead of the plus firmware.


Should note that I also think this means you lose the use of the onboard micro SD card slot.
  • Giuliano likes this

#71 Giuliano

Giuliano

    Advanced Member

  • Members
  • PipPipPip
  • 361 posts
  • LocationSimi Valley, CA

Posted 07 June 2012 - 06:37 PM

Thank you both for explaining that.

#72 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 07 June 2012 - 08:29 PM

Should note that I also think this means you lose the use of the onboard micro SD card slot.

You do lose the automatic mounting, true. But you can get that back by using the StorageDevice.MountSD(...) method with the regular Netduino firmware (specifying the appropriate pins).

Chris
  • Giuliano likes this

#73 Giuliano

Giuliano

    Advanced Member

  • Members
  • PipPipPip
  • 361 posts
  • LocationSimi Valley, CA

Posted 07 June 2012 - 08:51 PM

You do lose the automatic mounting, true. But you can get that back by using the StorageDevice.MountSD(...) method with the regular Netduino firmware (specifying the appropriate pins).

Chris


Wow, interesting. I gotta play with that.

#74 Niels R.

Niels R.

    Member

  • Members
  • PipPip
  • 28 posts

Posted 08 June 2012 - 07:08 AM

Hi Chris, Sorry to be an *ss, but can you give us some clarification about OneWire/1-wire support in the 4.2 firmware? I believe OneWire support is native in NETMF 4.2, so it should be in the Netduino 4.2 FW too, no? Kind regards, Niels R.

#75 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 08 June 2012 - 07:27 AM

Hi Niels,

Sorry to be an *ss, but can you give us some clarification about OneWire/1-wire support in the 4.2 firmware? I believe OneWire support is native in NETMF 4.2, so it should be in the Netduino 4.2 FW too, no?


NETMF 4.2 grew a bit, and the integrated OneWire class hasn't been tested...so the current plan is to create a special version of the production 4.2 firmware with CW2's OneWire support integrated into it. There's nothing available quite yet.

Chris

#76 Niels R.

Niels R.

    Member

  • Members
  • PipPip
  • 28 posts

Posted 08 June 2012 - 07:45 AM

Hi Niels,

NETMF 4.2 grew a bit, and the integrated OneWire class hasn't been tested...so the current plan is to create a special version of the production 4.2 firmware with CW2's OneWire support integrated into it. There's nothing available quite yet.

Chris

Thanks a lot for the quick reply.

I'll just leave my Netduinos aside for OneWire projects until this is in the final FW.

Cheers,
Niels R.

#77 jcoffman98

jcoffman98

    Member

  • Members
  • PipPip
  • 10 posts

Posted 18 June 2012 - 02:12 AM

Do we have access to the source for RC5 yet? Thanks, Jeff

#78 nakchak

nakchak

    Advanced Member

  • Members
  • PipPipPip
  • 404 posts
  • LocationBristol, UK

Posted 18 June 2012 - 08:20 AM

Do we have access to the source for RC5 yet?

Thanks,

Jeff


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.

#79 nicolastintorre

nicolastintorre

    New Member

  • Members
  • Pip
  • 5 posts

Posted 21 June 2012 - 04:09 PM

Please Chris let us know when "Ethernet never works if not connected on bott up with SAM7X" issue is fixed. I'm really concerned about this. Nico

#80 Cabadam

Cabadam

    Advanced Member

  • Members
  • PipPipPip
  • 90 posts

Posted 24 June 2012 - 04:11 AM

Chris,
I just wanted to follow up on this to see if you have had any success in recreating this, or if there is anything else I can try to reproduce.

Thanks!


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

Thanks,
Adam




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.