How to deploy without the need of Visual Studio - Netduino Plus 2 (and Netduino Plus 1) - 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

How to deploy without the need of Visual Studio

Deploying to N+2 without VS

  • Please log in to reply
4 replies to this topic

#1 Giuliano

Giuliano

    Advanced Member

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

Posted 23 May 2013 - 04:27 PM

Good day everyone,

 

I was wondering if there is a tool out there already that can deploy an executable and/or DLLs to the N+2, N+ and NGo without the need of Visual Studio. If not, maybe someone can tell me what needs to be done to create my own tool to accomplish this task.

 

Thank you in advance



#2 ziggurat29

ziggurat29

    Advanced Member

  • Members
  • PipPipPip
  • 244 posts

Posted 23 May 2013 - 09:33 PM

MFDeploy is supposed to be able to.  I personally have yet to get it to really work, though.  Rather than re-typing, deets here:

 

http://forums.netdui...oading-my-code/

 

On the other hand, all the mfdeploy stuff you can write your own app around, so maybe you get get it to work programatically.  I've been meaning to try, but I am swamped.

 

Lastly, you can make a DFU for your app and do it like a firmware update.  I do do this.  Moreover, I combine the firmware image with my app image into one DFU, and that serves as the master copy.  Side benefit being that I am deploying with a known version of the firmware with which we have tested.  You'd think newer versions would have less bugs but not always!



#3 Giuliano

Giuliano

    Advanced Member

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

Posted 23 May 2013 - 10:12 PM

Hi ziggurat29,

 

Thank you for your feedback.

 

I would definitely go for building my own app to do it in one click, I just need to understand what are all the steps that I need to do to get this done.



#4 ziggurat29

ziggurat29

    Advanced Member

  • Members
  • PipPipPip
  • 244 posts

Posted 23 May 2013 - 11:58 PM

Well I may have to join you in that effort; I need to do the same thing as my project goes beyond the lovingly-hand-deployed-by-the-author pilot phase.

 

I did a little work on an STDFU-based deployment, this work was really for flashing the netduino firmware, but as I mentioned that approach can also deploy the app.  Details here, as well as functioning source:

 

http://forums.netdui...ributors/page-3

 

this is an incomplete project from UI and usability, but the important bits of flashing firmware work correctly.

I also did a mostly unrelated thing -- it had to do with assigning the MAC address to a board as a manufacturing step -- but I mention it because it is a desktop app that uses the same assemblies the MFDeploy does.  It might give you some ideas on the firmware deployment.  Then again, quite possibly not, but you can decide if its of any use:

 

http://forums.netdui...el-and-barcode/

 

Personally, as I mentioned, I find it handy to deploy both the (netduino) firmware version with which QA tested my application, along with my applicationitself, but I can appreciate the MFDeploy approach.  Plus, there's always the network settings which are easier to do via MFDeploy.  Oh, and plus you don't have to hold down the button.  Which may not be so accessible when its in a box.

 

Lastly, another of my long pending mini-projects is to replace tiny booter with a mechanism to permit over-the-air updates.  I did a little work testing dynamically loading netmf assemblies.  The technique works, but it is a bust for me as a methodology because all the code is then in RAM.  If curious, it's described here:

 

http://forums.netdui...pdate-possible/

 

However, I am pretty sure I can make a tinybooter replacement to do it.  Tinybooter is meaningful on other netmf things, but it doesn't do much on netduino.  I built a firmware image with no tinybooter and it ran just fine.  The only thing I know of that the tinyclr does do is allow setting of stuff in the config sector.  And it can, it just doesn't.  So there's 48k of code space available for something fun, like checking SD for an update image, flashing it, and rebooting.

 

Anyway, this is one of my ponderously long posts, and I apologize for that, but as Blaise Pascal once wrote 'I apologize that this is long, but I lacked the time to make it short'.  Ha!



#5 Giuliano

Giuliano

    Advanced Member

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

Posted 24 May 2013 - 04:35 AM

No apologies needed, this is great info and I really appreciate that you don't mind sharing it.

 

I will start playing with your code and see what else I can do to get this to work, it's gotta be possible.

 

Thanks again.






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.