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

From netduino to commercial


  • Please log in to reply
4 replies to this topic

#1 kostasthegreat

kostasthegreat

    New Member

  • Members
  • Pip
  • 1 posts

Posted 20 May 2011 - 09:20 AM

Hello all, i have bought a netduino past months and love the way you debug your code and everything .NET enviroment offers. Now i am working on a project that will go commercial hopefully and i am wondering, being familiar with AVR and arduino style, what are the steps i have to take to transform a netduino project to a commercial one. So i am thinking of these steps: 1) Create a custom PCB board based on netduino schematic but with not all available netduino choices (less pins used or not I2c etc). 2) Ordering empty Atmel ARM microcontrollers from a reseller. 3) Somehow i have to program the bootloader and .net framework on the board and after that my running code from Visual Studio. This is the step with the most questions. Do i need a special programmer to download the bootloader to the IC... if so do i need to take care to have some special pins to the pcb for programming? Do i need to connect each board and download the software using Visual Studio? In classic AVR i had an ISP programmer, download the bootloader and use it to download new firmware etc. What is the procedure to go with a .net and netduino? 4)Another important aspect is security, is there a fuse or something to lock the application running on the microcontroller? How can we secure it from third parties or unwanted eyes. These are some of my thought right now and i dont know if i should continue my developing on this platform or fall back to the AVR path. Thank you very much!

#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 20 May 2011 - 12:56 PM

Hi kostasthegreat, To download the bootloader (TinyBooter) to the ARM microcontroller on your commercial board, you can use the same process as the Netduino--flash using Atmel's SAM-BA tool. You can do this over the USB connection...or over the DBGU serial port (pins D0/D1 on the Netduino) if USB is not connected. There are also "fast flashing" processes available. And ways to lock down the firmware. More info on this is contained within the AT91SAM7X datasheet. Another thing of interest...you may be interested in using the RTM build of .NET Micro Framework, which omits debugger code and runs faster. Just compile using the "flavor=rtm" option. More info on this is contained within the .NET MF Porting Kit documentation. Chris

#3 João Mello

João Mello

    Advanced Member

  • Members
  • PipPipPip
  • 30 posts

Posted 24 May 2011 - 03:28 AM

Hi kostasthegreat,

To download the bootloader (TinyBooter) to the ARM microcontroller on your commercial board, you can use the same process as the Netduino--flash using Atmel's SAM-BA tool. You can do this over the USB connection...or over the DBGU serial port (pins D0/D1 on the Netduino) if USB is not connected.

There are also "fast flashing" processes available. And ways to lock down the firmware. More info on this is contained within the AT91SAM7X datasheet.

Another thing of interest...you may be interested in using the RTM build of .NET Micro Framework, which omits debugger code and runs faster. Just compile using the "flavor=rtm" option. More info on this is contained within the .NET MF Porting Kit documentation.

Chris


More information about this things... will be very excellent!

#4 afulki

afulki

    Member

  • Members
  • PipPip
  • 13 posts
  • LocationNew York

Posted 24 May 2011 - 01:36 PM

How about adding an example of doing this to the Wiki? I for one would appreciate it.

#5 João Mello

João Mello

    Advanced Member

  • Members
  • PipPipPip
  • 30 posts

Posted 26 May 2011 - 04:31 PM

How about adding an example of doing this to the Wiki? I for one would appreciate it.



Perfect!




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.