- Netduino Forums
- → Nicky's Content
Nicky's Content
There have been 78 items by Nicky (Search limited from 03-May 23)
#37204 Windows 8 support
Posted by Nicky on 15 October 2012 - 06:37 AM in Netduino Plus 2 (and Netduino Plus 1)
#37206 Windows 8 support
Posted by Nicky on 15 October 2012 - 07:16 AM in Netduino Plus 2 (and Netduino Plus 1)
Hi Nicky,
I'm running Netduino, Netduino Plus, Netduino Mini, and Netduino Go on my Windows 8 machine. All running the latest firmware.
Netduino Plus uses the new WinUSB drivers. Can you please check that you've updated .NET MF 4.2 to the .NET MF 4.2 QFE2 SDK on your computer?
Chris
The machine is at home, so I can't check atm, but I'm nearly a hundred percent sure that I never have had another SDK than 4.2 QFE2 installed. The Windows installation is only about a month old :s
Btw, at first I installed Netduino 4.2 SDK, when that didn't work I removed the Netduino SDK and installed Netduino 4.1 SDK and 4.2 SDK again.
Windows recognised is as a Netduino device, but it just don't show up :s
#37225 Windows 8 support
Posted by Nicky on 15 October 2012 - 03:18 PM in Netduino Plus 2 (and Netduino Plus 1)
Hi Nicky,
I'm running Netduino, Netduino Plus, Netduino Mini, and Netduino Go on my Windows 8 machine. All running the latest firmware.
Netduino Plus uses the new WinUSB drivers. Can you please check that you've updated .NET MF 4.2 to the .NET MF 4.2 QFE2 SDK on your computer?
Chris
Goddammit.. I have QFE1 installed... I downgraded because I was trying to recompile the source.. idiot.
Thanks Chris! I'll bring my precious with me home one of the next days, and see if that solves the problem.
#36760 WebRequest takes a long time
Posted by Nicky on 08 October 2012 - 07:13 AM in Netduino Plus 2 (and Netduino Plus 1)
#36674 WebRequest takes a long time
Posted by Nicky on 07 October 2012 - 10:18 AM in Netduino Plus 2 (and Netduino Plus 1)
Try:
public static void InStateToServer(int port) { IPHostEntry host = Dns.GetHostEntry("192.168.2.231"); IPEndPoint endPoint = new IPEndPoint(host.AddressList[0], 80); using (Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp)) { socket.Connect(endPoint); using (NetworkStream ns = new NetworkStream(socket)) { byte[] bytes = System.Text.Encoding.UTF8.GetBytes("GET /decoder_control.cgi?command=" + port + "&user=admin&pwd=abc HTTP/1.1\r\n"); ns.Write(bytes, 0, bytes.Length); } } }
#36524 WebRequest takes a long time
Posted by Nicky on 04 October 2012 - 02:26 PM in Netduino Plus 2 (and Netduino Plus 1)
public static void InStateToServer(int port) { using (Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp)) { socket.Connect("192.168.2.231", 80); using (NetworkStream ns = new NetworkStream(socket)) { byte[] bytes = System.Text.Encoding.UTF8.GetBytes("GET /decoder_control.cgi?command=" + port + "&user=admin&pwd=abc HTTP/1.1\r\n"); ns.Write(bytes, 0, bytes.Length); } } }
It's way more lightweight, and as a bonus you can get rid of the System.Http reference
Note: I didn't have my Netduinos here, so I've written the code in a Console application, but I don't think there is any difference...
edit: forgot "GET" + "HTTP/1.1"
#38864 VS hanging at "Preparing to deploy assemblies to the device"
Posted by Nicky on 09 November 2012 - 05:24 PM in Netduino Plus 2 (and Netduino Plus 1)
#40412 Use SPOT.Presentation with the Netduino Plus 2
Posted by Nicky on 29 November 2012 - 10:49 AM in Netduino Plus 2 (and Netduino Plus 1)
#37272 TristatePort Issue
Posted by Nicky on 16 October 2012 - 08:35 AM in Netduino Go
#37018 Some questions about Netduino Go
Posted by Nicky on 11 October 2012 - 09:01 AM in Netduino Go
It's useful as memory, just not code memory. You can store resources to it, but also use it as virtual memory. Fabien, one of the guys behind Nwazet, once wrote a nice class for this: netduino.helpers.Helpers.VirtualMemory.
Aah okay, so I won't be able to load assemblies with reflection, and expect that to run, but datas and stuff can be placed in a VM?
Att: Chris, sounds like more great news! It seems like the most of my worries are going to be taken care of... this is indeed an interesting platform! I smell tons of potential here.
#37012 Some questions about Netduino Go
Posted by Nicky on 11 October 2012 - 06:01 AM in Netduino Go
It's not currently possible to add RAM externally (partially because you'd want a _really_ fast memory bus for that). If there's enough demand for extra RAM, we could create a higher-end Netduino Go in the future with additional on-board RAM.
So that means what Stefan said ain't gonna be possible? Using SD as memory. I know that the unit will lose a lot of speed, but at some point it might be worth it.
We could enable reflashing over an Ethernet or Serial module in a future update. Today you'll want to use USB.
Okay, just thought it might could be possible. Bummer... currently I have a 320 kb application which needs to be updateable... Might be time to clean up the Dpws/System.Http/System.Xml assemblies, sigh
We'll be enabling the pushbutton on Netduino Go as a reset button. There is also a watchdog on the microcontroller which we could logically hook up to an external GoBus button/module/IO. Or kicked via code...lots of options to explore.
So what you say are, if I need to ensure a stable product, I have to find another board than the NGo, since there is NO, and not coming, ANY method to reset a hanging system?
#36967 Some questions about Netduino Go
Posted by Nicky on 10 October 2012 - 03:40 PM in Netduino Go
#36963 Some questions about Netduino Go
Posted by Nicky on 10 October 2012 - 03:14 PM in Netduino Go
First off, even through the limited selection of modules (atm), and the annoying Erase/Flash/Deploy bug, I'm quite impressed by the Go, and from what it looks like, lot's of great stuff are happening in the future! But when that's said, I've got a few questions. My knowledge in hardware is very limited, but I think I got the basics.
1. Memory capacity
Is it possible, in any way, to expand the code- and/or memory space on the Netduino Go? Can the code space be made able for memory?
If the answer is no, does anyone have to experience/recommendations on how to do so? Currently I've got a NGo and a N+ connected through serial, where the N+ is acting like a modem/storagedevice. The connection is made through the COM-ports, is this the best method?
2. Socket expansion
Are there any plans for a module which expands the total number of sockets?
3. Power capacity
How much stuff can the NGo power? Imagine a couple of Shieldbases, a dozen of relays, Ethernet module, SD Module, touch display and some more.. That would require an external power supply, right?
4. Remote updating
Since the NGo is able to flash the Shieldbase, is it then possible to make another device flash a NGo?
5. Reset
Is it somehow possible to attach a reset wire to the NGo?
6. SPI
I've read a little about SPI, but I'm not sure if I get it. Does SPI make it possible to establish a serial-connection with multiple devices through the same three wires?
Thanks.
#37026 Some questions about Netduino Go
Posted by Nicky on 11 October 2012 - 09:30 AM in Netduino Go
Oh yes, you can load assemblies with reflection too. Fabien wrote code for that too: netduino.helpers.Helpers.SDResourceLoader.
It wil require some memory on the device as well though; it'll load the assembly in the available memory.
Yeah, I'm already loading assemblies with reflection, but I was wondering if it was possible to load assemblies into a virtual memory...
#36543 Socket exception
Posted by Nicky on 04 October 2012 - 08:28 PM in Netduino Plus 2 (and Netduino Plus 1)
#37214 Shield Base Firmware (beta 4)
Posted by Nicky on 15 October 2012 - 11:34 AM in Netduino Go
#37265 Shield Base Firmware (beta 4)
Posted by Nicky on 16 October 2012 - 06:44 AM in Netduino Go
Hi Nicky,
Are you using the NetduinoGo.ShieldBase.dll that came with beta 4 (v0.3)?
Chris
:facepalm: !!!!
I don't know what I was thinking yesterday... first the Win8 thing, and now this.. Thanks.
#41931 Shield Base Firmware (beta 4)
Posted by Nicky on 20 December 2012 - 11:59 AM in Netduino Go
#41925 Shield Base Firmware (beta 4)
Posted by Nicky on 20 December 2012 - 10:29 AM in Netduino Go
#39402 Send data to remote php server
Posted by Nicky on 15 November 2012 - 08:32 AM in Netduino Plus 2 (and Netduino Plus 1)
#36168 SD Card Module Update
Posted by Nicky on 28 September 2012 - 01:59 PM in Netduino Go
24 hours?, sounds like bad planning.
Do something like this if you have access to spi: http://elasticsheep....h-an-atmega168/
Nah, the release date is in less than 24 hours Or at least according to http://nwazet.com/gosd and http://shop.microfra...ctOut.aspx/4801 .... and if Fabien, who I expect is the reseller at nwazet.com doesn't know anything, it doesn't seem good...
That link does seem kind of interresting through... thanks
#36160 SD Card Module Update
Posted by Nicky on 28 September 2012 - 01:01 PM in Netduino Go
Hi Chris,
We're a couple days away from September 29th and we have not heard from you on the availability of the SL SD card reader.
Can you please provide us with an update?
Thanks,-Fabien.
God damn I hope those modules are ready for shipping in about 24 hours... otherwise I might have brought a NGo Startkit, Shieldbase and other stuff, that I can't use for my finals anyways :s
#37203 Running out of memory
Posted by Nicky on 15 October 2012 - 06:32 AM in Netduino Plus 2 (and Netduino Plus 1)
#40243 Replacing texst in strings
Posted by Nicky on 26 November 2012 - 05:38 PM in Netduino Plus 2 (and Netduino Plus 1)
public static class Extensions { public static string Replace(this string str, string what, string with) { int index = -1; while ((index = str.IndexOf(what)) != -1) { if (index > 0) { str = str.Substring(0, index) + with + str.Substring(index + what.Length); } } return str; } }
And then uses it by:
string str = "something"; str.Replace("\r", "");
#38142 Read and write over same serial port?
Posted by Nicky on 28 October 2012 - 08:26 PM in Netduino Plus 2 (and Netduino Plus 1)
- Netduino Forums
- → Nicky's Content
- Privacy Policy