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
31 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
50 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
53 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
93 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
38 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
37 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
17 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
547 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
17 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
93 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
37 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
63 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
39 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
85 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
29 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
33 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
18 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
59 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
73 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
58 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
73 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
68 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
67 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
38 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: ...
13
votes
7answers
2k views

Debugging a multilayer PCB?

This is not about debugging the actual hardware/software on the board... I had my first 6-layer PCB made recently, it's a 50mmx50mm board with the following stackup: Signal Ground Signal Signal ...
0
votes
1answer
109 views

Debugging an old Thermostat: What component is this? (3 pins SMD IC)

My Thermostat stopped working a couple of days ago and I tried to debug it. The first thing I check is if there is any component that gives a strange result with the multimeter and I found these ...
1
vote
0answers
28 views

timestamp generator register location on Cortex-M4 (PSELCTRL CNTCR)

I am trying to find the location of the register where the timestamp generator can be enabled on a Cortex-M4 processor. In the CoreSight SoC Technical Reference Manual on page 3-210 it is mentioned ...
0
votes
0answers
16 views

Protocol debug for AMS [Asset Management System] bar module

i've buyed one of this Raritan AMS tag management bar for Datacenter and i want to control it with a commercial micro like Arduino or ESP32/8266 (instead the proprietary controller hardware), now i've ...
1
vote
1answer
35 views

Would it be possible to identify the IC from this image (18507CT)?

Can someone recognise the IC from this image, or the make based on the font or naming convention used? The top reads F1823 towards the end The bottom reads 18507CT. Tried looking up these numbers on ...
0
votes
3answers
82 views

Need Help debugging Colpitts oscillator

I've built the circuit shown in the picture on the breadboard. The simulation works as expected but when I build it i don't get any oscillations. I've measured all the DC voltages and they are as ...
0
votes
1answer
67 views

What is the technology of slicing a chip to debug called?

A couple of times, I have heard that there are situations where a microprocesor or chip has to be sliced to look in to the contents, or for the purpose of debugging it. Layer by layer sectioning is ...
0
votes
1answer
30 views

USB Hub on Embedded Target disconnects and reinitializes causing a crash on Linux Host

I have an imx6 embedded board which is connected through FTDI/USB to a linux host. The embedded board runs a Yocto linux. I send commands to the embedded board through a serial interface (ie. write to ...
0
votes
0answers
45 views

How to debug a PowerPC Microcontroller

I want to know if it is possible to debug a powerPc MPC555 microcontroller on the device while its running with the binary not the source code. If it is possible then please tell me how to do it using ...
1
vote
0answers
35 views

How to access Realtek SMI interface without a dedicated processor?

I'm working with Realtek's RTL8367 switch IC. Background: I am having trouble with throughput being unbalanced. If I run iperf between two ports in one direction I get a different throughput if I ...
1
vote
1answer
71 views

Made a simple mono amplifier (LM386) circuit, and it stopped working. How can I debug individual components?

Note- I'm a programmer, not an electrician. I'm replicating the circuit found here: https://www.youtube.com/watch?v=4ObzEft2R_g&t=04m50s (circuit @ 4:50) I've soldered two identical PCBs, and ...
0
votes
1answer
21 views

Tools and libraries to use with J-Link OB and CoreSight

I have a system with including a Beagle Bone Green board, a J-Link OB module and a Cortex-M4 microcontroller (see figure). I would like to use the DWT and ITM features but don't quite understand how ...
0
votes
2answers
472 views

SDA pin on I2C lines seems weird

I am trying to analyze the I2C commands sent by a PC software to R3910 DSP chip The software uses a programming box (provided by the same company that manufactures the R3910 chip) to communicate ...
0
votes
0answers
65 views

Segway motor not running after vel_setup command in odrive?

I am testing odrive to control segway motor. I finished the setup from documentation but the motor is not moving after sending this command in terminal:- ...
0
votes
1answer
56 views

Design a debug interface for Arduino MKR WIFI 1010

I'm a TA at university, and for the next years students in microcontroller, I will design a debug interface for the Arduino MKR WIFI 1010. The 6 pads on the back is the debug interface as shown in ...
0
votes
0answers
42 views

Core stucks in blocking handler STM32F103C8T6 libopencm3

I have problem with my STM and the libopencm3. After the reset handler is called, there is immediately jump into blocking handler. I suppose that the hard fault occurs. Here is the call stack: <...
0
votes
1answer
59 views

Single Supply AC Gain Opamp With Unity DC Gain

I'm trying to build a AC amplifier that will amplify an input signal of around 0.4Vptp @ 160kHz to around 1.7Vptp. I'm also attempting to do this with a single supply (3.3V) opamp. I built the circuit ...
0
votes
1answer
277 views

In Proteus 8 simulation of the PIC16F84A assembly code (.asm), any setting (BSF) or clearing (BCF) of the pins <3:0> clears pin RA4!

After a thorough investigation, it turns out that the Proteus 8 simulation of the PIC16F84A (and possibly other MCU-s in PIC16 family) has a bug when interpreting the assembly language code, which ...
0
votes
1answer
88 views

Understanding low current measurement

I'm trying to understand a current measurement of a hobby project. This project consists of several ICs and is battery operated. At a certain mode (deep sleep) it should consume a very low current, ...
0
votes
1answer
141 views

UART not fast enough for debug purpose, what alternatives exist?

This problem is related with debugging an FPGA design implemented in Intel/Altera FPGA. A custom debug mechanism has been introduced into the design. This new part of the design writes into a FIFO ...
0
votes
0answers
55 views

Does this (seemingly) corrosion create problems for the operating of the chip?

We have a PCB of a VME machine of ours and it has some kind of white corrosion on it. Does this impact the functionality of the machine and what could it exactly be?
0
votes
0answers
23 views

Can low-cost JTAG debuggers work with ARM DS-5 instead of a DSTREAM?

At work we use ARM's DSTREAM debuggers with the DS-5 environment to debug our Cortex-M based embedded systems on development boards. Currently a DSTREAM box costs $3,500 at Digikey. I searched for ...
0
votes
1answer
112 views

Debugging a battery charger circuit

I have built a circuit of a battery charger here. Here is the circuit in the original project: However, it doesn't seem to work. The output I measure at the battery charging clips is only 1.2 V or so ...
0
votes
1answer
25 views

NMOS T3 always on

Hi all, i have this circuit that is actually really simple. when I came to do the prototype, something that i can't explain happens. the transistor T3 is always on even if i do not connect the supply ...
1
vote
2answers
335 views

DAPLink firmware doesn't operate with OpenOCD

  Why this is not a duplicate Some people seem to think this question is a duplicate, but there is an important difference: The How to update the SWDAP firmware? question is all about how to ...

1
2 3 4 5
7