Questions tagged [debugging]
The process of identifying, quantifying, and correcting errors in the operation of a system
531 questions
0
votes
1
answer
53
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
29
views
Why do STM32WL55 example projects have “SingleCore” and “DualCore” versions, but STM32CubeIDE only generates Dual-Core structure
I am working with the STM32WL55CC (48-pin package). When I imported the official STM32CubeWL example projects from ST, I noticed that they provide both SINGLE CORE and DUAL CORE versions. But the ...
0
votes
0
answers
62
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 ...
0
votes
1
answer
42
views
Singular matrix: check node error
What is the problem in my circuit? I tried changing the voltages but its no use. I made the same circuit that was working but it’s not working now. What is wrong with it? I’d be grateful for your help....
1
vote
2
answers
181
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. ...
4
votes
2
answers
582
views
Printer motherboard part identification
I got an ET-8550 printer at goodwill for cheap. It doesn't power on. I'm an electrical engineer by day so thought it be fun to fix. I have located the issue and found that it's on the main board ...
-1
votes
2
answers
79
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
1
answer
102
views
EMC - conducted emission issue
The picture below is for a part of larger circuitry, but it's the part where EMC noise is coming from and causing the conducted emission test to fail.
Any hints on when to start to deal with this ...
0
votes
0
answers
36
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
2
answers
90
views
INA317 Instrumentation amplifier with strain gauge strange behaviour
I have designed a PCB to read a strain gauge, in which I've used an INA317IDGKT instrumentation amplifier with a gain set to 200.
The strain gauge i'm using is the ATO-LCC-DYMH-103 100kg, supplied ...
0
votes
1
answer
181
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 ...
0
votes
0
answers
108
views
Rigol DS1054Z channel front end debug
CH2 of my Rigol DS1054Z is bad, it fails calibration even after the scope is warmed up, amplitude of the captured signal is lower than other channels, DC bias is higher than other channels.
I have ...
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 ...
2
votes
2
answers
117
views
TM4C123 External Debugging With XDS200 and USB100v2
I have a EK-TM4C123GXL LaunchPad includes TM4C123GH6PM. I want to debug that with BLACKHAWK XDS200 or BLACKHAWK USB100v2.
I am using CCS v11.xx and Uniflash programs. My connections are like that;
...
0
votes
0
answers
117
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
52
views
Normal sequence for Boundary Scan EXTEST operation
Context
I'm currently working on implementing a Boundary Scan Test (IEEE 1149.1) "plugin" using J-Link debuggers.
The TAP line control is already set up via the J-Link DLL, and I've ...
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
...
0
votes
0
answers
53
views
Is there a situation where SWDIO and UART2_TX should be connected in a normal design?
I'm reverse engineering the PCB shown. I ran into an issue where whenever I enabled UART2, the debugger would disconnect and have issues reconnecting. After tracing it, I found out that the SWDIO pin ...
2
votes
2
answers
317
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 ...
1
vote
2
answers
102
views
BLE Antenna Issues on Custom nRF52840 PCB
I need some help troubleshooting a BLE antenna issue on our custom nRF52840 PCB. Any insights would be greatly appreciated.
Issue:
BLE sometimes advertises on a mobile phone but disappears after a few ...
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
• ...
1
vote
1
answer
141
views
POE custom design heating issue using Si3404
I recently designed a schematics and PCB using Si3404 reference design. Now when i plug the POE, PCB get heatup. I have almost everything same with my schematics and reference schematics except for ...
0
votes
2
answers
204
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 ...
2
votes
1
answer
229
views
AVR microcontroller dead after trying to enter debugging session
this is already the second time I encounter this strange problem:
I am using an AVR microcontroller with microchip studio.
I wanted to enter a debugging session with "Start debugging and break&...
1
vote
2
answers
152
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 ...
4
votes
1
answer
731
views
Probing many test points on PCBs
I often have to trouble shoot one-off instruments. At the moment if I can't get a hook probe onto a pin I will scratch off some solder resist or use a pad to solder a flying wire to the board.
I'd ...
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 ...
0
votes
0
answers
115
views
FPGA Flash Corruption
It seems that I have corrupted the AT25SF081 Flash chip which I am trying to learn about!
I sent it a Write Status Register command from the iceFUN FPGA, and now it ...
-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 ...
0
votes
0
answers
120
views
Why is my V-out 0.7V?
I am a university student and I am new to using switching regulators. I am trying to design a USB-C PDboard with the TPS552882 TI PMIC chip.
I am getting a voltage output of 0.7V. While I was reading ...
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 ...
2
votes
0
answers
98
views
Programming failed with error message "[ Pgm ] at 0x1d000040, expected 0x8fc30008, got 0x8bc30008."
I am getting the above error while programming PIC MCU
Following are the things I am using:
PIC32MX675F512L
MPLAB X IDE V6.20
PICKit5
Here is full error:
...
0
votes
1
answer
127
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
0
answers
82
views
Not able to debug using STM32F407G MCU in STM32CUBEIDE
Context: I did a project using this microcontroller and it works but i am not able to enter Debug Mode as it shows the following in the console screen:
...
0
votes
1
answer
149
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'...
0
votes
1
answer
136
views
ADG849 Analog Switch Circuit Failure Analysis
I've designed a tester for one of my products and part of what the tester does is provides one of two voltages to my unit under test. The two voltages are generated by a sub-circuit shown below, based ...
3
votes
0
answers
96
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 ...
1
vote
1
answer
292
views
Output voltage decreases when load is removed in LM317T Voltage Regulator Circuit
I'm experiencing an issue with my LM317T voltage regulator circuit:
All the caps here are electrolytic, except for the 100 nF ones, they are these small SMD ones.
The circuit is designed to provide ...
0
votes
0
answers
71
views
Load cycler keeps stalling at same voltage
Hello I am building a load cycler using an arduino with this code:
...
1
vote
0
answers
567
views
Debugger/Programmer Invalid Target Device
I use a PicKit5 to program a PIC24EP128MC202 using MPLAB x IDE v6.20 with XC16 Compiler, I recently fixed some memory model issues and I ran into this problem where "Invalid Target Device"
...
2
votes
1
answer
106
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
198
views
Perfboard short circuit debugging
I've got a perfboard circuit I put together that's drawing 1.7A when just the 5V and GND pins are connected. As you might have guessed, this is not ideal given the existing components.
The A4988 motor ...
0
votes
1
answer
175
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% ...
2
votes
1
answer
336
views
Memory view is showing multiple bytes change after a single byte is assigned to a register. Why?
I am debugging an issue I have on a legacy codebase that is running on an atxmega32c4u chip. I am writing single bytes to registers in PORTC, but the memory view is showing multiple bytes change. The ...
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 ...
0
votes
1
answer
112
views
SAMD51 SPI on SERCOM0 not working as expected
I'm trying to use a SAMD51G19 48 pin package to write a very simple SPI program, which will just loopback what's output back into the input, but I'm still new to this processor and haven't done SERCOM ...
1
vote
1
answer
170
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 ...
0
votes
1
answer
100
views
MAX1415 ADC not reading voltages correctly. Incorrect setup procedure?
My device uses two of the MAX1415 dual-channel sigma-delta ADCs. I've labeled them "MADC" and "CADC" for "Measurement ADC" and "Calibration ADC". They are ...
2
votes
1
answer
264
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?
0
votes
1
answer
166
views
Damaging of SWDIO and SWDCLK pins when they are used as output/uartRX
We are developing board with LPC54616. All pins are already used, so we have to use also programming pins, SWDIO as output pin and SWDCLK as uart RX (both signals are connected to additional modul of ...