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

Watchdog Reset Problem


Best Answer Paul Newton, 26 May 2014 - 07:09 AM

Hi Guido,

 

I have just looked at the Netduino plus V2 schematics.

 

The external reset appears to be an input only, I can see this because the /EXTERNAL_RESET signal is connected to the base of an NPN transistor. It can't act as an output, so it should not be affecting the reset chip.

 

Have you tried powering the reset chip from an external supply, whilst connected to the Netduino?

I am wondering whether the Netduino is affecting the 3.3V supply as it re-boots, causing the reset chip to give up.

 

On the schematic, the 3.3V on the header "+3V3_HEADER" appears to be connected to the 3.3V regulator via a transistor - it is controlled by a signal called "CTRL_OF_PWR_HEADERS" which is an output of the ARM chip.

 

The more I look, the more I think the power is being cut off when the ARM reboots. Also it looks quite hard to locate a place where you can access the unswitched 3.3V.

 

One place that looks like it might work, is the mini-jtag connector. This has +3.3V, Gnd, and /RESET pins. I guess that's perfect for a reset generator. If you were to modify the firmware, you might even be able to use one of the JTAG GPIO pins to send a don't reset signal to the reset chip using one of the other pads on the mini-jtag connector.

 

Hope this helps solve the problem - Paul

Go to the full post


  • Please log in to reply
4 replies to this topic

#1 dino4net

dino4net

    Advanced Member

  • Members
  • PipPipPip
  • 40 posts

Posted 22 May 2014 - 09:33 AM

Hello,

 

I try to get a MAX6371 watchdog chip working for some time now.

 

When I power the MAX6371 from a 3V battery and connect it to the reset pin on a Netduino 2 or Plus 2 board, I get a nice reset every 105ms and a low on the reset pin for 170ms. It's working perfect ...

 

When I power it from the Netduino 5V or 3.3V and don't connect it to the reset pin, it's also perfect. The signal on the reset output from the watchdog is as it should be.

If I now connect it to the reset pin, a reset is every 211s and the low on the reset line maybe 1ms if lucky. Sometimes it resets, sometimes not.

 

I use a 100k resistor to pull the reset line high, also tried different values.

Tried to put a low pass filter to the input voltage ...

 

Is there someone with an idea???

 

Thanks, Guido

 



#2 dino4net

dino4net

    Advanced Member

  • Members
  • PipPipPip
  • 40 posts

Posted 25 May 2014 - 10:07 PM

Does anybody know if the Netduino 2 has a bidirectional reset pin that acts as both, input and output? 



#3 Paul Newton

Paul Newton

    Advanced Member

  • Members
  • PipPipPip
  • 724 posts
  • LocationBerkshire, UK

Posted 26 May 2014 - 07:09 AM   Best Answer

Hi Guido,

 

I have just looked at the Netduino plus V2 schematics.

 

The external reset appears to be an input only, I can see this because the /EXTERNAL_RESET signal is connected to the base of an NPN transistor. It can't act as an output, so it should not be affecting the reset chip.

 

Have you tried powering the reset chip from an external supply, whilst connected to the Netduino?

I am wondering whether the Netduino is affecting the 3.3V supply as it re-boots, causing the reset chip to give up.

 

On the schematic, the 3.3V on the header "+3V3_HEADER" appears to be connected to the 3.3V regulator via a transistor - it is controlled by a signal called "CTRL_OF_PWR_HEADERS" which is an output of the ARM chip.

 

The more I look, the more I think the power is being cut off when the ARM reboots. Also it looks quite hard to locate a place where you can access the unswitched 3.3V.

 

One place that looks like it might work, is the mini-jtag connector. This has +3.3V, Gnd, and /RESET pins. I guess that's perfect for a reset generator. If you were to modify the firmware, you might even be able to use one of the JTAG GPIO pins to send a don't reset signal to the reset chip using one of the other pads on the mini-jtag connector.

 

Hope this helps solve the problem - Paul



#4 dino4net

dino4net

    Advanced Member

  • Members
  • PipPipPip
  • 40 posts

Posted 27 May 2014 - 10:37 AM

Hi Paul,

 

That "CTRL_OF_PWR_HEADERS" was a good tip. I connected the watchdog to the 3.3V from the mini jtag and it works like a champ.

Not sure if I try to change the firmware or add a connector to my board.

 

Thanks, Guido



#5 Paul Newton

Paul Newton

    Advanced Member

  • Members
  • PipPipPip
  • 724 posts
  • LocationBerkshire, UK

Posted 27 May 2014 - 08:17 PM

Happy to help.

 

Would be great to see a picture.

Even better if you add a wiki page!






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.