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

Native code resources


  • Please log in to reply
4 replies to this topic

#1 Tony

Tony

    New Member

  • Members
  • Pip
  • 2 posts

Posted 17 April 2011 - 04:44 PM

Hi guys,

First of all, congratulations to the Secret Labs team for this very awesome project!

I have recently aquired a netduino+ and need to do some high performance bit banging, so I've deleted the .NETMF from the board, and started using Atmel SAM-BA to upload native code to the board.
Since I haven't found much information about using native code on the netduino, I would like to suggest the creation of a new forum area dedicated to this practice. This would allow other people in the same situation to get up to speed faster.
In the meantime, I'd like to share some of the resources I've found so far:

  • Great document by Atmel about getting started with AT91SAM7X MCUs. The part about Parallel IO Controllers is of particular interest if you want to to bit-banging.
  • (Windows users) To set up your compiler toolchain / IDE you can follow this excellent tutorial. Just unzip it and open the PDF file inside.
  • (Linux users) You can mostly use the above tutorial, but download and use Codesourcery Lite EABI instead of Yagarto.
  • Atmel SAM-BA for windows and linux will allow you to upload your code to the netduino board. Each time that you want to upload new code, you must follow the same pin-shorting method that you will see a couple of items down the list :)
  • Atmel AT91SAM7X-EK code samples. These are an awesome way to learn about interfacing with all the peripherals (UARTs, USB, ethernet, etc). Most code samples will work out of the box, but some will need adjustments due to different pin assignments on the netduino. Others might not work at all due to missing hardware. YMMV, but they are still an awesome place to learn from.
  • How to remove .NETMF from the netduino
  • Here's a small google spreadsheet with the netduino -> MCU pin mappings. I've created it for quick reference while coding.
  • If you want to go back to the original netduino firmware, this is how to do it


Hope this list may be of service to anyone starting out the same path as me. I'd be very interested to hear from other people doing the same, especially if there is some other info I may be forgetting or haven't found yet.


Have fun!
Tony

#2 Michel Trahan

Michel Trahan

    Advanced Member

  • Members
  • PipPipPip
  • 155 posts

Posted 17 April 2011 - 06:18 PM


Here's a small google spreadsheet with the netduino -> MCU pin mappings.

Thanks, noted !

This is way out of my league but I agree with him, a special topic in the forum for this advanced topic :)
Started with C in 1985, moved to Vb3 ... to vb6 and stopped. Now started with .Net and learning C# and VB.net and wishing VB.net was on MF !

#3 Dan Morphis

Dan Morphis

    Advanced Member

  • Members
  • PipPipPip
  • 188 posts

Posted 17 April 2011 - 10:31 PM

...
Since I haven't found much information about using native code on the netduino, I would like to suggest the creation of a new forum area dedicated to this practice. This would allow other people in the same situation to get up to speed faster.
In the meantime, I'd like to share some of the resources I've found so far:
...


Tony,
Welcome to the Netduino community! This information you have put together would work great in a wiki article. When you have a chance, can you put it in the wiki? http://sandbox.netduino.com/

Thanks,
Dan

#4 nully

nully

    New Member

  • Members
  • Pip
  • 2 posts
  • LocationPerth, Western Australia

Posted 18 April 2011 - 03:11 AM

Thanks for those resource links Tony. Just what I have been searching for.

#5 Tony

Tony

    New Member

  • Members
  • Pip
  • 2 posts

Posted 18 April 2011 - 11:33 AM

Tony,
Welcome to the Netduino community! This information you have put together would work great in a wiki article. When you have a chance, can you put it in the wiki? http://sandbox.netduino.com/

Thanks,
Dan


I'm at work right now but I'll gladly do it later when i get home :)




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.