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.
405
questions
0
votes
1
answer
22
views
555 Bi-Stable mode gets triggered by reset pin
I prepared a Bi-stable 555 circuit based on below schematic. Threshold pin is connected to ground as suggested. Many tutorials left it to float. I remember like once I faced some issue by leaving ...
0
votes
1
answer
40
views
ESP32 resetting Adafruit EMC2101 (TCA9548A) using a 10k resistor?
Do I just need to add a 10 kΩ resistor on one of the GPIO pins of my ESP32 in order to use it to connect to the TCA9548A (Adafruit EMC2101) reset pin?
The RST pin on the TCA9548A (Adafruit EMC2101) ...
0
votes
0
answers
63
views
SD card via SPI: any way of getting it out of stuck state after aborted SPI operation(s) without power cycling it?
using ESP32 and its IDF platform libraries to access SD card via SPI, we have a situation where e.g. panic reboot of ESP32 leaves the SD card 'stuck' such that it cannot be mounted any more after ...
4
votes
7
answers
2k
views
What happens if a microcontroller stays in reset?
Triggering a reset with the reset pin is usually expected to be an event, but what happens when a microcontroller's reset pin stays triggered?
For example, I am working with an STM32F411RE on a ...
0
votes
2
answers
150
views
STM32 not starting when supply voltage not dropping to zero
I am facing start-up issues during power on for the STM32L433.
When voltage comes from zero everything works fine. But, if I disconnect the power supply from the wall socket and its internal ...
0
votes
0
answers
12
views
STM32F -- flashing with StLink/STM32Cube, afterwards Keil ULink does not connect
Flashing a board with STLink+STM32Cube, them Keil uLink does not connect. Erasing board with STLink+STM32Cube, same problem. The HW is proven from many other boards, but using STLink for 1st ...
3
votes
1
answer
116
views
Reset issue while issuing commands to SD card
I am busy with a project where I'm trying to make a custom flashcard for the Gameboy (for more details, refer to https://efacdev.nl/projects/ecgc). For the flashcard, I am trying to load games from an ...
0
votes
1
answer
68
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, ...
0
votes
1
answer
75
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 ...
0
votes
0
answers
101
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 ...
1
vote
1
answer
134
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 ...
0
votes
1
answer
84
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 ...
0
votes
0
answers
143
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 ...
0
votes
1
answer
75
views
Is it legitimate to apply reset logic to inputs only?
Let us consider this module for FPGA implementation:
...
0
votes
0
answers
106
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 ...
1
vote
1
answer
191
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 ...
0
votes
1
answer
91
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 ...
2
votes
1
answer
80
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 ...
3
votes
2
answers
100
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 ...
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 ...
0
votes
1
answer
253
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 ...
1
vote
0
answers
310
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 ...
0
votes
0
answers
52
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 ...
1
vote
2
answers
185
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 ...
1
vote
1
answer
362
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 ...
1
vote
3
answers
289
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.
...
0
votes
0
answers
861
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 ...
2
votes
1
answer
214
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 ...
0
votes
1
answer
81
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 ...
1
vote
1
answer
251
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 ...
1
vote
1
answer
78
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 ...
0
votes
0
answers
64
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 ...
0
votes
1
answer
117
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 ...
0
votes
1
answer
59
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 ...
1
vote
1
answer
492
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 ...
2
votes
0
answers
630
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 ...
0
votes
0
answers
1k
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 ...
1
vote
2
answers
67
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."
...
1
vote
0
answers
182
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:
...
0
votes
0
answers
372
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 ...
0
votes
2
answers
603
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 (...
0
votes
1
answer
155
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 ...
1
vote
3
answers
334
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 ...
0
votes
1
answer
120
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 ...
0
votes
1
answer
93
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, ...
0
votes
2
answers
297
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
0
votes
3
answers
94
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 ...
3
votes
3
answers
366
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 ...
2
votes
2
answers
593
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 ...
0
votes
2
answers
154
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 ...