Questions tagged [reset]

The reset line on a computer or other digital circuit places the circuit in a well defined initial state. Most microcontrollers have a built-in power-up reset to start the CPU executing code and may also have external resets and watchdog timers to help recover from unexpected events.

Filter by
Sorted by
Tagged with
0 votes
1 answer
62 views

ATmega 328P system reseting [closed]

I am working on an electronic system for irrigation. The system works well when I am using separate power supplies for the circuit and the 5 V relay. When I use a common 12 V power supply for both, ...
nad66's user avatar
  • 1
0 votes
1 answer
68 views

PIC reset pullup

I'm trying to repair a "Flexineb E2" veterinary nebuliser for somebody, it holds a charge and works plausibly well if the battery connection is briefly interrupted but will not power-on if ...
Mark Morgan Lloyd's user avatar
0 votes
0 answers
78 views

Is my tactile push button switch connected properly to reset my STM32?

Is my tactile push button switch connected properly to GND so that the NRST pin of my STM32 gets GND and resets the STM32 when pressing the push button? Please check if my schematic for the push ...
Bala's user avatar
  • 60
1 vote
1 answer
70 views

Connecting both 3.3V and GND switch to ESP32 EN pin?

I am a beginner and I am trying to make my own ESP32 development board, with a switch so that I can manually reset everything. I followed a tutorial online and it did this: My question is, why does ...
Lucas Jiang's user avatar
0 votes
1 answer
71 views

FPGA sync reset with filtering

I have been reading about FPGA reset strategies. One thing that it appears all can agree on is that the reset release should be synchronous with the system clock. For reset assertion, the opinions are ...
Gregory Helton's user avatar
0 votes
0 answers
69 views

Role of RTS and DTR With CH340X, STM32WLE5, STM32CubeProgrammer

I am trying to (design a PCB where I will) program a STM32WLE5C8U6 via UART from my laptop using a CH340X in between. The CH340X shows this application circuit in the datasheet: I understand what the ...
nothing's user avatar
0 votes
1 answer
71 views

Is it legitimate to apply reset logic to inputs only?

Let us consider this module for FPGA implementation: ...
alfred486's user avatar
0 votes
0 answers
56 views

How to properly trigger a soft reset on ARM Cortex R52?

I am porting a running project from Cortex M(Armv7) to Cortex R52(Armv8). On the former I just wrote VECTKEY(0x05FA) to AIRCR register which issued a soft reset immediately, without resetting all the ...
stenvar's user avatar
  • 741
1 vote
1 answer
131 views

74LS74 Circuit Analysis

I am a little new to digital logic circuits and found this circuit a little interesting. This is off a PCB that I desoldered and traced. It came out of a Molex terminal applicator. I was wondering ...
Erik Vincent's user avatar
0 votes
1 answer
78 views

MAX809S not working with a voltage divider on input

I am trying to get a MAX809S IC to work with a 24 V supply. The MAX should trigger at around 2.93 V at its VCC pin and turn the RESET pin high. Because the MAX is only rated at max. 6 V at the VCC pin ...
FullMetalJack's user avatar
2 votes
1 answer
70 views

Combined switch for microcontroller power and reset

I have a microcontroller that is powered by a battery. I wish to use a single switch to either reset the microcontroller OR to power it off. Is there a simple way to combine both functions in one ...
bansed's user avatar
  • 23
3 votes
2 answers
88 views

How to add "cold-reset" MOSFET to a I²C chip? Should it be a P-MOS or N-MOS?

Background I have a device which sports a couple of "IMU" chips - ICM-20602 and LIS3MDL - which both do not have reset functionality on a pin. They do have the ability to be rebooted by a ...
anrieff's user avatar
  • 5,429
13 votes
9 answers
5k views

What's a good way to assert in embedded microcontroller code?

It's good practice to use assert to test that things are that we expect them to be. Likewise, it's good to check that calls worked as expected and didn't error. In ...
SRobertJames's user avatar
0 votes
1 answer
187 views

Why does my STM32 only run once when flashed?

I have a custom board with an embedded STM32L451RETx LQFP64. I can load a firmware using either a J-Link or a ST-Link probe and run it. My problem is that when I trigger a reset or shut down the power ...
Hector Silva-Diaz's user avatar
1 vote
0 answers
186 views

Reset circuit with delay

While my background is EE, I've mostly worked as a firmware person. I'm designing a product that should reset about 5 seconds after being placed onto a charger. The delay is to allow time for data to ...
Jonathan's user avatar
0 votes
0 answers
30 views

dsPIC30F2010 reset help

I have tried to program a 30f2010 and its got code protected. Showing 0×00000 error. I have a PicKit2 but didn't know how to use it to reset ic. I've found something like this in the datasheet. How ...
Muhammad Asraful Emon's user avatar
1 vote
2 answers
127 views

ATTiny32xx, capacitor on RESET/UPDI pin

I am working on a project using an ATTiny3227. (Datasheet for reference) All ATTinys of this series share one pin for UPDI (programming) and RESET. In the datasheet it is recommended to add a ...
Reewen's user avatar
  • 85
