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

Generate .Hex/Bin files for Production Flashing

production flashing hex bin flash upload ndp2 netduino plus 2

  • Please log in to reply
3 replies to this topic

#1 Darrell L.

Darrell L.

    Member

  • Members
  • PipPip
  • 14 posts

Posted 01 May 2014 - 02:47 AM

Once I have my firmware for my ND2 finalized, how do I create .hex/.bin files so that I can

flash my production device using a JTAG programmer?

 

I'm well versed with JTAG flash and the pinouts, hookups, etc... just need to know how to get

the ND2 code from pe modules to .hex/.bin files.

 

Is this even possible from Visual Studio 2012 & using .NETMF 4.3?

 

Thanks,

 

D.


"Ever since you've fixed that paper jam, my computer has been running slower."


#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 01 May 2014 - 04:55 AM

Hi Darrell L.,

The easiest way to do this is to deploy your app to the Netduino and then download the HEX/BIN file from flash.

You can do this with ST-Link (if you've soldered on a MiniJTAG header) or via MFDeploy.

BTW, you can also customize the XML files that come with Netduino Update and it will work as a mass-flashing tool for you :) Just drop in the file name of your deployment image in the (hopefully fairly obvious) spot.

Chris

#3 Darrell L.

Darrell L.

    Member

  • Members
  • PipPip
  • 14 posts

Posted 03 May 2014 - 12:15 AM

Cool!

 

Since I have a plethora of ST-Link/V2-ISOL programmers on-hand, this won't be a problem.

 

Thanks for the tip with regards to modding the XML files for the update tool.

 

That should make my life in Production a little easier :rolleyes: :D


"Ever since you've fixed that paper jam, my computer has been running slower."


#4 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 03 May 2014 - 03:13 AM

BTW, if you ever want to flash production devices via UART, you can grab the "shield base firmware" update tool and swap in your HEX file there too. It uses our open source C# implementation of the "st loader" (uart) flashing protocol.

Chris
  • Darrell L. likes this





Also tagged with one or more of these keywords: production, flashing, hex, bin, flash, upload, ndp2, netduino plus 2

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.