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
1answer
26 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
16 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
29 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
51 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
46 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
25 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
26 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
49 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 ...
1
vote
1answer
18 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
43 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
106 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
97 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
45 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
26 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
49 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
91 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
30 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
151 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
46 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
47 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
61 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
28 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
49 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
21 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
149 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
1answer
125 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
38 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
48 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
100 views

Help me debug these VHDL errors please

There are just 6 errors now Can't trace errors in this VHDL ...
0
votes
2answers
74 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....
0
votes
2answers
99 views

Opamp Design Considerations

Opamps are a great device for amplification. Recently i used a TL084 which is quad-channel Opamp I used three opamps in the device for getting gains of 1 , 2 , 3 respectively. I noticed that, without ...
0
votes
0answers
19 views

Debugging of RTC (Real Time Clock) using MPLAB ICD4 debugger

I have been searching for a process for debugging an RTC section using a debugger called MPLAB ICD4, but I didn't get an exact result from Google. Can you please suggest me the process? And is there ...
0
votes
0answers
107 views

How to configure STM32CubeIDE with Blackmagic Probe as a debugger?

I am trying to use my Blackmagic probe (an STM32 BluePill converted to a Blackmagic Probe) as a debugging device for the STM32CubeIDE and can't get to work! I tried this solution: https://github.com/...
0
votes
2answers
82 views

Wrong value in the W-register after a MOVF operation

How do I resolve obtaining the wrong value in the W-register after a MOVF operation? I am debugging a code which builds & programs successfully, but does not have the desired result when powered ...
0
votes
1answer
44 views

Easiest way from 2x10 (0.05“ pitch) header to 0.1”

As per title, I have a debug header with a 2x10 0.05" setup on a board I'm working with. This was chosen because of the space constraints. I'm looking for the cleanest way to go from this header ...
0
votes
2answers
55 views

A line of code is not being executed in STM32 Bluepill while being debugged with BMP in VSCODE PlatformIO

My Environment: 1- Mac OS 2- STM32 Bluepill flashed with Blackmagic Prob firmware and acts as a Black magic probe 3- Stm32 Bluepill as a development board 4- CMSIS firmware 5- Using Vscode with ...
0
votes
2answers
388 views

What is this device and what does it do?

I have this device here and I do not know what it is or what it is used for. I literally found it on the ground of a store parking lot. I've attempted to research the item and I think it is a tool ...
6
votes
4answers
2k views

Determining if mystery PCB with barrel jack power connector is center positive or center negative

I lost the power adapter to the module used to drive a LIDAR sensor I have. I am planning to make a new adapter but one problem I am running into is that I can't figure out if the module's PCB sources ...
0
votes
0answers
42 views

How can Quartus Prime System Console be used to read/write a whole file?

I want to find a way to read/write whole file from/to my Intel FPGA design. The file being written provides data to be processed and the file being read shall contain the results of the processing ...
-1
votes
1answer
63 views

how to test transformer ee19 [closed]

for practical learning i have a damaged samsung refrigerator board i guess the problem refer to transformer the model of transformer is EE19-220-12-A it's have 5 pin in one side and 4 in another side ...
2
votes
1answer
293 views

W5500 with POE functionality Link status ON with nothing plugged in?

I am working on a design that uses a W5500 for networking. I followed a reference schematic and believe all my connections are correct, however I am facing issues with the network connectivity. ...
2
votes
1answer
95 views

Debugging PIC16F886 with PICkit4

MCU: Pic16F886 Programmer: PICkit4 IDE: MPLAB X IDE v5.40 Assembler: pic-as v2.30 (xc8) Circuit: A LED with 270 ohm resistor on RA0. 3,3k ohm resistor pullup resistor on MCLRE. Vdd on pin 20. ...
0
votes
0answers
114 views

How to print in proteus console using the internal debug module on a CM3 device

how are you?. There are several ways to debug code in Proteus but I'd like to know another one that is shown in the CM3 help file of Proteus. It has a section called "internal debug module" ...
0
votes
0answers
87 views

Questions about connecting a JTAG ARM 10-pin connector to a TM412x board

I have a TM4C12x board which I want to debug over JTAG. This board does not come with a pin header attached to the JTAG pins, so I need to solder it myself. I have a couple of questions about this: ...
0
votes
1answer
57 views

Should all the GND pins of the JTAG be connected to GND?

I am using a TMS570 MCU with this debugger which has the 20-pin cTI JTAG pinout exposed in this page. Should all the GND terminals be connected to the board's ground or it is sufficient just one?
1
vote
0answers
51 views

can someone help me build a usb jig to force android device into recovery

Years ago i bricked a phone trying to install a ROM not designed for that phone. As a result the phone went into a bootloop and would not go into recovery mode. Researching the problem i found a ...
0
votes
1answer
63 views

Counter glitching? Instability? Can't get a trigger lock on the scope, what might that be?

I have a 4 MHz clock and 4 x 74LS161 4-bit counters hooked up to get a 16 bit counter. It's all done how I have done it many times, synchronous with clock going into all the counters and RCO of ...
0
votes
0answers
37 views

Can Quartus System Console be used via Ethernet instead of USB Byte Blaster?

The System Console communicates with the the design inside the Intel FPGA via a JTAG-Avalon MM master. The JTAG connection connects to the Byte Blaster and this is how the debugging works. Is there a ...
0
votes
0answers
72 views

Getting Connection Refused error upon running openocd

I'm having a bit of trouble setting up an openocd debugger in Eclipse. Upon running debug configurations, I get: ...
0
votes
1answer
94 views

Wrong data displayed from UART connection

I have trouble displaying a certain hex string on an LCD. The hex string comes from a external display device that communicates with a serial display. With the oscilloscope, the data from the display ...

1
2 3 4 5
8