1 vote
1 answer
253 views

AVR ATmega328P wrong fuses set

I was programming on the AVR ATmega328P using the USBasp programmer. I uploaded the blink example but the LED was not blinking. Thus I went on changing the fuse bits to the one Arduino has. During ...
kam1212's user avatar
  • 593
1 vote
3 answers
223 views

Why isn't my counter reseting in VHDL?

For a project, I need to write a binary counter in VHDL that starts at zero, counts to nine, and then resets to start at 0 again. I wrote the file below, which seems like it should function correctly. ...
elvishpotato's user avatar
0 votes
0 answers
537 views

How to reset the SIM7600 programmatically?

I am using SIM7600 (Maduino Zero) in IOT to post data from a remote appliance. Sometimes it loses connection to the wireless signal, and the only way to get it back is a reboot. I tried to do ...
John Henckel's user avatar
2 votes
1 answer
156 views

Problem using mosfet to reset a microcontroller (drain voltage too low)

I'm experimenting with a learning project, where I want to generate a "reset pulse" (from high-low-high) to trigger a reset of a microcontroller, an ESP8266. This is the only way to wake ...
joakimk's user avatar
  • 131
0 votes
1 answer
60 views

Voltage Supervisor (TPS3840DL) with Step-Down Converter (TPS54202)

I am trying to find the error in my schematic. I want to use the TPS3840DL supervisor to reset (turn off and on again) the TPS54202 step-down converter either when the voltage drops below the ...
pitchbent's user avatar
1 vote
1 answer
213 views

Should internally generated resets be asserted synchronously or asynchronously?

In my design, I have a subsystem that needs to be reset when a specific condition is met. The condition depends only signals that are outputs of flip-flops. I am considering these 3 approaches to ...
Shashank V M's user avatar
  • 2,321
1 vote
1 answer
68 views

Automatic MCU Reset for Battery-Powered Single-Button Product

I'm designing a battery-powered product with a USB-C PD charging port and a single user button. I'd like to be able to build in a feature for recovery and re-programming where the user holds down the ...
Chris Merck's user avatar
0 votes
0 answers
59 views

Inverting Arduino reset signal

I'm designing a general-purpose PCB for a 8051-family MCU. I make it compatible to use shields for the Arduino Uno. There is a snag with the reset circuitry, as an Arduino is active-low reset and the ...
Joe's user avatar
  • 187
0 votes
1 answer
88 views

How do you turn on a NE555 Timer in general?

I have a schematic where I'm using an LM741 op-amp as a voltage comparator when its Vout is HIGH/+Vcc it "allows it to operate the 555 timer" and therefore activates the buzzer, and vice ...
geekyhez's user avatar
0 votes
1 answer
48 views

Connecting load to circuit resets MAX809

I have a MAX809T which partially works fine, outputting high when voltage is above the threshold after a small 1 second time delay, and outputs low when the voltage is below the threshold. It also has ...
UnknownDagger's user avatar
1 vote
1 answer
359 views

Reset loop on ESP32C3 USB interface

I have a circuit with a soldered ESP32C3 module: This fairly closely mimics the schematic of a dev board with the same module. The ESP is at least partially functional, because when I attach to Linux ...
Reinderien's user avatar
  • 3,199
2 votes
0 answers
474 views

ESP32 GPIO State at reset/after reset

Im trying to understand in what state the gpio pins of the microcontroller will be when it will power up or when I flash new code. The mcu on both cases I assume will be at reset? The datasheet at ...
arisk4's user avatar
  • 85
0 votes
0 answers
860 views

How to make an ESP32 S2 not lose USB connection after uploading?

I am using an ESP32 S2 Mini, and I'm running into this problem: I put the unit into the "flash" state, by pressing the "0" and "RST" buttons. Doing this establishes the ...
Thomas Hirsch's user avatar
1 vote
2 answers
65 views

What does this PHY checklist item on hardware reset mean?

I was going through this checklist for this device regarding the RESET pin. In the checklist, on page 8, it is mentioned, "A hardware reset (RST# assertion) is required following power-up." ...
user avatar
1 vote
0 answers
162 views

Raspberry Pi 4 running OpenOCD can't flash ATSAMC21G18A that drives SWD pins

I'm attempting to flash a Duet 3 ToolBoard 1LC that drives some lights on the board using the SWD pins from a Raspberry Pi running OpenOCD 0.11.0. I'm using the following configuration: ...
Wulfsta's user avatar
  • 11
0 votes
0 answers
266 views

MCP2221A and ESP32-S3 Auto Program circuit?

I am currently trying to make my own development board but have run into a bit of a pickle. I want to be able to Auto Program the ESP32 since pressing a button each time is not something that I would ...
Ask's user avatar
  • 11
0 votes
2 answers
453 views

STM32F030F4Px MCU NRST pin: missing capacitor

