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

Netduino Plus / AT91SAM7X-EK compatibility


  • Please log in to reply
10 replies to this topic

#1 Francoleddu

Francoleddu

    New Member

  • Members
  • Pip
  • 4 posts

Posted 22 February 2011 - 12:49 PM

A simple question to the Netduino developers: how compatible Netduino Plus is with the Atmel development board AT91SAM7X-EK? Ok, the Atmel board uses the 256K CPU version, and has some device like serial ports, JTag, joystick, etc. But the question is: is it possible to load an example program (not using these devices) on Netduino? It's a bit tedious to check every port pin assignment in both boards. It's easier to ask if someone has already done this test! :P Thanks! Francoleddu P.S. Sorry for my poor english!

#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 22 February 2011 - 12:55 PM

Hi Francoleddu, We designed Netduino so that most sample code from the AT91SAM7X-EK would work. You should be good to go. Be sure to compile for the 512KB chip if desired. Welcome to the Netduino community, Chris

#3 Francoleddu

Francoleddu

    New Member

  • Members
  • Pip
  • 4 posts

Posted 22 February 2011 - 01:51 PM

Hi Chris, thank for your fast reply. In the while I did check for any PA port incompatibility and then I tried to compile and load the IAR "basic-emac-uip-helloworld-project" example and... it works! :D I used for years the IAR environment and I worked a lot with the SAM7S cpu. Now I have to develope a simple program that needs to use an ethernet connection, and the .NET environment seems to be not so... mature. But I will look forward for any new .NET release! ;) Francoleddu

#4 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 22 February 2011 - 02:01 PM

Hi Chris, thank for your fast reply.
In the while I did check for any PA port incompatibility and then I tried to compile and load the IAR "basic-emac-uip-helloworld-project" example and... it works! :D

I used for years the IAR environment and I worked a lot with the SAM7S cpu.
Now I have to develope a simple program that needs to use an ethernet connection, and the .NET environment seems to be not so... mature.

But I will look forward for any new .NET release! ;)

Francoleddu


Hi Francoleddu,

Glad that the native samples are working well for you!

Regarding Ethernet in .NET... What issues are you having in particular? We're doing a lot of lwIP housecleaning/bugfixing in the v4.1.1 firmware release--so any input you have would be super-helpful.

Chris

#5 Francoleddu

Francoleddu

    New Member

  • Members
  • Pip
  • 4 posts

Posted 22 February 2011 - 04:34 PM

Chris, is not so easy to explain: I worked on Netduino the last three days making a lot of tests. First I spent some time to discover how to configure the IP address and then I always worked with a static address. I am using MFDeploy v.4.1.2821.0 and the first problem is that it freeze when is not able to communicate with N+. I think the problem should be in the device driver. May be a timeout should be appreciated! ;) Now I try to describe a typical test session (all in the present tense: it's easier ^_^ ): 1) to start with a clean environment, I erase N+ (3.3V on the little pad) and then I reload the monitor with SAM-BA 2) then I deploy the ver.4.1.1.a7 ER_*** files to N+, and MFDeploy stops showing the "Executing Application" dialog; pressing 'Cancel' has no effect: I have to disconnect/reconnect the cable. Anyway the code seems loaded. 3) reconnecting the USB cable (not the RJ45), N+ answer "Pinging... TinyCLR" and it answer also to the "Device Capabilities" command 4) then I disconnect USB / reconnect RJ45 and USB; N+ answers "Pinging... TinyCLR" but if I try to sent a "Configure / Network" command, MFDeploy hangs and I have to disconnect/reconnect N+ 5) after that, N+ answer "TinyBooter\nBootloader build info: Netduino Plus (v4.1.1.0 a7) by Secret Labs LLC", but when the three Ethernet leds lights on (20s after last ping), N+ stops to answer; 6) after the usual disconn/reconn, doing the "Configure / Network" command is it possible adjust the IP and MAC address, but anyway when the three leds go on, N+ stops answer. Curiously if I open a console window and try to send a 'real' ping command, N+ answers! Well, I hope this trace may be useful. I look forward to the next revision... :rolleyes: Francoleddu

#6 teachop

teachop

    Advanced Member

  • Members
  • PipPipPip
  • 44 posts

Posted 22 February 2011 - 05:26 PM

I tried to compile and load the IAR "basic-emac-uip-helloworld-project" example and... it works! :D

The FreeRTOS uIP example for the at91sam7x-ek also works with only a few tweaks (am using the GNU compiler). Was able to bring in parts of other examples and get what I needed for USB, ethernet, web server, and I/O. Have not worked on SD card yet because my current project doesn't need it.

#7 Francoleddu

Francoleddu

    New Member

  • Members
  • Pip
  • 4 posts

Posted 22 February 2011 - 07:14 PM

The FreeRTOS uIP example for the at91sam7x-ek also works with only a few tweaks (am using the GNU compiler). Was able to bring in parts of other examples and get what I needed for USB, ethernet, web server, and I/O. Have not worked on SD card yet because my current project doesn't need it.


Thanks for the info, teachop, now I have another way to try!

Francoleddu

#8 Illishar

Illishar

    Advanced Member

  • Members
  • PipPipPip
  • 146 posts

Posted 04 March 2011 - 03:31 PM

The NutOS works perfectly, without any tweaks. (Has a full ethernet stack.)

#9 Firegun

Firegun

    Member

  • Members
  • PipPip
  • 24 posts

Posted 11 October 2011 - 12:15 AM

Hello guys, I started to work on native code projects and wanna to know if some1 is doing any kind of porting for the board definitions in the sample codes supplied by Atmel? What I mean is, there are some files that describe the I/Os and other things on the board (I´m not that experienced with embedded dev, so I´m finding lot of stuff everyday), there are files for the at91sam7x-ek, and you can compile then to use the same CPU then netduino... but wouldn´t be nice to have those files adjusted to be used with the netduino boards? Probly the developers at Secret Labs had to do that or something similar to get the .NET going, the tinyCLR part, I belive. There is somewhere I could find those info needed to define the correct constants to be used in a "Native Code Template Project"? Or it´s like Francoledu sad, I would have to figure that out by myself? Other then that I would like to share one bit of info I found out interesting, the Lego Mindstorms NXT, witch also had the source code publish now, uses the at91sam7x256 as the main processor... idk how that could help, but it´s another source of info :) Regards

#10 AlfaRomeo

AlfaRomeo

    New Member

  • Members
  • Pip
  • 6 posts

Posted 11 December 2011 - 07:29 PM

The NutOS works perfectly, without any tweaks. (Has a full ethernet stack.)


Good evening, can you please tell me how you did to configure NUT/OS to be compatible with netduino.

Best Regards,

#11 skyjumper

skyjumper

    Member

  • Members
  • PipPip
  • 15 posts

Posted 17 July 2012 - 07:16 AM

Good evening, can you please tell me how you did to configure NUT/OS to be compatible with netduino.

Best Regards,


I would love to know this as well. I know its an old thread, but I just figured I would bump it ;-)




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.