Questions tagged [debugging]
The process of identifying, quantifying, and correcting errors in the operation of a system
420
questions
0
votes
1
answer
31
views
ESP32 S2 hanging but only when not connected to serial
I got a Lolin S2 mini development board, featuring an ESP32 S2.
We're building a follow-me robot. The DC motors are controlled by this motorshield via I2C.
The motorshield requires a modified library....
0
votes
1
answer
36
views
ESP32-C3 JTAG/USB debugging issue with ESP-IDF
I am using ESP32-C3 module and I want to debug my code through USB/JTAG.
For USB interface I have used TYPE C connector with ESP32-C3.
Connections are as follow but the device does not get recognized:
...
0
votes
0
answers
12
views
Error while connecting to the target TMS320F2812 with code compser
I am trying to connect to my target:TMS320F2812 the first time after powering up the board,using code composer via JTAG but i am getting this error :
What can i do to fix this?
Please note that :
I ...
-1
votes
1
answer
75
views
What's wrong with level shifter output? [closed]
I was trying to understand what wrong about the output of the level shifter, the level shifter is part of my circuit that I trying to bring-up and encountered difficulty in this issue.
This is the ...
0
votes
0
answers
19
views
Xilinx Zynq UltraScale+ MPSoC: XSCT Registers
Currently I am debugging a Xilinx Zynq UltraScale+ MPSoC (XCZU2CG-sfvc784-1-e, to be exact). I can connect to it and get all my JTAG DAPs. When I enter rrd into the ...
0
votes
0
answers
29
views
trace32 error "bus error generated by CPU"
I am trying to Boot a DSP TMS320F2812PGFA on his internal SARAM using trace32. The tool detects the processor and i can see it but when i try to run a script, where i initialize the clock and other ...
0
votes
0
answers
54
views
HDMI debug issues over wireless
I have designed board that carrier transmitter HDMI module.
There are TX side and RX side, the board works well except one issue that which takes a lot of sleepless days from me.
this is the ...
0
votes
3
answers
71
views
ESP32 boot strapping pins problem (GPIO15 and GPIO5)
I am desiging a PCB that includes an ESP32. I have question about strapping pins of the ESP32-WROOM-32E. My design is suitable below picture only for GPIO 0,GPIO 12,GPIO2 pins.
Unfortunately, I have ...
0
votes
1
answer
38
views
Need help fixing an old TIG welder, Relay is not working and I can't figure out why
I have an old TIG welder that uses a relay to HF (High Frequency) start. I had a problem with it about a year ago and cleaning seemed to work, but now it's not even getting 12VDC to it.
Here's the ...
1
vote
1
answer
35
views
Why is my MC14504B circuit acting strangely?
Chip in Question: ON Semiconductor - MC14504B
Datasheet Link: https://www.onsemi.com/pdf/datasheet/mc14504b-d.pdf
Issue at Hand:
I am intending to use this chip alongside Arduino Mega 2560. When I ...
2
votes
0
answers
37
views
DebugMon_Handler not triggered even after configuring DWT (Data Watchpoint and Trace) to look for memory writes
Can anyone advise why my actions described below do not work?:
I have been trying to run the code snippet from the post Can Cortex M4 data watchpoint trigger an interrupt without a debugger? on(...
0
votes
1
answer
84
views
DC-DC converter fault output
We have a design using 4 EM2130L02QI dc/dc converter all with very similar routing and component placement. the output gets shorted to GND and never changed . the same board that contain with another ...
3
votes
1
answer
93
views
Inverting DC-DC converter input ripple issue
I'm trying to implement an inverting Cuk DC-DC converter on a 2 layers PCB, in order to generate a -3.3V rail from 3.3V, but the circuit affects greatly the input rail. The 2 rails are used to power 4 ...
10
votes
3
answers
2k
views
What would it mean if a circuit board all of a sudden works after it doesn’t work for some time?
Sorry for my noob question. I am very new to debugging hardware circuit boards.
A circuit board was not working. After measuring a voltage rail it was jumping from 12V to 0V, and back to 12, etc. what ...
1
vote
1
answer
35
views
Logic analyser/trace error in Keil uVision5 with Nucleo M4 Board
I am currently using a NUCLEO-WL55JC board. However, I could not initialize the logic analyzer because of the error "Trace: No Synchronization". I am programming it as single-core (Cortex M4 ...
2
votes
1
answer
61
views
How do I make these MIPI signals better?
I have a system which transmits 1 Gbps single lane MIPI video over several flex circuits. Where each flex circuit connects to its neighbour, I have placed a MIPI repeater chip: SNx5DPHY440SS. At the ...
1
vote
1
answer
69
views
Does ARM gdb not have TUI layout support?
If it run
arm-none-eabi-gdb -tui myProject.elf
This returns
TUI mode is not supported
If I run it without the -tui flag and ...
13
votes
2
answers
2k
views
My PCB works only when I spray isopropyl alcohol on it. Why is that?
I'm observing a strange behaviour in some of my PCBs: they start working only when I spray isopropyl alcohol on them (or, to be more specific, the boost converter starts doing his job only after I ...
1
vote
3
answers
150
views
Using a LED as a debug serial port
I want to add a debug serial output port to a device that's sealed in epoxy. I plan to use one of three existing 3mm LEDs (red 617nm, green 568nm, or yellow 588nm), ±30° angle, that emerge from the ...
0
votes
1
answer
55
views
What is the explanation for a haptic effect when tracing one's finger along a powered device's chassis? [duplicate]
I have a mid-2012 Macbook Pro Retina, and over the years I notice that when I wipe my finger along the surface of the chassis (like when wiping off dust), I sometimes feel a vibrating effect, a more ...
26
votes
1
answer
1k
views
Laptop motherboard not working, quiet clicking noise
Intro how it happened:
I had cleaned my laptop from dust and reapplied the thermal paste. After this i have reassembled the device than it did not turned on. Then i took it apart connected the fan and ...
0
votes
1
answer
77
views
How to monitor your code execution written for any electronic device while they are operating?
I am working on a mobile robot that includes motors, proximity sensors, encoders, and MCU. I am powering my MCU CC1350 Launchpad using the onboard power supply. The IDE I am using is Energia IDE, ...
0
votes
0
answers
154
views
Error in Upgrading ST-link V3 to J-Link
I am getting the following error from the STLinkReglasher program while converting the standalone ST-Link V3 debugger into J-Link.
ERROR: Cannot find an ST-LINK, multiple ST-LINKs plugged in, or ST-...
0
votes
0
answers
14
views
Debug Network layer in uVision 5.23
For some reason my application running on the MDK network stack is not working properly. I want to debug network components. Through some browsing, I found out we can use Event Recorder feature of ...
0
votes
0
answers
30
views
How to decide if Flyswatter2 can support a particular development board or not?
I am new to JTAG debugging and have already got a Flyswatter 2 unit with me. This is my first experience with any JTAG debugger so I am not really sure what to look for to find if its compatible with ...
1
vote
1
answer
49
views
FTDI Debugger Load Switching
I’m developing a new version of a custom debugger board for my project. The debug target is a solar powered device, which means sometimes I want to power it from the host (debugger) and sometimes I ...
1
vote
1
answer
316
views
Debug and View Registers
I would like to view and analyze the registers in STM32 Embedded Cards(For Ex. STM32F407DISK) in STM32CubeIDE.
As far as I know from the user manual and my own experience in CubeIDE, I did see my ...
0
votes
0
answers
57
views
ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32 issue with IAR Embedded workbench
I've been working with ST link v2 programmer/debugger for a while with IAR embedded workbench. Recently, each time I start a debug session or I appoint a break point and I arrive at the breakpoint, ...
0
votes
1
answer
71
views
LM4565FV-GE2 opamp stuck high
I'm using a LM4565FV-GE2 opamp to amplify the sine signal generated by an AD9837 DDS chip, but the opamp output is stuck at around ~11.5V. I'm using a DS3502 digipot to control the gain, represented ...
-2
votes
1
answer
66
views
How to perform quality assurance? [closed]
The site description is given as "Q&A for electronics and electrical engineering professionals, students, and enthusiasts" and I'm interested in "QA for electronics". Though I ...
0
votes
1
answer
114
views
Signal is garbled when driving inductive load
Background
I'm trying to make a circuit to determine rotor angle of a motor using a resolver https://en.wikipedia.org/wiki/Resolver_(electrical). This involves generating a ~5-10kHz sine wave to drive ...
1
vote
1
answer
114
views
When behavioral simulation of RTL works but synthesis/implimentation do not
I wrote a UART receiver similar to Nandland's example.
To verify that I am receiving and processing data (coming from my PC through Putty), I wrote a design that would correspond certain LEDs to ...
1
vote
0
answers
66
views
Can I use the ST-LINK for programming and debugging STR7 Chips?
Is it possible to use the ST-LINK V3 to program and debug STR7 Familiy chips? If not, what programmer can I use?
2
votes
1
answer
1k
views
Making my own Chromebook debug cable (SuzyQ / SuzyQable)
While trying to access the CR50 chip in my Dell Latitude 7410 Chromebook, I tried making my own Suzy-Q cable because no online store seems to have some in stock.
I bought some USB breakout boards, and ...
2
votes
1
answer
284
views
How debug atmega2560 with pickit 4? (Arduino mega board)
I owned a brand new pickit 4, and I'm trying to get a debug session working. This is what I did:
1. Cut reset pin from the USB-UART programmer. There is a Reset EN pad that can be cutted off to ...
3
votes
1
answer
64
views
CircuitLab DC parameter sweep problem circuit
The following circuit, taken from this answer seems to give odd results when doing a parameter sweep simulation on CircuitLab. Is the problem with CircuitLab, or is there some problem with the circuit ...
0
votes
1
answer
94
views
Help understand the role of an inductor and its value (educated guess)
This circuit is a part of a field strength meter circuit in an old magazine, the value of inductor J1 is unknown (due to a print error in the magazine.)
The circuit works like this:
With S1 open and ...
0
votes
0
answers
161
views
Can anybody tell me what this device is and/or what it is used for?
I found this while going through some things at my grandfather's house. I believe it is used for residential wiring, but I'm not entirely sure.
It resembles a pen. The tip is spring loaded with a very ...
0
votes
0
answers
127
views
How to check if L293D IC is working or not with a multimeter?
I know it is probably better to toss out a doubtful IC for a new one, but I would like to know if there is a way to check if the IC is faulty using a DMM.
6
votes
3
answers
340
views
Why might some video not go through a USB hub?
I'm having a strange problem with a USB Hub. I'm using a Microchip USB7206 evaluation kit.
I have two camera boards.
The first is a Leopard Imaging stereo camera board, which uses an OV00580 image ...
2
votes
1
answer
99
views
MPLAB harmony v3 'sys_time'
hi, i am trying to debugging a ethernet PHY chip using MPLAB harmony v3. (My controller board is SAM E54 curiosity ultra.)
However, I got a SYS_TIME pink circle in MHC like above picture.
How can i ...
0
votes
1
answer
98
views
I2C Bus Not Responding - ADXL343 & MAX17263
I have a simple device with a MKW41Z MCU which uses one of its I2C buses to communicate with an ADXL343 accelerometer and MAX17263 fuel gauge. Approximately once every 20-30 power-ups, the bus with ...
0
votes
0
answers
100
views
How to program and then flash an ARM SAMD21 baremetal?
I want to make a simple program for a custom board with a SAMD21 core, without using any previously existing framework, like the arduino framework.
The code to start with is just a simple main() with ...
1
vote
0
answers
87
views
TPS63050 Switcher Power Good Signal
I've got a board where I'm using the TI TPS63050 switching regulator. I've recently discovered that if I put a bit more load on the output, I get some spurious event on the PG (power good) open-drain ...
0
votes
0
answers
85
views
Is this port a Cortex Debug?
The following is a board with an STM32F103 MCU.
Is it possible to tell if the marked port on the top left (JK1) is a Cortex Debug port that may be connectable with an ST-Link V2 or similar ?
According ...
0
votes
0
answers
43
views
LG DA-3630 switchmode power supply repair - chirpy sound
I attempted a repair of the switchmode PSU of the DVD player in the title, and while I made promising progress, there is something still missing.
Initial problem:
when plugged in, nothing happened - ...
1
vote
1
answer
91
views
How to debug 100BASE-FX, 100BASE-TX, 1000BASE links
I have pretty complex board which has few media-converters on it (fiber to copper), also some high-speed links like 1000BASE-TX, SGMII etc. (a lot of different ICs), and some times I've problems ...
0
votes
1
answer
121
views
STM32 STLINK debug port connection with Olimex
I'm currently designing the debug port for my STM32L4R5 microcontroller. I'm planning to use the STLINKV2 debugger but it's using a 20 pin JTAG connector which has a big footprint for my PCB. I saw ...
0
votes
1
answer
72
views
AVR GDB Inconsistencies
I'm trying to debug a program running on an ATtiny84A, and I am having trouble understanding either how to use it, or interpreting its output, or both. For testing purposes, I created a simple program ...
1
vote
0
answers
514
views
What Is the Best Way to Debug an AVR Microcontroller Using the Command Line?
My AVR programming method is usually as follows:
compile the source code with avr-gcc:
...