Questions tagged [debugging]

The process of identifying, quantifying, and correcting errors in the operation of a system

Filter by
Sorted by
Tagged with
1
vote
0answers
23 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
0answers
19 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
1answer
62 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
1answer
63 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
1answer
95 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
1answer
79 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
0answers
43 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
1answer
265 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
1answer
95 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 ...
2
votes
0answers
42 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
1answer
91 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
0answers
150 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
0answers
66 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
3answers
325 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 ...
1
vote
1answer
62 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
1answer
65 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
0answers
65 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
0answers
70 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
0answers
74 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
0answers
35 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
1answer
58 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
0answers
35 views

Debugging with ATMEL-ICE in Ubuntu using cutecom

I have an Atmel-ICE-C that I've been using successfully within Ubuntu 18 to program a custom board based on the attiny85 using the terminal and the necessary libraries. I can use a command like this ...
0
votes
1answer
84 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
1answer
65 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
0answers
217 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: ...
1
vote
0answers
27 views

Connected my audio input to two music systems by splitting the input, but the one with subwoofer produces continuous 100Hz hum

I have 10 year old Creative 2.1 audio system that has fairly capable subwoofer, and combined its input with a TPA3110 2x15W stereo amplifier module (for better treble). When both systems are powered ...
2
votes
1answer
45 views

Can I use the STLink on a Nucleo to program a 5V board

I want to use the STLinkV2 on the nucleo board I have to program an external STM32f4, and I have the SWD pins connected according to section 6.2.4 in the documentation.An earlier unsuccessful attempt ...
0
votes
1answer
65 views

Stepping over a library (in-built) function in CodeWarrior

I am using CodeWarrior Development Studio to program and debug the NXP FXTH870911. To understand the functionalities, I downloaded an example project from their website. It is called ...
2
votes
2answers
74 views

Accessing SWO on STM32H743 hangs the CPU

I'm trying to initialize the debug trace SWO output pin on STM32H743. I have tried various code snippets for initializing the port, currently this one: void SWD_Init(void) { *(__IO uint32_t*)(...
0
votes
1answer
92 views

Class AB Amp Distortion / Repair

I'm trying to troubleshoot a (bass) guitar amp of mine. The output should be clean, but it distorts at VERY low levels. I pulled out the pre-amp board and determined firstly that the distortion is ...
2
votes
1answer
282 views

Sending commands to semihosting in VSCode + cortex-debug

I'm trying to move away from doing my firmware development in Eclipse GNU MCU for several reasons, mostly related to project maintainability (much easier to integrate CMake such that there is only one ...
0
votes
2answers
124 views

Op-amp output oscillating on one of two (virtually) identical circuits

I have a board that connects two analog sensors to an ADC via several op-amps (all MCP6042). One circuit is behaving as expected but the second (virtually identical) circuit on the same board is ...
1
vote
1answer
237 views

STM32F103 Debug Error - Cannot Access Target

Im having problem at debugging, tried to load basic led toggle program for test purpose and its work fine but when i tried to debug it, im getting " Cannot Access Target, Shutting Down Debug ...
0
votes
0answers
37 views

Debugging with Blackmagic probe and platformIO undefinedError

As stated, was able to debug using this setup but suddenly I started getting errors. I am able to upload firmware to the target board (STM32 Bluepill) but when I start a debugging session I get the ...
1
vote
1answer
101 views

Debugging Cortex-M7 with data cache

I'm using gdb, openocd and stlink to debug an application running on STM32H7. When data ...
1
vote
1answer
97 views

Beginner problem: Debugging power supply

I am debugging my power supply using an oscilloscope. I have uploaded pictures of my setup, including oscilloscope reading, wiring (just power and ground with jumpers), and the power supply specs. The ...
1
vote
1answer
42 views

How to debug a non working atmega88pa ciccuit. programmer can't connect

I am trying building a Mutable Instruments Branches module which includes a atmega88pa. I am trying to connect the programmer but can't get a connection going (I've tried the programmer with another ...
2
votes
1answer
183 views

How to go about debugging PCB Power Supply Circuits to ensure correct output voltage?

I'm currently soldering, testing and validating the components on this PCB that I designed a few months back. As it is right now I have soldered the 1.2V, 2.5V, 3.3V and 5V buck converter power ...
1
vote
0answers
54 views

Is there a "universal" JTAG controller peripheral?

JTAG can be used to read/write data from/to FPGAs. I want to know if there is any device with an interpreter that can be used with user written STAPL files. Basically the peripheral shall wiggle the ...
0
votes
1answer
52 views

Debug Bricked Standing Desk IC Board Issue

I have an Apex electric adjustable desk Flex I bought in 2017 that got bricked out of the blue while I was raising it up this morning. I tried performing a reset by holding the down button for 10 ...
1
vote
1answer
219 views

How to bypass current sensor (ACS712) default 2.5V voltage output in buck/boost converter PCB

I'm having a bit of trouble coming up with the most practical fix for my buck/boost converter PCB. To give a bit of an overview, I'm using a current sensor to read the current value through an ...
0
votes
0answers
77 views

problems with Lattice Reveal Analyzer - JTAG chain with multiple devices on the chain

I have a board with JTAG chain with 2 devices - (1) TI MCU (2) Lattice MachXO2, in the chain. To be able to program the FPGA, I'm using this configuration in Lattice Diamond: and as can be seen the ...
0
votes
1answer
74 views

How to transfer blocks of data into FPGA to aid in testing?

How can one transfer data from PC to FPGA and read back result for test purpose where the data must not get corrupted i.e resend if data integrity was lost or use some other error recovery mechanism. ...
0
votes
0answers
23 views

Why are there bits changing in reserved section of SPI Read Data register on SAM4LS8AA?

I am trying to establish SPI communication between a ATSAM4LS8AA chip (master) and Hope RFM95W LoRa module (slave). I am using Advanced Software Framework (ASF) in microchip studio (MS), and using the ...
0
votes
5answers
209 views

Soldering connector on PCB to connect to logic analyser or scope

When it comes to digital circuits, it is often important to get certain internal design signals to an I/O pin and then view it on scope. This is in-spite of all the other techniques that exist to ...
0
votes
2answers
423 views

Debugging STM32 with OpenOCD, STM32 for VSCODE won't work or flash, Configuration issue maybe?

First and for most I googled a lot and Its been a week of searching with no solution at all. Please bare with me! I tried to add all necessary info! Please request more If you need. My problem is: I ...
0
votes
0answers
53 views

Cannot launch GDB client

I am new to embedded coding outside of Arduino, so I need a lot of hand holding. I made a custom board with just a STM32 chip (STM32L082) and a LED. I am trying to debug it using GDB (I hear that's ...
0
votes
0answers
51 views

error mcu not found

I made a PCB contains MCU of Analog device aducm3029, I want to program it via SWD ( An on-board serial wire download (SWD) interface, which is implemented with the Freescale's MК20DX128 ...
-1
votes
1answer
158 views

Help me debug these VHDL errors please

There are just 6 errors now Can't trace errors in this VHDL ...
0
votes
2answers
187 views

Stm32 minimum setup no crystal

I'm trying to run my first circuit with a stm32 microcontroller. For debug reasons I soldered a minimum setup. -No external crystal -Only capacitors I connect SWD Debug: -NRST -SWDIO -SWCLK -Power 3....

1
2 3 4 5
8