Questions tagged [debugging]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
26 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
43 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 ...
-2
votes
1answer
56 views

Help me debug these VHDL errors please

There are just 6 errors now Can't trace errors in this VHDL ...
-3
votes
0answers
72 views

Can't trace errors in this VHDL

Task from here. ...
0
votes
2answers
52 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
93 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
17 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
34 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
79 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
34 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
42 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
158 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
20 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
45 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 ...
1
vote
1answer
128 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
56 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
32 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
42 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
49 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
40 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
49 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
24 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
39 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
61 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 ...
0
votes
0answers
47 views

How to receive a startup hex string during a debug session?

This is my setup: I have a 'smart display' connected to the serial interface of a PCB with a PIC microcontroller. The PIC powers the smart display. This smart display uses a boot mechanism. When the ...
0
votes
0answers
36 views

What do I need for Debugging?

I just ordered a 6502, breadboards, eeprom, ... Now where I bought those things to build my own "Computer" on breadboards, I am afraid of not being able to find errors, because I have no ...
0
votes
1answer
93 views

How to debug serial communication with RealTerm?

I am trying to debug an LCD device with an RS232 UART interface. I am using RealTerm on a Windows 10 machine. The UART interface works properly. I have checked the sending device, using an ...
0
votes
0answers
61 views

Can I debug this simple circuit without VNA and proper RF equipment?

I am debugging a very simple circuit (existing PCB, not designed by me) that downconverts an AM modulated signal at 900 MHz: The problem: What I measure at "Vo" does not match my LTspice ...
0
votes
2answers
147 views

Why is my 74HC04 not inverting my input?

My Situation I have this: https://www.tinkercad.com/things/gUv4whDvcO3-fabulous-crift/editel?tenant=circuits Or if that fails: Schema (I think this is right, I have not used schemas much before as I ...
0
votes
0answers
69 views

How to solve the compiler error of USB debugging probe of C2000 series Texas Instrument Microcontroller?

I am using Launchpad-F28027F to generate PWM for buck converter. I am currently using simple example of PWM from Resource Explorer of CCS but it's no working due to the error shown in the below ...
0
votes
0answers
52 views

This L293D just blew up. Can someone pease help me figure out why?

I was using a motor driver breakout board with a L293D IC on it, along with a 7805 voltage regulator and a couple of capacitors. I have een using it for 4-5 months and the wire connections stayed the ...
1
vote
0answers
23 views

No debug information in Keil when I try to simulate a STM32F103C6 in proteus ISIS

how are you?. I need to simulate a project I what I'm working made with keil in proteus, Labcenter's people enfasizes in that those simulations needs both the .elf file and the dwarf2 file, in Keil ...
6
votes
3answers
587 views

How can a SerDes based link be used to replace the age old UART? [closed]

UART is great to transmit log data from a DUT to a PC. However, it is not fast enough. There are many newer things like USB, PCIe e.t.c that can transfer a lot more data and also use serial transfer. ...
0
votes
0answers
42 views

MIPI/CSI Retimer

I am trying to interface my Jetson Nano with a CSI camera through a SN65DPHY but have been unsucessful so far. I do know the routing is OK because the second camera, which is closer to the Jetson does ...
1
vote
1answer
121 views

JTAG Voltage compatibility

I am having this microcontroller - S32K142 64 pins 5V core voltage. I am using the this J LINK 20 pin JTAG Debugger. Using JLINK Flash Lite software tool in Windows PC to program the microcontroller ...
0
votes
0answers
38 views

STM32L011x3/4 TSSOP14 pinout schematic

Can someone who understands the bad subject in english can fix it schematic where exactly is the error ST-Link V2 debug programs error
0
votes
1answer
96 views

Help with TDA2030A Amplifier circuit

I am designing an amplifier circuit using TDA2030A, but now I am stuck in providing power to the circuit. As mentioned in the datasheet, I copied single power supply circuit for my amp. But the ...
0
votes
1answer
58 views

breakpoints in baremetal code for arm stm32

I am writing a simple baremetal code for STM32. I wrote the linker and the startup code similar to this . My understanding is that the .text section will be placed in the flash memory of the ...
0
votes
1answer
90 views

Debugging the physical components in a circuit

What is the best approach to debug the physical components of a circuit that does not work? I set up a circuit for a simple audio player following this tutorial. However it simply does not work. The ...
0
votes
2answers
37 views

TIVA TM4C123G check clock frequency with oscilloscope

I'm trying to configure system clock in the TIVA TM4C123g board. I'm aware that this clock signal goes to a pin called OSC0 which, according to this, is the pin ...
0
votes
0answers
44 views

ESP-32 won't communicate at all

I'm trying to program an ESP32-WROOM-32 on my own PCB. I'm an amateur. I asked a related question about how to program an ESP32 using an Arduino a few days ago. I've been experimenting with it and no ...
0
votes
0answers
32 views

Access Microcontroller from Atmel Studio (SAM V71 Xplained Ultra)

I've used Visual Studio before when working with C++ but am completely new to microcontrollers and Atmel Studio (using version 7.0 on Windows 10). In my first attempt to learn more about ...
0
votes
3answers
70 views

How to avoid shorting the boards while using Probe or Multimeter?

I have been working on multi layer boards at my work. Occasionally I short the boards because of probe hits a wrong spot. I measure various power rails and most of the output capacitors are 0201 and ...
0
votes
1answer
167 views

IAR EWARM Unknown or ambiguous symbol __probeCmd in .dmac file

When im downloading and debugging my firmware to STM32G070 Nucleo board with IAR EWARM, im getting the following error message in the debug log, I tried researching about ...
1
vote
1answer
103 views

Is STM32 RTC halted during debug or not?

I'm working with STM32F411RE but I presume the problem is the same for any STM32F, and possibly others. I couldn't find in the reference manual whether or not the RTC is halted during a debug session....
1
vote
1answer
111 views

8 Bit Computer Program Counter (4 bit Counter IC) Counting When Disabled

Awhile back I built a version of Ben Eaters 8 bit computer, on my build, I changed only AND, NOT, and OR gates to all NAND. Otherwise the design was exact. I tested it before touching it and found ...
2
votes
1answer
70 views

single stepping TS68000 microprocessor

I recently got TS68000 microprocessor. My final goal is to build a simple computer based on that CPU. For now I am trying to find a way to single step it. I found schematic below by ...
0
votes
0answers
68 views

Does anyone recognize this debug connector?

I'm looking at a board with this debug interface and I would like to know what it is so I can consider it in future designs. The scale below is 1 mm gradient. It looks like something off the shelf ...
0
votes
0answers
95 views

Configure VS code (cortex-debug)

I tried to use VScode for stm32 (use stm32f411re nucleo with embedded stlink (v2.1)) and debug. I want to use cortex-debug extension, but still some problems. This is my configuration of launch.json: ...

1
2 3 4 5
8