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.

Riaan Mastenbroek

Member Since 01 May 2015
Offline Last Active Oct 03 2016 05:54 PM
-----

Topics I've Started

GPRS Shield V2 Power Down

07 June 2015 - 06:44 AM

Hi,

 

I have a GPRS Shield V2 and need some assistance with the power down - perhaps someone can help. For some reason the GPRS Shield freezes and I want to power it down and up again. 

 

Here is what I did:

 

1. ) If I push the reset button on the netduino it does not reset the GPRS Shield.

2.) I soldered the JP pads on the GPRS Shield together in order to allow me to power up / down via Pin 9

3.) I add the following code to my project:

 

var gprsPwr = new OutputPort(Pins.GPIO_PIN_D9, false);
 
            gprsPwr.Write(false);
            Thread.Sleep(1000);
 
            gprsPwr.Write(true);
            Thread.Sleep(2000);
 
            gprsPwr.Write(false);
            Thread.Sleep(3000);
 
4.) Nothing happens when the code executes?
 
5.) When I push Reset on the GPRS shield using the push button - nothing happens and the shield does not seem to power down?
 
What am I doing wrong - Any Ideas?
 
Riaan
 

 


Watchdog

05 June 2015 - 07:00 AM

Hi,

 

I have a strange problem when running my Netduino. For some reason it seems like a thread to read smsses from my GPRS shield just hangs the board at any interval. It might run 2 hours or 30 mins but then it seems like all the threads just stops.

 

I have read some posts on watchdogs and more specifically the hardware watchdog.

 

Are there any available in the market to buy or what would you recommend. I would not like to put this at a client and have to reset the device every now and then.

 

Riaan


SerialPort BytesToRead only ever returns 256

25 May 2015 - 07:25 PM

Hi,

 

For some reason my serialport only ever returns no more than 256 bytes if I run this code after I did a write:

 

while (_modemConnection.BytesToRead > 0)
                {
                    response += (char)_modemConnection.ReadByte();
                }
 
                return response;
 
How can I get the next 256 and so on...I know there is way more to come and I can see only a part of the expected string.
 
Riaan

System.Exception when I now run my code after upgrade to 4.3

13 May 2015 - 10:29 PM

Hi,

 

When I run my code that worked fine in 4.2 on my Netduino Plus 2 I now get this error on my Netduino 3 :

 

A first chance exception of type 'System.Exception' occurred in Microsoft.SPOT.Hardware.dll. When I continue I get this error:

 

An unhandled exception of type 'System.NullReferenceException' occurred in Netduino.IP.LinkLayers.CC3100

 

It seems like this error happens in the Main method after approx 200-500 ms.

 

Any Ideas....I would hate to revert back.

 

riaan

 

 


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.