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

arduino ethernet shield on sheildbase: Is it possible?


  • Please log in to reply
No replies to this topic

#1 bgillam

bgillam

    New Member

  • Members
  • Pip
  • 7 posts

Posted 30 April 2013 - 02:20 AM

I saw where someone got the arduino ethernet shield's sd card reader running on a regular netduino here: http://mypetprojects...-shield-to.html

 

I tried this with the shieldbase by placing a maker's shield between the shieldbase and the ethernet shield. My understanding is that this should map the right pins to the ICSP header. I then connected the d4 and d10 pins as directed in the netduino tutorial above, and tried this:

 

 public static void Main()
        {
            NetduinoGo.ShieldBase sb = new NetduinoGo.ShieldBase((GoBus.GoSocket)4);
            StorageDevice.MountSD("SD", sb.SPI_Devices.SPI1, Pins.GPIO_PIN_D10);
 
The program hangs up on the StorageDevice line. 
 
[font="monospace;font-size:12px;"]I've replaced SPI.SPI_module.SPI1 with sb.SPI.Devices.SPI1 from the original code. I get an exception with the [/font][font="monospace;font-size:12px;"]SPI.SPI_module.SPI1;[/font][font="monospace;font-size:12px;"] [/font]sb.SPI_Devices.SPI1 [font="monospace;font-size:12px;"]just hangs forever.[/font]
 
While I realize waiting for the go module ethernet is the best solution, I'd sure like to get this shield working. Any suggestions?
 
Thanks,
 
Bill





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.