Questions tagged [debugging]
The process of identifying, quantifying, and correcting errors in the operation of a system
531 questions
0
votes
1
answer
51
views
Stray voltage on NC terminal of OR logic diode setup
I am using the following diode configuration to dissipate heat from my resistor. The diode I am using is B260-13-F (datasheet).
The resistor is a heater that would be powered using any one of the two ...
0
votes
0
answers
56
views
No EEPROM detected - FT2232H - 93LC56BT-I/OT
I just copied the LaunchPad_F28379d's programming section and was trying to flash the FTDI+EEPROM using FTDI-FT Prog and file F28379D_LAUNCHXL.xml
Initially, I was not able to detect the FTDI chip on ...
1
vote
2
answers
179
views
Schmitt trigger debouncing circuit failure
I have use debouncing circuits for simple mechanical switches (which are connected to the left side of the schematic)
It worked just fine on production and a number of devices are deployed in fields. ...
-1
votes
2
answers
78
views
How to find and test for broken connection in circuit soldering?
I have a potential divider circuit that worked previously on PSOC board, now there is a broken connection somewhere as regardless of what resistors I connect. The measured resistance is same as that ...
0
votes
0
answers
34
views
Debugger for ADSP-218x -> EZ ICE - Any known equivalent?
I’m searching for a solution to debug an old project that embed an ADSP-2186.
Unfortunately it looks like the ‘only’ compatible debugger is the EZ ICE emulator and it cannot be find anywhere thus far… ...
0
votes
1
answer
170
views
Custom PCB STM32U5 cannot connect with STLink/V2
I'm new to PCB design and I'm currently trying to debug an issue with a design that uses an STM32U545NEYxQ. The problem is that the board cannot communicate with the STLink/V2.
When I try to connect ...
2
votes
2
answers
141
views
Resistances measure different inside the circuit
I made this circuit on the breadboard at the lab and I connected it to a lab psu which is powered off.
From my understanding the 100k resistor which has one terminal at the +5V and the other to the ...
0
votes
0
answers
108
views
How do I debug Modbus timeout error?
I am an undergraduate researcher trying to connect my PC to a Eurotherm 3508 controller (see Eurotherm 3508 manual here: https://www.eurotherm.com/download/3504-3508-engineering-manual-ha027988-iss-19/...
0
votes
0
answers
44
views
Direct connection swdio to PSoC-4 cypress cy8c42xxx
I'm trying to connect PSoC-4 cypress cy8c4245lqi to flash it. Connecting directly to chip via SWD line.
Pinout here
...
2
votes
2
answers
315
views
Unwanted filtering in OpAmp Audio Circuit
I'm designing an amplifier circuit with two op-amp stages using the TLV2322 for a microphone preamp, which will feed an ADC. The microphone has a maximum expected amplitude of 20mV, and my goal is to ...
0
votes
0
answers
117
views
Why does Modbus communication work on UART4 but not on UART2 in STM32?
I am working with Modbus communication using an external device (Aster TDS Meter) connected via an RS485 module. The Modbus settings for the external device are:
• Baud rate: 9600
• Data bits: 8
• ...
0
votes
2
answers
196
views
STM32L031G6U6 schematic review and questions on programming it
I have mostly spent time with Atmega and Atsam boards and would like to test and learn STM microcontrollers. I have never worked with SMT32 boards as such and some of my questions maybe to obvious. I ...
1
vote
2
answers
148
views
Power switching module works on paper but not in real life
I have created a power switching module for the purpose of manually swapping power sources to a flight computer FC. NC and NO are both inputs, where any battery connected to NC powers the FC when both ...
0
votes
1
answer
70
views
How to Debug PCBs - Ardino Nano and Shift Registers
Over the last couple of months I've build a small system based on an Ardino Nano. Because it has a limited number of pins I've used a few 74HC595 Shift Registers chained together to increase the ...
-1
votes
1
answer
128
views
What Oscilloscope to buy? [closed]
I recently made some posts on an issue I am having with executing a READ ID operation from an FPGA to a SPI Flash:
AT25SF081 SPI Flash FPGA issue narrow
AT25SF081 SPI Flash waveform timing ...
2
votes
0
answers
73
views
Opamp Constant Current Driver Weird Behavior
I put together this circuit for driving a laser diode channel with a forward voltage of 16V at 3A. I have made this circuit before, tested and made PCB's that all work perfectly. The ones I made ...
0
votes
1
answer
126
views
STM32 - compile in debug and release mode - can it be done per file?
Maybe a stupid question - but I searched cand couldn't find a good solution...
I'm running into an issue with memory on my STM32 project.
Is there a way to compile all files in release mode (smaller ...
0
votes
1
answer
146
views
Does ST-LINK or FT232H works with Renesas MCU?
How can I debug do hardware debug, I have ST-LINK and FT232H, would it work with Renesas MCU? Also, if anyone has used e2 studio, then please guide me.
I have a project for a sensor and in that sensor'...
3
votes
0
answers
84
views
Chopping behavior of ADC output
A group parterner of mine is calibrating a board, and the ADC output is somewhat confusing
A closer-up view at one of the 1.5v platforms looks like this
So it seems as if the output has been ...
0
votes
0
answers
69
views
Load cycler keeps stalling at same voltage
Hello I am building a load cycler using an arduino with this code:
...
2
votes
1
answer
103
views
Reference for pinout out of Segger EDU target board?
I'm in the middle of a board design where the processor uses the segger ten pin pinout. For example this debugger from adafruit. I can't find a good pinout of the connector that shows the orientation ...
0
votes
1
answer
174
views
MOSFET switch unreliable
I am using a MOSFET to drive a lamp from an Arduino Uno R4 with 5V level pins with the following configuration:
(EDIT: typo in the schematics, R2 is connected after R1, but that gives just a 1% ...
1
vote
0
answers
78
views
PWMs from microcontroller are resetting
I have been designing an SMPS where the STM32F334R8t6 microcontroller provides the full bridge control signals. The microcontroller board uses a 5 V and 3 V regulator to supply the MCU and the CAN ...
1
vote
1
answer
167
views
Understanding the components of backlight circuit of digital watch [closed]
I am not a hardware engineer. I studied basic electronics 15 years back in school days, so you can consider me a noob.
I have a digital watch in which all the features (time, alarm, chime, etc) work ...
2
votes
1
answer
257
views
Partially nice waveform on debugger pin
I am looking at the waveform on my SWDIO pin during programming and most edges look very nice, but some do not.
Is this likely to be problematic?
What are probable causes?