Questions tagged [debugging]

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

Filter by
Sorted by
Tagged with
-1
votes
1answer
92 views

How understand if debug card not works properly? [closed]

I want to find some chips datasheet of some computer POST Test Main Board Diagnostic Analyzer Card like this. Can you provide me some examplex, please ? I want to understand which circuits works ...
0
votes
1answer
235 views

program/debug via the built-in usb in efm32

how program/debug silabs EFM32 via the USB built-in interface? is it possible to do that with a simple USB cable without any adapter?
3
votes
3answers
11k views

Programming STM32: JTAG/SWD vs bootloader

I'm making a PCB for a personal project using the STM32L031K6T7 microcontroller. It looks like this uC has a bootloader that can be used to reprogram the flash program mem through UART or SPI. It also ...
-1
votes
1answer
788 views

“Fatal Error : Could not find device ” error while trying to download program to the MCU

[![enter image description here][2]][2]I'm using MSP430F5131 and trying to program it by IAR Embedded Workbench while using the MSP-FET debugger. A short background of the PCB: After i compiled the ...
4
votes
1answer
455 views

Debugging mbed os 5

I took a look at the mbed OS 5 and the corresponding mbed cli I created first programs and programmed them via the binary drag and drop to the flash disk provided by the programmer (Using the GCC_ARM ...
2
votes
1answer
674 views

Which ARM debugger hardware should I used to debug?

I read here about ARM programming, pag 252, about ARM debug hardware, but I don't understand which hardware physically tools is used in practice. ARMv8 processors provide hardware features that ...
0
votes
4answers
757 views

unstable / distorted / glitchy digital line signal

Is there a proper word that describes what the MISO line does in English language ? And secondly how would I debug this hardware issue? I should say that the SPI device that I am trying to ...
1
vote
3answers
320 views

How can I debug microcontoller code during run time?

I'm using Nuc240 Microcontoller which has its UART0 configured for 'printf',I use a UART to USB controller to view the output on screen. This works during run time also, so that I could monitor things ...
0
votes
1answer
1k views

In Circuit Emulation vs On Chip Debugging?

I am using code warrior to debug my code which is dumped on to the NXP Board. By definition would code warrior belong to the In circuit emulator or the On Chip Debugger. I am not clear about the ...
2
votes
1answer
261 views

8051 serial routine returns all 1s despite apparently valid data being on the bus

So, I am trying to receive synchronous serial data from a DS1306 in 3-wire mode using mode 0 of my AT89LP51ED2's USART. However, my serial read routine is returning all 1s instead of valid data, even ...
0
votes
1answer
1k views

Wien Bridge Oscillator - LT Super Low Distortion Variable Sine Wave Oscillator Debug

I have been setting up a low distortion sine wave generator based on this design from LT (http://www.linear.com/solutions/1623): For resistors R1 and R2 I am using a ganged pot so that both change ...
0
votes
2answers
148 views

Tracing out where pins go on a TQFP-100 package possible?

I want to trace out some pins on my Atmega2560 based 3D printer controller board. The problem is the particular one I have is believed to be a clone of a clone hence I don't have a schematic of the ...
1
vote
1answer
242 views

IRS2301 H-Bridge Debugging

I'm ultimately trying to make a BLDC motor driver, but in the meantime I'm trying to get the IRS2301 MOSFET driver I intend to use working as expected. I built an H-bridge test circuit with a 1K ...
0
votes
1answer
116 views

Is there a method to provide physical stimulus to design inside FPGA like we do in VHDL test bench?

Basically I need to find out if there is a feature that allows one to enter stimulus into an FPGA without using things like signal generators. Altera FPGAs have a feature implemented via Quartus ...
1
vote
1answer
49 views

Programmatically verifying EEPROM pins connected

I can't find really much about it online, but am curious if there is any bit-fiddling like tricks to verify all pins on a EEPROM are properly soldered/connected (particularly address pins on a ...
0
votes
2answers
428 views

Debugging a boost converter (TPS61220)

I'm trying to debug a incorrect output voltage from a boost regulator (TPS61220). The schematic is below. Pointed colors represent the measuring points in graphs underneath: The graphs show the ...
1
vote
1answer
820 views

EFM8BB1 - C2 Debugging Interface correctly connected?

I am currently working on a small circuit which features a EFM8BB1 8-bit microcontroller from Silicon Labs. Even though they have well-documented data sheets, I still want to make sure that I do ...
0
votes
1answer
289 views

555 circuit doesn't work

I'm a beginner in the field of electronics, and I have been trying to put together flasher and buzzer circuits together. this what i did till now :D but when i finished the circuit on the pcb ...
1
vote
2answers
2k views

STM32L031 not running after stopping debugging

I'm using a STM32L031 with Eclipse for my application. When in debug mode everything works fine. But when I stop debug mode or power off and on again, the STM32L031 stops working. I had expected that ...
1
vote
1answer
805 views

unable to read tiva c series registers in debug mode

I am using code composer studio version 6.1 with TM4C123GH6PM. When dubugging and executing it goes to a function called FaultISR() and then stuck in an infinite loop When trying to see the registers ...
30
votes
6answers
5k views

How did smacking electron tube TVs help?

In old movies (or new movies playing in these times), I often see people smacking the top of electron tube TVs or screens. Somehow it seems to help to stabilize/sharpen the picture. But why? Are ...
2
votes
1answer
6k views

Is it possible to redirect print streams to debugger in Atmel system?

Is it possible to configure stderr and/or stdout to make it such that when a printf() is ...
1
vote
0answers
387 views

Problem when debugging ethernet KSZ8081RNB chip on IMX6UL board

I've been working on debugging KSZ8081RNB Ethernet chip for three weeks now and still, I can't find where the problem is. First of all, the board I am working on is including an IMX6UL processor and ...
28
votes
3answers
2k views

The mysterious case of the random leakage current

Disclaimer: I already know the solution of this circuit debugging conundrum (and it is not trivial), and I'll post it after some time, so that other people could give their contribution to this ...
5
votes
2answers
2k views

MOSFET not turning off

EDIT: I just came back from my local Conrad and replaced the MOSFET with a new one - everything works just fine. I really just had the bad luck of having three faulty ones lying around. Good that I ...
1
vote
1answer
247 views

Programmer /Debugger for freescale kinetis series [closed]

I want to use frescale MK10 Device for my Project, the Cost of Programmer debugger is very high , so i Want to ask is there any low cost P/D ot any hack available with any system so that i can use ...
0
votes
1answer
764 views

Debugging ATMEGA328 with avrdude

I'm was able to successfully connect ATMEGA328P-PU to my USB port and using avrdude write a simple code (C language) to it. Everything is working, but the problem is that I want to attach a sensor, ...
3
votes
1answer
216 views

What a green P stands for in MPLAB IDE watch list?

Hello I'm debugging a C program in MPLAB IDE 8.92 and I have a green P at left o a variable in the watch list. Does somebody knows what it means?
1
vote
2answers
264 views

Quartus 2 VHDL Clock Frequency Divider: can't determine definition of operator “+”

I'm extremely new to VHDL and trying to make some easy projects such that I learn the basics and syntax. I use Quartus 2 at home and ISE 10.1 at the school computer. I wrote exactly the same code in ...
1
vote
0answers
3k views

STM32 Shutting down debug session

I'm facing with a problem regarding debug session. When I start debug session, after the configuration of USART2 the debug session is closed. Keil message: Cannot access target. Shutting down ...
1
vote
0answers
481 views

How to get Keil Trace to work on stm32f4 for debugging?

I'm using stmf429-disc board with Keil 5.I've enabled trace check in hardware debug's trace window and have set trace clock to 168MHz which is the core clock freq. Also enabled the port 31 for rtx ...
0
votes
1answer
420 views

Atmel SWD. Enabling normal GPIO function on the SWO pin

I'm trying to make a project using the ATSAM4LS2A microcontroller (Cortex M4), and i'm using the AtmelICE debugger. The thing is the pinout for the SWD mode also has, beside the SWCLK and SWDIO pins, ...
2
votes
2answers
1k views

Is printf debugging over JTAG (not SWD) with STM32 possible?

The question is very similar to this one: I'd like to to printf debugging via the ST-LINK adapter and JTAG, not SWD, in IAR Workbench. Is this possible?
1
vote
2answers
425 views

Altera Cyclone IV FPGA and jtag debugging

G'day All, Is there a method comparable to jtag debugging on a microcontroller (ATMEGA32) for the Cyclone IV family of FPGA? I am trying to debug my Verilog code so ideally I just want to be able to ...
0
votes
1answer
859 views

Atmel ICE Debugger - Does it work with nRF52-DK

I bought the Full Kit Atmel ICE (2016) to allow me to debug AVR chips. The Atmel ICE debugger can program both AVR as well as SAM for ARM Cortex. I have an Nordic Semiconductors nRF52-DK board which ...
1
vote
1answer
783 views

Vacuum Fluorescent Display (VFD) serial connection ~ Debugging Questions

I am attempting to display information on a Futaba Vacuum Fluorescent Display (VFD) (apologies for the google-drive link to the datasheet. I lost the original and couldn't find it again). I'm ...
0
votes
0answers
424 views

Why is this LTC4010 charging circuit resetting?

I have designed the following circuit based around the LTC4010 battery charger IC. This circuit is essentially a direct copy of an example circuit from the datasheet. The target battery is an 18V 1....
0
votes
2answers
163 views

All LEDs died yet rest of board fine; why?

I had a board with 3 LEDs, two driven by an AtXmega325e and one simply connected to the rails. The rails are 3.3V, the series resistors 70ohms. simulate this circuit – Schematic created using ...
0
votes
1answer
5k views

What does grey dots represent in Proteus and why I am getting those

I am using a 5 by 32 decoder to implement a certain sequential circuit. However I am getting strange results. Here is the Snapshot: I don't understand why doesn't the decoder change its output when ...
1
vote
1answer
3k views

Help debugging amplifier with STA540

I've built a guitar amp with STA540, I'm trying to make it work now and I need some hints on how to continue debugging. I'm getting no sound on the speaker, not even clicking, or anything. I've ...
-2
votes
4answers
684 views

Button debouncing not working [closed]

I want to toggle a led with a push button and an ATMega16a but for some reason the toggle behavior seems a bit randomly. ...
2
votes
1answer
929 views

shift register problem in VHDL

I'm designing a 56 bit shift register to store the bits coming in. In my system, 8 bit data is keep coming in from a generator and I need to output the maximum value detected with 3 bytes either side ...
3
votes
2answers
582 views

How to debug FPGA designs

This is supposed to be a followup to my previous question how to get a FPGA design that will definitely work on actual hardware. I have made a lot of progress since I asked the above question (thanks ...
3
votes
4answers
259 views

Is there a risk for the HW to debug an embedded software if the JTAG integrity is bad?

I had to debug a C embedded software in a noisy environment. As a result the integrity test of the JTAG connection had a failing rate between 30% and 60%. What are the risks to make JTAG accesses in ...
0
votes
1answer
2k views

avr-gdb doesn't stop at breakpoint

I'm trying to debug code on an 8 bit AVR microcontroller (Atmega328P) via debugWIRE using AVaRICE, avr-gdb and the JTAGICEmkII debugger. I'm doing the following steps: Compile the code with ...
3
votes
2answers
1k views

VGA driver not working

I am at the moment trying to make an vga driver for my FPGA, but something isn't going right, and I can't seem to find out what is going wrong... The code is based on this code example: Example VGA ...
0
votes
1answer
836 views

Debugging op amp circuits

I'm trying to build a guitar amplifier and I've run into some problems that I can't understand. The input has an op amp to buffer and amplify the guitar signal which looks like this: simulate this ...
3
votes
1answer
332 views

AT89LP51ED2 SPI ISP — First attempt to enter ISP mode after reset yields wrong data back, but second attempt works

I have a board using an AT89LP51ED2 from Atmel -- this is an 8051-derivative with on-board Flash program memory and a SPI ISP interface, which I am using my Bus Pirate to drive (30kHz speed, pullups ...
1
vote
2answers
3k views

AVR debugging on Linux with Eclipse and AVaRICE

I'd really like to be able to debug on i.e. an Atmega328p on Linux with Eclipse as described on avr-eclipse.sourceforge.net After quite some research, it seems an JTAGICE mkII should work fine with ...
1
vote
1answer
2k views

Need Help In Creating and Debugging a 8Mhz CLK Circuit

I want to create a CLK generator circuit that will work at 8Mhz. I'm following this design (from http://www.electronics-tutorials.ws/oscillator/crystal.html): My crystal is 8Mhz HC49/US, with 20pF ...

1
4
5
6 7 8