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

Building the firmware


  • Please log in to reply
5 replies to this topic

#1 bkmckenzie

bkmckenzie

    New Member

  • Members
  • Pip
  • 5 posts

Posted 29 January 2012 - 02:55 AM

I finally had some time to get serious about playing with my netduino plus, and was SOOOOOOOOOOO bummed to find out that you have to have a non-free and astronomically expensive compiler to build the firmware in any reasonable fashion. I was wondering why anyone was still buying arduinos, cuz this thing is so much more powerful. Now I know why. I can make my arduino look like any USB device I want. What a major bummer. The development tools are so much better, as is the live debugging. But what a limitation, I am seriously seriously bummed. Please someone tell me there is a way to do this without a $3000 compiler or leaving out half the firmware in the build. Bill M.

#2 Spork

Spork

    Advanced Member

  • Members
  • PipPipPip
  • 105 posts

Posted 29 January 2012 - 04:49 AM

You could write your own ultra-super-efficient compiler in your copious free time. :) But seriously: I share your pain. Chris (or whoever): This might be a stupid question, but will there ever be a SAM7X1024 that would let us get around this problem? If not, and SAM7X512 is the end of the line, what's next for Netduino?

#3 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 29 January 2012 - 12:13 PM

Hi bkmckenzie, There is work happening behind the scenes right now, trying to get the latest versions of GCC working...which will hopefully free up some space. You could also maybe get rid of TinyBooterDecompressor entirely, to save a bit of space. This would mean that you'd need to erase your Netduino and use SAM-BA if you needed to erase/upgrade your firmware...but it would save another 40KB of flash space (useful for the larger GCC code). On the USB note...you can actually make your Netduino look like many USB devices as well. It's a bit advanced, and it generally requires using serial for debug and powering via an AC power adapter, but many users do it (including us...our test jigs use Netduino in that mode). Chris

#4 Spork

Spork

    Advanced Member

  • Members
  • PipPipPip
  • 105 posts

Posted 30 January 2012 - 12:58 AM

Thanks for responding to the OP, Chris. Unfortunately, I guess my question was, indeed, too stupid to merit a response.

#5 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 30 January 2012 - 01:02 AM

Hi Spork,

Thanks for responding to the OP, Chris. Unfortunately, I guess my question was, indeed, too stupid to merit a response.

We are working on a few things. Stay tuned.

We are listening. Please continue sharing your feedback, as it will help guide and improve hardware offerings.

#6 bkmckenzie

bkmckenzie

    New Member

  • Members
  • Pip
  • 5 posts

Posted 31 January 2012 - 03:48 PM

Oh yeah, I had read about the using serial for debug, I may go this route. I was rather hoping to either try my hand at changing the firmware myself, or waiting on a version that supports mf & hid together or something (read -- too lazy to go buy a cable for serial debug :) )

Btw Chris, I notice you respond to virtually every post on this newsgroup. That is a lot of time and effort!! I for one really appreciate that!

I wish I knew something about compilers and especially ARM back end code generation. Seems like a 50% reduction (if some of the other posts I read are accurate on sizes) in code size would be pretty low hanging fruit :)

Anyway, thanks for the response, I hope they get gcc up to speed soon. In the mean time, I guess living without TinyBooterDecompressor isn't such a big deal. I will have to try that first.

Bill M.

Hi bkmckenzie,

There is work happening behind the scenes right now, trying to get the latest versions of GCC working...which will hopefully free up some space.

You could also maybe get rid of TinyBooterDecompressor entirely, to save a bit of space. This would mean that you'd need to erase your Netduino and use SAM-BA if you needed to erase/upgrade your firmware...but it would save another 40KB of flash space (useful for the larger GCC code).

On the USB note...you can actually make your Netduino look like many USB devices as well. It's a bit advanced, and it generally requires using serial for debug and powering via an AC power adapter, but many users do it (including us...our test jigs use Netduino in that mode).

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.