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.

Bejay

Member Since 13 Dec 2011
Offline Last Active Mar 16 2013 10:44 PM
-----

Posts I've Made

In Topic: Networking Trouble with VB

24 January 2012 - 04:00 AM

I already have the DHCP set in MF Deploy. However if I do not release and renew the address before the first collecting of the IP Address the Netduino has a address that it seemed to make up itself (Nothing I put in.) which did not match my network. The address is already set to 0.0.0.0 and the problem seems to be Dhcp does not seem to be providing a valid replacement. I down loaded wireshark and right here and now I want to say THANK YOU! I have been looking for a packet sniffer that works under Win7 x64 for sometime. Any way after constructing a few complicated filters I can see the Netduino making the intial request if the network is connected during the program start up. However if unplugged or plugged in late no new request is made. Either way none of the three networks I tested this on returned anything that I could see. (It is possible I filtered it out, but I don't think so) So I am left still scratching my head. As for starting with someone elses code, I have not seen anyone doing what I am trying to achive yet, otherwise I would have had a look. Infact most of the socket listener part was written after studing things like Nevyn's SimpleWebServer Translated to VB, my problem is it is not breaking, it is working, by I am not reciving a valid address from the DHCP. I think my request may have gone wrong or something... (Though wireshark says all the packets that are there are good, maybe one is missing. I am going to look into what I should see in a DHCP exchange) As for DHCP's not working with it, I have now tried three different ones. So either I am just incredably unlucky or it isn't the DHCP (Home: Netgear, Work: Cisco, Friends: Dlink) Thanks for continueing to try though, I am open for the next suggestion(s)

In Topic: Networking Trouble with VB

23 January 2012 - 11:58 AM

Hello Magpie, Thanks for your reply, Yes the Network leds come on and yes DHCP is set up and working fine on my network, No there is no device listed in the router with the netduino's Mac address, and yes the Mac address is fine in the Netduino. In the application I am writing portability is vital, it will need to adapt to what ever network it is moved to, so dhcp has to stay. (If I didn't need it I wouldn't have used it.) I am running framework 4.2 rc3 already (I needed it for VB to work) and although it is true that C# is better supported, that is undeniable. VB is my first langage. Codeing in C# for me is like the langage I did for a year back in high school fifteen years ago. Sure I can remember how to count to 10 or ask for the bathroom, but I don't have a hope in hell of conducting an indepth conversation on the nature of space, time and its relation to the universe as a whole. In otherwords, I can read C# just fine but when it comes to writting it I am stupidly slow. (VB capability was the whole resson I selected the netduino as my platform of choice.) And as for the count of Dim statement the number of them in C# is the same, C# justs insists they be written backwards and assums it is a decleration (No command name requred). They are still there, sure this may feel like an optimization but you have to tell it were every line ends with a good old semi-colon. My point is both langages are more or less the same, just some of us are more fluent in one dilect than the other.

In Topic: Netduino Plus Firmware Flash Issues

22 December 2011 - 08:57 PM

Thanks again Chris,

It all works now that the Netduino 4.2 SDK is in place (and the new drivers I assume.) And before Christmas too... A miracle.... Thank you.


In Topic: Netduino Plus Firmware Flash Issues

21 December 2011 - 10:00 PM

Thanks Chris! Ok, I just needed to know why I couldn't see the serial connection, anyway I erased it, flashed it and now everything looks good at least on the Netduino side. VS.Net has developed a different issue. Now I cannot deploy to the device. When I hit run or step I get a message down the bottom that says 'debugging target not in initialized state; rebooting...' followed by 'debugging target was initialized successfully' but the program does not start. (At least it doesn’t look like it) I placed a break point on the first line and it never gets hit, and despite having an infinite loop on line 2 (Sample blinking program) VS assumes the program has ended. I have updated the frame work in the projects to match (MF 4.2) and tested this issue in both VB and C# and it happens in both places. I also pinged it with MFdeploy which says 'TinyCLR' is in place (was it supposed to change to myproject?) Reading the other topics you asked a user to hold the button and ping again, I have done this but I get an Error. 'Error: No response from device' I have the MF4.2... but I think I may have the Netduino SDK 4.1 (Any linkery you can provide to 4.2 version (With VB projects) would be greatly appreciated. Is there any proper link page that is kept up to date? What I would like is the files I need (or atleast the set of links) all set out in groups by version. (MF, Netduino SDK, Netduino Firmware... etc...) I seemed to have scavenged up all my pieces from all over the forum and beyond (Codeplex) it is becoming quite a headache to figure out, what I need, what I don't and what is current and what is obsolete.) Again Thanks for the help thus far and a pre-emptive thanks for the help that is yet to come! (By the sounds of me there might be a fair bit... this is only my second post and I am already drowning you is problems... Sorry I am such a pain!)

In Topic: Netduino Plus Firmware Flash Issues

21 December 2011 - 05:12 AM

I am attempting to re-flash my Netduino plus with 4.2.0.0_RC3 in order to give me VB.Net capabilities. (Both ASM & C slows me down too much) Being the overly cautious and paranoid individual I am I don't want to jump into anything I can't undo so I have been attempting to connect my device to SAM-BA 2.11 without erasing it, however it cannot detect it as it is hasn't got a port number allocated to it (Connection USB) Does this happen once the device erased? Or will I find myself totally locked out if I erase it before having figured out the serial drivers? Have I missed something? As a side note, I have not been able to get a Netduino project option to appear in my VS.NET either. I was able to get VB Micro Framework though and by adding the references manually was able to replicate the blinking led example with no errors... except until I get this memory flashing (Not to be confused with the blinking led) sorted I can't use Microsoft.VisualBasic.dll which is required for visual basic projects. So Microsoft insists. Is there any way to read and write memory without depending on the device’s own hardware? With my Aduino I just used the ‘AVR ISP MKII’ to re-flash it.

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.