Netduino Firmware v4.2.0 RC4 (Netduino + Netduino Plus)
#41
Posted 10 February 2012 - 09:05 PM
#42
Posted 11 February 2012 - 07:34 PM
It askes to target the project to a compatible framework first, but the project is already targeting v4.2. ANy workarounds or tips to fix this?
#43
Posted 14 February 2012 - 05:36 PM
#44
Posted 16 February 2012 - 12:12 AM
I have done some testing of my webserver in RC4.
For the first time I think I have a solid server!
I did 6000 page requests over 24 hours within my home LAN.
My home LAN has on printer doing regular udp broadcasts but no video server.
The pages from served from the Netduino were mostly direct from the SD card (css, javascript) but 20% were output through c# .
I can do Text file uploads too. (Not binary alas)
No memory leaks, no errors that I know of.
But when I requested pages with a browser external to my LAN, I soon have a Netduino crash.
I am wondering that there may be issues at the TCP level with out of order packets or acknowledgements etc.
#45
Posted 16 February 2012 - 02:47 AM
when I requested pages with a browser external to my LAN, I soon have a Netduino crash.
I am wondering that there may be issues at the TCP level with out of order packets or acknowledgements etc.
I am operating the N+ board as a web client, rather than a web server. In my tests, RC4 is *much* more stable than RC3 was. In my current test with a local server, the N+ has been running for 4.5 days with transactions occurring every 10 seconds. That's over 35,000 packets without the N+ crashing. When running RC3, I never saw more than 1 day of continuous running using this test. A second site, which is exchanging packets with a server 2000 miles away is also showing more reliability, with the latest sequence still going strong after 3 hours of up time.
I believe that there are still issues with N+ networking, but I am excited to see how much progress has been made.
#46
Posted 16 February 2012 - 03:07 AM
Are you using a Netduino or Netduino Plus?It askes to target the project to a compatible framework first, but the project is already targeting v4.2. ANy workarounds or tips to fix this?
Chris
#47
Posted 16 February 2012 - 08:31 PM
#48
Posted 16 February 2012 - 10:52 PM
I was upgrading to 4.2 and particulary following these instructions:
http://wiki.netduino....ashx?HL=sam,ba I cannot get any of the sam-ba programs to load correctly. It looks like I get driver loaded on the 2 windows 7 machines I have tried. I also have 'changed' the installed driver on an xp machine to a virtual com driver. However on all of these machines ,when I try to load sam-ba (tried both the vista and xp versions) asks for port and processor (which I set appropriately) and the application goes away. It is still loaded in memory but no ui every appears. My question is, is there a way to hack it back to like or is it a brick? The usb response makes me believe I should be able to fix it.
Thanks,
Damon
#49
Posted 16 February 2012 - 11:54 PM
I ordered another board concerned that I had 'bricked' this one. I followed the same procedure and achieved the same result (Please do not bring up the insanity definition). I am going to my clean xp installation and trying again. Any insight from anyone would be helpful.
Hey!
I had some problems with this process as well. I even tried in linux without any luck.
What solved it for me was uninstalling the netduino drivers completely (actually removing them) and followed these steps: http://wiki.netduino...y-Netduino.ashx
windows automatically detected the netduino as a com port. the drivers they talk about on the wiki (in case it doesnt work) don't work however... windows 7 x64 tells me they're not compatible.
but yeah... I wonder why atmel doesn't bother making 64bit drivers...
#50
Posted 17 February 2012 - 02:18 AM
Hey!
I had some problems with this process as well. I even tried in linux without any luck.
What solved it for me was uninstalling the netduino drivers completely (actually removing them) and followed these steps: http://wiki.netduino...y-Netduino.ashx
windows automatically detected the netduino as a com port. the drivers they talk about on the wiki (in case it doesnt work) don't work however... windows 7 x64 tells me they're not compatible.
but yeah... I wonder why atmel doesn't bother making 64bit drivers...
I powered the n+ from usb for all of this.
I have tried removing the driver. Windows 7 Installs a new one from the update site each time I reinsert the device.
I have used both SAM-BA non CDC from AT91-ISP v1.13 and SAM-BA-CDC from sam-ba_2.9_cdc_xp_vista package.
This has also been tried on my work windows 7 pc and tested in XP mode (mapping the port to the virtual one of xp mode)
I have also tried this from an xp machine fresh install. The xp machine recognized the usb board as an amtel devel board. I went in and manually set it to a usb to serial emulator that was part of the same driver.
All of these tests result in the application loading and asking for port and cpu. I select them and the first window closes but I never see the second (main) window. The application is running in background. Sometimes it is consuming significant cpu but most times not.
I am at a loss since I have tried two boards, few oses and three pc's.
I would love to send a board to someone and ensure they can get the board flashed so I know it is a pc issue on my side. I would also appreciate any more feedback as to what to try.
#51
Posted 17 February 2012 - 02:28 AM
#52
Posted 17 February 2012 - 05:14 AM
If you device is showing up as a GPS Camera Detect (serial port), you need to force Windows to use the Atmel driver
Really?? My Netduino has always shown up as a GPS Camera Detect when changing the bootloader!
#53
Posted 17 February 2012 - 05:18 AM
It may work that way with certain versions of Atmel SAM-BA (such as SAM-BA CDC), but I would recommend always using the Atmel drivers.Really?? My Netduino has always shown up as a GPS Camera Detect when changing the bootloader!
Chris
#54
Posted 17 February 2012 - 06:29 PM
#55
Posted 17 February 2012 - 06:31 PM
#56
Posted 18 February 2012 - 08:01 AM
Yes it was an error from my side, Appdomain works well on simple app.Hi couchounou,
I believe that AppDomain support is back in this RC. If you test it out, please let us know your results!
Chris
Thanks
#57
Posted 19 February 2012 - 01:21 AM
Hi Damon,
If you device is showing up as a GPS Camera Detect (serial port), you need to force Windows to use the Atmel driver (in \Program Files\ATMEL Corporation\sam-ba_2.11\drv) instead.
Chris
This post provided the solution to my issue. I was using the older 2.10 (and 2.9) software pointed to in the wiki. I noticed in your post you were using 2.11. I registered, downloaded, replaced the driver and now have a fuctional Netduino w/4.2 mf on it. Thanks for all the help and a great product. I told my son the other day this device is engineering geek heaven. I also took the liberty of updating the wiki page but have left it in draft for so someone can verify if they are in agreement with the changes.
#58
Posted 19 February 2012 - 02:41 PM
Hi everyone.Hi
On 4.2 RC4 , (Netduino Plus) have a problem with
StorageDevice.MountSD("SD", SPI.SPI_module.SPI1, Pins.GPIO_PIN_D10);which gives me a System.NotSupportedException on all cards.
If I callStorageDevice.Unmount("SD");before mount I get a System.ArgumentException
How/When should I call these commands?
After looking in to it
This is almost certainly because I am using an old SecretLabs.NETMF.IO.dll
Where can I get another one?
I looked on codeplex but the only versions of software I found there were dated last year.
p.s. I looked around for the latest sdks and installed those over the top too.
Thanks
I'm having the same problem as Magpie is having above, only with a standard Netduino. I've checked all of the versions of software and dlls, but the board will not talk to the SD Card. These are the debug messages that I get:
A first chance exception of type 'System.IO.IOException' occurred in SecretLabs.NETMF.IO.dll
An unhandled exception of type 'System.IO.IOException' occurred in SecretLabs.NETMF.IO.dll
Anybody have any ideas? I'm baffled.
-Z
#59
Posted 19 February 2012 - 02:43 PM
#60
Posted 19 February 2012 - 05:17 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users