I created a board with a STM32F030F4Px and am trying to connect to my micro over SWD using STM32CubeProgrammer. Each time I try to connect, I keep getting a message saying "Error ST-LINK error (...
Jack Frye's user avatar
  • 145
0 votes
1 answer
124 views

Need to hold the ESP8266-01S reset pin down until sufficient voltage is available

I am trying to run an ESP8266-01S in short bursts from a supercapacitor/solar cell combination. I have everything figured out (overvoltage protection, LDO regulator, etc) and it all works just like I ...
David Powell's user avatar
1 vote
3 answers
270 views

ESP-WROOM-32 resets when I load a page from my cellphone's Chrome app but not when I load the web app from Chrome on my PC

I'm having a problem with my ESP-WROOM-32. I have a web app that worked fine in my mobile phone until a page with contact information was added. This contact information page has 7 images in .png ...
vram's user avatar
  • 158
0 votes
1 answer
98 views

Remote reset circuit for an Arduino activated by a Raspberry Pi [duplicate]

I have a board running at 5 V and I want to be able to ground the ATmega reset pin from a Pi so I can reset the ATmega on demand. I need to make the reset voltage Pi safe. My first thoughts were to ...
Nikm's user avatar
  • 23
0 votes
1 answer
87 views

Reset mainboard from Raspberry Pi

I have a desktop computer with an Asus mainboard TUF_GAMING_B550-PLUS and a Raspberry Pi 4. I log in remotely to the computer, but unfortunately from time to time it has an operating system issue, ...
user7468395's user avatar
0 votes
2 answers
235 views

Behaviour Variables stored in non volatile memory after RESET [closed]

I need to know if a variable stored in a non volatile memory, after a Power On Reset do this variable return to its default value, or it keeps the last valid value before the reset
Oussama El Hassouni's user avatar
0 votes
3 answers
88 views

Low power reset pulse about every week

I have a microcontroller in deep sleep and I want to send it a reset pulse every week to do some periodic task. I have a power budget of about 1uA. I’m thinking of using a circuit like this but ...
Francois's user avatar
  • 577
3 votes
3 answers
354 views

I want to use a single switch for two pins

This is my microcontroller circuit, in which I'm using two switches. The first one is an ISP switch and the second one is a RESET switch. Is there any way to use only one single switch for both ...
Bhushan Waghe's user avatar
2 votes
2 answers
467 views

How to do a factory-reset on an AVR micro-controller?

I'm programming an ATmega32 chip, and have set some bits as 1 in some DDRs and PORTs. In case I forget what bits I had set to 1, is there a way to set all the register bits to a value(1 or 0) that was ...
Somanna's user avatar
  • 335
0 votes
2 answers
138 views

How to get an ARM M0+ controller to retain it's last executed instruction after reboot?

I want to give my application a capability under which, in case of power off, the system retains last executed instruction and once the power is turned on again it RESUMES the program sequence. Is ...
Pritesh gupta's user avatar
0 votes
1 answer
223 views

MOSFET switching causes MCU reset

I designed a small USB board with STM32F072 MCU. There is a P-channel MOSFET driven by the STM32 that is supposed to power an external board (with only nRF52832 module and a few ceramic caps). When ...
Jaryn6909's user avatar
1 vote
2 answers
83 views

CMOS 4031 -- how was power-on initialization done in its intended applications?

I'm looking at using a CD4031 as a digital delay line in a project I'm working on. In this project, I'd much rather said digital delay line power up in an all-0 state, lest errant 1s clocked out of ...
ThreePhaseEel's user avatar
2 votes
1 answer
44 views

Pad-to-Resistor trace too long in datasheet layout example (TLV803E)?

I'm layouting a board that includes the TLV803EF26DBZR voltage supervisor (or reset IC) chip. In the datasheet, it is suggested that the IC is layouted in the following manner: However, I wonder if ...
Designalog's user avatar
  • 4,010
0 votes
0 answers
65 views

Resetting a peripheral very often : potential long-term consequences?

Short version: I have a MRF24J40MD on a PCB which could require resets every 20 seconds. Is it fine to reinitialize peripherals very often (trigger reset pin then registers initialization)? What could ...
Carton_'s user avatar
  • 145
1 vote
1 answer
86 views

Reset an NE555 timer at a specific point

I want to reset an NE555 timer (by pushing a button) at the point where the output signal is at the end of the high voltage as highlighted in the diagram. How can I accomplish this? Since the time ...
jessica smith's user avatar
2 votes
1 answer
93 views

Reset of TM1638 display driver

I am trying to run a TM1638 display off the 6-pin program header of an ATMEGA328P that uses pins PB3, PB4, and PB5. The screen works fine, but the programmer works only if the screen is not connected. ...
Jay Dee's user avatar
  • 319
0 votes
1 answer
549 views

State of STM32 pins from factory and after chip erase

What is the state of pins for an STM32 MCU after chip erase or when the device is fresh from factory? I'm asking in search of a controlled way to power up and test a new board with STM32.
NoobPointerException's user avatar

1
2 3 4 5
8