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

.net mf 4.2 working problem in ethernet


  • Please log in to reply
3 replies to this topic

#1 yiulsup

yiulsup

    Advanced Member

  • Members
  • PipPipPip
  • 34 posts

Posted 08 October 2012 - 06:26 AM

To Netduino Community. After .net mf 4.2 compiling with RVDS 4.0, i flashed bootloader(tinydecompressor.bin) and .net mf version 4.2 (ER_CONFIG, ER_FLASH). It worked very well in opration excluding the Ethernet Function. I tried to register the number of IP Address, and Gateway on MFDeploy for Ethernet Connection. But Even if to modify the IP Adddress on MFDeploy, ND+ didn't work on MFDeploy. The more worse is to lost the .net mf and reboot with bootloader of tinybooter. My steps are .... 1. To compile with msbuild /t:build /p:flavor=release;tcp_ip_stack=lwip /v:m /m 2. With SAMBA, I flashed bootloadder. i check the bootloader with MFDeploy. 3. To flash the .net mf with MFDeploy. 4. To configure the IP Address for .NET MF of ND+. 5. It didn't work. ... The other function such as GPIO and SPI were working well..... Thanks. Kevin

#2 yiulsup

yiulsup

    Advanced Member

  • Members
  • PipPipPip
  • 34 posts

Posted 08 October 2012 - 06:29 AM

I coudn't modify the IP Address and Gateway on MFDeploy. when i tried above, MFDeploy was useless or lost connection with ND+ Thanks Kevin

#3 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 08 October 2012 - 06:54 AM

Hi Kevin,

I coudn't modify the IP Address and Gateway on MFDeploy.

when i tried above, MFDeploy was useless or lost connection with ND+

Please start the board in TinyBooter mode...and see if you can set the IP settings there.

Chris

#4 caEstrada

caEstrada

    Advanced Member

  • Members
  • PipPipPip
  • 84 posts

Posted 11 October 2012 - 02:41 AM

Hi Kevin,


Please start the board in TinyBooter mode...and see if you can set the IP settings there.

Chris


Chris,

I had similar problem and you suggested to fix the IP thing with:

byte[] MAC = { 0x5C, 0x86, 0x4A, 0x00, 0x4E, 0x5A };

Microsoft.SPOT.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()[0].EnableStaticIP("192.168.1.102", "255.255.255.0", "192.168.1.254");
Microsoft.SPOT.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()[0].PhysicalAddress = MAC;
//Microsoft.SPOT.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()[0].EnableDhcp();

Kind of a workaround...regards,




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.