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

How do I reset Netduino Mini?


  • Please log in to reply
11 replies to this topic

#1 Omar (OZ)

Omar (OZ)

    Advanced Member

  • Members
  • PipPipPip
  • 564 posts

Posted 19 November 2010 - 02:51 AM

I had a successful connection between the netduino mini and VS. After deploying a program, the program ran but the mini isn't responding anymore. Is the a reset pin/pad or total erase pad (like the netduino, and netduino plus)on the mini? Also if it helps the .NET MF Deploy tool isn't talking to it either, and Tera Term will connect but won't show the menu when I press Esc. Thanks

#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 19 November 2010 - 04:05 AM

Omar, First of all, don't completely erase your Netduino Mini unless you have an RS232 connection. You can erase and reflash your Netduino Mini from scratch--but you have to do so via RS232, not 3.3V TTL. If you've created an app which is locking out your PC (perhaps using the COM port for something other than debugging), you can put the Netduino Mini into "bootloader" mode. To erase the app on your Netduino Mini: 1. Apply 0-12VDC (3.3V/5V is fine) to pin 3 (the DTR line). 2. Start MFDeploy.exe on your computer; select the serial port you use for deployment/debugging. 3. Remove power from the Netduino Mini 4. Re-power the Netduino Mini 5. Within 5 seconds, press the ERASE button in MFDeploy. You can also press PING to see that you're in TinyBooter mode. 6. Once you've erased your Netduino Mini app, remove power from the DTR pin and remove power from your Netduino Mini. Does that fix things for you? Chris

#3 Omar (OZ)

Omar (OZ)

    Advanced Member

  • Members
  • PipPipPip
  • 564 posts

Posted 19 November 2010 - 10:03 PM

5. Within 5 seconds, press the ERASE button in MFDeploy. You can also press PING to see that you're in TinyBooter mode.

Chris


MFDeploy doesn't get a response from the mini even when in TinyBooter mode.

#4 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 19 November 2010 - 10:07 PM

Can you take a photo of how you have the Mini plugged into power, serial, etc.? Also, dumb questions: (a) is it powered up for sure; (B) if you short a jumper between the TX and RX wires and press a key in Putty, does it echo back (showing that your serial link is working); © did you change anything back? Chris

#5 Omar (OZ)

Omar (OZ)

    Advanced Member

  • Members
  • PipPipPip
  • 564 posts

Posted 19 November 2010 - 10:41 PM

Can you take a photo of how you have the Mini plugged into power, serial, etc.?

Also, dumb questions: (a) is it powered up for sure; (B) if you short a jumper between the TX and RX wires and press a key in Putty, does it echo back (showing that your serial link is working); © did you change anything back?

Chris


A) yes - red led shows that 5V out is working.
B) yes - when i short them and press a key the TX and RX leds light up and the keys are echoed back.
C) no - nothing has been changed since the first time it worked.

Attached Files



#6 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 19 November 2010 - 10:48 PM

Omar, 1. Disconnect the "DTR" pin completely. 2. Place a jumper wire between the "DTR" pin (pin 3) and the 5V regulated output 3. Start up MFDeploy, select your USB-TTL UART adapter's COM port 4. Disconnect the 9V battery to depower the Mini 5. Reconnect the 9V battery to power the Mini 6. Press "PING" in MFDeploy. What does it say? Chris

#7 Omar (OZ)

Omar (OZ)

    Advanced Member

  • Members
  • PipPipPip
  • 564 posts

Posted 19 November 2010 - 11:01 PM

Omar,

1. Disconnect the "DTR" pin completely.
2. Place a jumper wire between the "DTR" pin (pin 3) and the 5V regulated output
3. Start up MFDeploy, select your USB-TTL UART adapter's COM port
4. Disconnect the 9V battery to depower the Mini
5. Reconnect the 9V battery to power the Mini
6. Press "PING" in MFDeploy. What does it say?

Chris


sorry about that, I had already done that and it said "Pinging... Error: No response from device". some additional information... The application runs and once it ends I still get this "Pinging... Error: No response from device" from MF Deploy when I ping.

#8 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 19 November 2010 - 11:17 PM

Hi Omar, Do you have any other programs open which are using the COM port? If you apply power to the DTR line during power-up, the unit should _always_ go into bootloader mode. Just to double-check...does the Netduino Mini actually boot and start your app when you have its DTR pin connected to 5V power? Chris

#9 Omar (OZ)

Omar (OZ)

    Advanced Member

  • Members
  • PipPipPip
  • 564 posts

Posted 20 November 2010 - 12:16 AM

Hi Omar,

Do you have any other programs open which are using the COM port?

If you apply power to the DTR line during power-up, the unit should _always_ go into bootloader mode.

Just to double-check...does the Netduino Mini actually boot and start your app when you have its DTR pin connected to 5V power?

Chris


1.) Not that I know of, can I check?
2.) It does not, the app does not run.

#10 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 20 November 2010 - 12:20 AM

On #1, reset your computer--and then try the "bootloader" operation before starting any other programs. On #2, if your app does not start when DTR is driven high (but the LED you have hooked up to 5V output lights up), your Netduino Mini is in bootloader (TinyBooter) mode. It should respond to pings from MFDeploy. Chris

#11 Omar (OZ)

Omar (OZ)

    Advanced Member

  • Members
  • PipPipPip
  • 564 posts

Posted 20 November 2010 - 12:33 AM

On #1, reset your computer--and then try the "bootloader" operation before starting any other programs.
Chris


Well this is getting interesting... I did that, it returned the normal stuff after a PING, when I tried to erase it wasn't working anymore. Thanks for all that info Chris, I am going to do my thousand step troubleshooting process now.. installing drivers for FTDI, safe boot, check, triple check... blah blah. I really want to get this figured out so I can do a tutorial of things learned >.>

EDIT
well... I guess that I should go out and get a good multimeter. My 9V battery wasn't supplying the necessary voltage. The 5V power LED light up, but when I changed to a AC to DC power supply(regular 12V output transformer thing.) it works.... Alright then, lets hope it stays working :)

#12 steenis

steenis

    New Member

  • Members
  • Pip
  • 2 posts

Posted 01 July 2012 - 09:44 AM

Hello Chris, Is there already an answer to the question of Omar? I am having the same problem. I cannot get a response from the mini on com1. If I apply the reset-procedure, the mini is not going into bootloader mode, and the loaded program keeps on working. The mini is not pinging on com1, even is the DTR is connected to 5V. So I do not know what to do. I have the same (3.3V) USB-to-serial connection to the PC as Omar, RX is connected to RX, TX is connected to TX. PuTTY or TeraTerm is not responding to escape, but the red led on the littel red board is flashing if I hit the escape. (I am new here.) Hugo van Steenis




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.