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

Using MF Deploy


  • Please log in to reply
3 replies to this topic

#1 Robert L.

Robert L.

    Advanced Member

  • Members
  • PipPipPip
  • 100 posts

Posted 01 January 2012 - 04:54 PM

I have a 3 questions I have not seen answered anywhere else, answers would be very much appreciated: I think that the data/programming inside the N+ board consists of the following 5 things: TinyBooterDecompressor.bin ER_CONFIG ER_FLASH Network configuration (MAC address, etc) managed code that I wrote in C# So question 1, is the above correct? --------------------------------------------- I see that by using MFDeploy I can package my application into a .hex file, which can then be deployed to additional boards. So I am wondering if this tool could be used to update products that have already been shipped to customers. In particular, what does the hex file created from my application include: ER_CONFIG ?? ER_FLASH ?? Network configuration (MAC address, etc) ?? (included or perhaps erased?) managed code that I wrote in C# (I assume this one is included) Ideally it would include all of the above except for the network configuration, which would be left alone. ------------------ Last question: what is the chance that the "GOLD" version of 4.2 will use the same TinyBooterDecompressor.bin that is currently being distributed with 4.2 RC3 ?

#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 01 January 2012 - 07:11 PM

Hi Robert, Your Netduino contains the following: 1. TinyBooterDecompressor.bin (the NETMF bootloader) 2. ER_CONFIG (your MAC address settings, USB device name, etc.) 3. ER_FLASH (the .NET Micro Framework CLR) 4. Your managed code (C#/VB) application In MFDeploy, there is an option to create a HEX file (application deployment) from your managed code. You can then flash items #2-#4 using MFDeploy or a custom application built on top of the MFDeployEngine library. TinyBooterDecompressor.bin may change a bit for the gold version of NETMF 4.2 firmware. At minimum, we'll update its version # to reflect RTM. Chris

#3 ryan_sorensen

ryan_sorensen

    New Member

  • Members
  • Pip
  • 4 posts

Posted 17 January 2012 - 07:45 PM

In MFDeploy, there is an option to create a HEX file (application deployment) from your managed code. You can then flash items #2-#4 using MFDeploy or a custom application built on top of the MFDeployEngine library.


Hi Chris,

I'm getting ready to deploy a large number of Netduino Pluses, but I am having trouble finding this option in MfDeploy. Can you please elaborate on the steps required to create a HEX file from managed code?

Thanks,
Ryan

#4 Llaves

Llaves

    New Member

  • Members
  • Pip
  • 9 posts

Posted 31 January 2012 - 04:51 AM

Hi Chris,

I'm getting ready to deploy a large number of Netduino Pluses, but I am having trouble finding this option in MfDeploy. Can you please elaborate on the steps required to create a HEX file from managed code?

Thanks,
Ryan


This is what I just discovered by trial and error.
Compile your program in Visual Studio and deploy to the N+. Now launch MFDeploy. Make sure your N+ is connected and the settings in MFDeploy are correct (in my case, Device is USB and NetduinoPlus_NetduinoPlus). Now the unobvious part (at least for me). Click Target->Create Application Deployment. Under "Deployment File" fill in the path and name for the .hex file you want created from the application that is currently on the N+. Create a key or not depending on your needs. Click OK and off you go- the .hex file will be created. Personally I would have expected to create an App Deployment from the output of the compiler, not from what's on the board, but it seems to have worked for me.




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.