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.

Nicky

Member Since 06 Aug 2012
Offline Last Active May 10 2013 10:39 AM
-----

Topics I've Started

Netduino Plus as Go Module

06 November 2012 - 04:31 PM

Hi

During work on my Netduino Go, I've been working using a Netduino Plus for SD and network support. I thought this might could come handy for some (a little bit late maybe), so I have made a Codeplex project for it.

It only contains the operations and classes that I have needed this far, so you might have to add some. Read the notice on the front page, before using it.

I have only tried connecting the Netduino to Socket 1.

To use the Netduino, simply create a new instance as a regular module, and use the included classes instead of System.IO.File etc.. You will still have to use enumerations from the framework when needed.

I will put some more stuff in the library, as it gets done.

For wiring, see Fabiens article: http://channel9.msdn...y-Netduino-Care - I did like he explained, when in this case, the display would be the Netduino Go. The only difference is, that you also have to connect the two UARTs.

There might be some unused stuff somewhere in the code from the rest of my project - it should all be gone, but if it's still there, just ignore it.

Any feedback would be awesome... if anyone wants to contrib, I can add you on Codeplex. :)

new AnalogInput() throws ArgumentException

15 October 2012 - 07:56 AM

Hi

I have problem creating an AnalogInput on the Shieldbase...

using AnalogInput = SecretLabs.NETMF.Hardware.AnalogInput;
namespace MyNamespace
{
    public class MyClass : MyBaseClass
    {
        private AnalogInput input;

        public MyClass(NetduinoGo.ShieldBase shieldbase)
            : base(shieldbase)
        {
            this.input = new AnalogInput(this.shieldbase.Pins.GPIO_PIN_A0);
        }

The abowe throws ArgumentException. The code is exceuted immediately after another instace of "MyClass" is created with digital pins. The Pin has value 1014.

Running Netduino Go firmware 4.0.0.2.

Thanks in adavance ;)

Windows 8 support

15 October 2012 - 06:37 AM

Hi. I was wondering if anyone has tried connecting a Netduino Plus to a Windows 8 PC? I have installed SDK's and so, and the Netduino Plus is recognised as a Netduino, but newer shows up in Visual Studio. Netduino Go works fine...

Some questions about Netduino Go

10 October 2012 - 03:14 PM

Hi there.

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. :)

Errors compiling Netduino Go firmware

28 September 2012 - 12:58 PM

Hi

