- Netduino Forums
- → Viewing Profile: Topics: teachop
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.
Community Stats
- Group Members
- Active Posts 44
- Profile Views 10372
- Member Title Advanced Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
1
Neutral
User Tools
Friends
teachop hasn't added any friends yet.
Topics I've Started
Solution deploy failures for VM users
15 May 2011 - 01:27 PM
I don't have much success with deploy / debug using VirtualBox. I have several possible problems crop up, and then sometimes it does manage to work. The intermittent problems are:
1) The very first deploy after starting Visual C# cause it to crash and terminate.
2) "Preparing to deploy assemblies to the device" gets stuck. Have to jack the Netduino.
3) "The debugging target is not in an initialized state, rebooting..." gets stuck. Have to jack the Netduino.
My setup is Netduino Plus 4.1.0.6, Visual C# 2010 Express, Windows XPsp3, VirtualBox 4.0.6, all on Ubuntu 11.04 host. I have tried two Netduino Plus boards, they do the same thing, I have tried different software versions on the Netduino also.
Are these problems only VirtualBox? Does anybody have workable development in VirtualBox?
SAM-BA Alternative
14 March 2011 - 09:53 AM
With kernel 2.6.37+, the SAM-BA tool can work smoothly again in Linux to re-flash Netduino, due to the inclusion of the sam-ba.ko driver. This driver can be built for earlier kernels - I am using it with Ubuntu 10.10 now.
An alternative to SAM-BA that is open source python code located here:
Sam_I_Am
This can work with the same sam-ba.ko driver.
In order to use it to burn the Netduino, add the following line to the device table in flash.py:
To get the GPNVM boot bit re-set after erase/program, the flashif.py needs tweaked. Add something like this to flashif.c, rebuild it, and include the hex data in flashif.py. Call this in the Exit case (after programming).
There is further to go, but that will get Netduino re-flash working. The python has a lot of other features that are set up for an at91sam7s, and I have not looked at them for at91sam7x at all.
My reason for using this is that for an interval, my linux machine is a powerpc Apple eMac, and the Atmel SAM-BA isn't available for powerpc or in source code form. I suppose there are not many experimenting on Netduino without a .NET, and even fewer on Linux. But, if you are tempted, it works and is fun.
An alternative to SAM-BA that is open source python code located here:
Sam_I_Am
This can work with the same sam-ba.ko driver.
In order to use it to burn the Netduino, add the following line to the device table in flash.py:
# AT91SAM7X512 ('512K', '128K'): ("AT91SAM7X512", 64, 256),
To get the GPNVM boot bit re-set after erase/program, the flashif.py needs tweaked. Add something like this to flashif.c, rebuild it, and include the hex data in flashif.py. Call this in the Exit case (after programming).
static void doRemap(void) { (void) waitForFRDY(); *MC_FCR = 0x0b | (2 << 8) | 0x5A000000U; (void) waitForFRDY(); }
There is further to go, but that will get Netduino re-flash working. The python has a lot of other features that are set up for an at91sam7s, and I have not looked at them for at91sam7x at all.
My reason for using this is that for an interval, my linux machine is a powerpc Apple eMac, and the Atmel SAM-BA isn't available for powerpc or in source code form. I suppose there are not many experimenting on Netduino without a .NET, and even fewer on Linux. But, if you are tempted, it works and is fun.
FreeRTOS
23 January 2011 - 02:35 PM
For entertainment, I tried FreeRTOS on the Netduino Plus using SAM-BA. The networking has flakes, but it is working. With the SAM7X demo, it acts like a USB mouse OK, prints stats via the web server, and gives control of the LED to a web page. It is easy to get the real Netduino Plus software back into it when you are done.
Anybody else playing about with this, or something similar?
Component locations
22 January 2011 - 12:22 PM
Individual component identifiers are not in the Netduino Plus silkscreen, I am sure due to size, and I cannot open the .brd file. Could Secret Labs print the component locations to a PDF, looking like a typical silkscreen layer? Is that possible? It would be good to add to the downloads page, so we users can probe on the board. Thanks.
Micro Framework
19 January 2011 - 03:06 PM
Sorry if this is a dumb question. In going through the documentation for the 4.1 .net micro framework, how should I determine which features are actually implemented in the Netduino Plus?
- Netduino Forums
- → Viewing Profile: Topics: teachop
- Privacy Policy