I have (with no success) been trying to compile a custom firmware to the NGo, but I get 100+ errors each time. Even with the standard firmware.

  • Downloaded and installed Porting Kit 4.2
  • Copied NGo source
  • Made some changes with wizard (can't EDIT the solution, has to CLONE - Did change for four lines to USB1 instead of other value)
  • Reverted the above 4 lines
  • cmd -> setenv_gcc4.6.cmd C:\GCC
  • cmd -> msbuild solutions\netduinogo\dotnetmf.proj /t:rebuild /p:flavor=release

After 20-60 seconds, I get 15 warnings and 92 errors.

Error example:

"C:\MicroFrameworkPK_v4_2\solutions\netduinogo\dotnetmf.proj" (rebuild destinat
ion) (1) ->
"C:\MicroFrameworkPK_v4_2\solutions\netduinogo\TinyCLR\TinyCLR.proj" (Build des
tination) (2) ->
"C:\MicroFrameworkPK_v4_2\Solutions\NetduinoGo\DeviceCode\USART_Config_HAL\dotN
etMF.proj" (Build destination) (131) ->
  C:\MicroFrameworkPK_v4_2\tools\targets\Microsoft.SPOT.System.GCC.targets(310,
5): error MSB3073: The command " "C:\GCC\bin\arm-none-eabi-gcc.exe" -xc++ -Wno-i
nvalid-offsetof -fcheck-new   -ffunction-sections -mlong-calls -fomit-frame-poi
nter -fdollars-in-identifiers -fshort-wchar -fno-exceptions  -funsigned-char -m
structure-size-boundary=8  -DTINYCLR_ENABLE_SOURCELEVELDEBUGGING  -DCOMPILE_THU
MB2  -DVERSION_MAJOR=4 -DVERSION_MINOR=2 -DVERSION_BUILD=0 -DVERSION_REVISION=0
 -DOEMSYSTEMINFOSTRING="\"Netduino Go (v4.2.0.0) by Secret Labs LLC\"" -DPLATFO
RM_ARM_STM32 -DPLATFORM_ARM_NetduinoGo -DTARGETLOCATION_FLASH -DLITTLE_ENDIAN -
DGCC_V4_4    -mfloat-abi=soft   -mcpu=cortex-m3 -mlittle-endian  -Os -DNDEBUG -
fno-default-inline  -IC:\MicroFrameworkPK_v4_2\Solutions\STM32Stamp\DeviceCode\
USART_Config_HAL -IC:\MicroFrameworkPK_v4_2\DeviceCode\include -IC:\MicroFramew
orkPK_v4_2\DeviceCode\Cores\arm -IC:\MicroFrameworkPK_v4_2\Support\Include   -I
C:\MicroFrameworkPK_v4_2\crypto\inc  -IC:\MicroFrameworkPK_v4_2\CLR\Include -IC
:\MicroFrameworkPK_v4_2\CLR\Libraries\CorLib -IC:\MicroFrameworkPK_v4_2\CLR\Lib
raries\SPOT -IC:\MicroFrameworkPK_v4_2\CLR\Libraries\SPOT_Hardware -IC:\MicroFr
ameworkPK_v4_2\CLR\Libraries\SPOT_Graphics -IC:\MicroFrameworkPK_v4_2\CLR\Libra
ries\SPOT_Net -IC:\GCC\lib\gcc\arm-none-eabi\\include -IC:\MicroFrameworkPK_v4_
2\Solutions\NetduinoGo -IC:\MicroFrameworkPK_v4_2\devicecode\Targets\Native\STM
32 -IC:\MicroFrameworkPK_v4_2\DeviceCode\Cores\arm -IC:\MicroFrameworkPK_v4_2\D
eviceCode\Cores\arm\Include -IC:\MicroFrameworkPK_v4_2\DeviceCode -IC:\MicroFra
meworkPK_v4_2\DeviceCode\Include -IC:\MicroFrameworkPK_v4_2\CLR\Include -IC:\Mi
croFrameworkPK_v4_2\DeviceCode\Targets\Native\STM32\NetduinoGo -IC:\MicroFramew
orkPK_v4_2\Support\Include -IC:\MicroFrameworkPK_v4_2\DeviceCode\include -IC:\M
icroFrameworkPK_v4_2\CLR\include -IC:\MicroFrameworkPK_v4_2\Crypto\inc    -o C:
\MicroFrameworkPK_v4_2\BuildOutput\THUMB2\GCC4.4\le\FLASH\release\NetduinoGo\ob
j\Solutions\STM32Stamp\DeviceCode\USART_Config_HAL\USART_Config_HAL.obj -c C:\M
icroFrameworkPK_v4_2\Solutions\NetduinoGo\DeviceCode\USART_Config_HAL\USART_Con
fig_HAL.cpp  " ended with code 1. [C:\MicroFrameworkPK_v4_2\Solutions\
NetduinoGo\DeviceCode\USART_Config_HAL\dotNetMF.proj]

If I doesn't add /p:flavor=release to the commandline, the compiler works for some minutes, and then returns 20 warnings, 208 errors (many of which is identifiers not found).

I have tried with several different compilers, CodeSourcery (2-3 different) and some others... to mention four specific:

arm-2007q3-53-arm-none-eabi
arm-2010.09-51-arm-none-eabi
arm-2010q1-188-arm-none-eabi
gcc-arm-none-eabi-4_6-2012q2-20120614

Basicly, what I'm trying to do, is to make a firmware with ENC28J60 driver, which (as far as I understand (not much)), I have set som specific GPIOs for. Is that even possible to do? I'm trying to make an as much integrated solution for ethernet, until the real modules is released (it was weeks in april/may)...

Thanks for help and time!

//Nicky

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.