The process of identifying, quantifying, and correcting errors in the operation of a system
1
vote
1answer
46 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
56 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
1answer
31 views
Arduino Mega 2560 based 3d printer main board appearing to not boot
My 3d printers main board has decided to not boot. I don't get anything on the display or the serial terminal however my avrispmkII tells me I can at least upload to it via icsp header which says the ...
0
votes
2answers
57 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
38 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
0answers
33 views
Debug-Problem with the dsPIC33EP32GP502
I work with three microcontrollers, two dsPIC33EP32GP502 and one dsPIC33FJ64GP802, and have a problem with the 33EP. I tried to debug a simple LED program. On the 33FJ mic all works fine, but on both ...
0
votes
1answer
49 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 ...
0
votes
0answers
25 views
How do i test whether the signal is what i expect it to be?
I am currently working with interfacing with an stepper motor. I found some piece of code on a application note from Atmel. I want to know whether the pulse i am generation follow linear ramp, or ...
1
vote
1answer
39 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
81 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 ...
0
votes
1answer
86 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
65 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 ...
0
votes
0answers
20 views
debuging local variables
I'm using blackfin 533 with the emulator. I don't have access to the serial port. and I want to print out a variable.
I use the emulator too. but I would like to know a method on how to watch a ...
0
votes
2answers
127 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
73 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 ...
0
votes
0answers
35 views
Power Supply/Battery Switch Current Readings
I am using the following simple circuit (circuit 2) to switch a uC between a power supply and a backup battery:
Edit: Added voltages
simulate this circuit – Schematic created using CircuitLab
...
30
votes
6answers
3k 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 ...
0
votes
0answers
272 views
OpenOCD Debug configuration in Eclipse won't launch
I am trying to get OpenOCD to work with my Nucleo-F446RE. I am following the instructions of a book called Mastering STM32 by Carmine Noviello.
I have OpenOCD installed and set up correctly. I have ...
0
votes
1answer
83 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
104 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 ...
27
votes
3answers
1k 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 ...
4
votes
2answers
158 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 ...
0
votes
0answers
58 views
Debugging FreeRTOS Task in Xilinx SDK
I am using the FreeRTOS for my Zedboard and I would like to debug a task created in the freertos. I have installed the stateviewer plugin in order to preview the task, but when I press debug (GDB), ...
1
vote
1answer
50 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
55 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
84 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
98 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 ...
0
votes
0answers
288 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
91 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
0answers
70 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, ...
3
votes
2answers
184 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?
0
votes
2answers
66 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
0answers
60 views
Intel 80188 Bus Conflicts
I'm doing a school project that involves designing and building an MP3 player and I am really struggling to find a bug in hardware. I know it's probably hard to help without seeing the schematic and ...
0
votes
0answers
92 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
149 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
75 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
144 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
203 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
193 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
129 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
179 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
90 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
116 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
351 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 ...
2
votes
2answers
177 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
117 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
0answers
81 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 ...
0
votes
2answers
424 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
218 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 ...
-2
votes
2answers
60 views
Adaptation of the ICD2
I'm trying to adapt the ICD2 so that it can be used with a microcontroller family (dsPIC33F) that has a 3.3V supply.
Projects using the ICD2 must be 5V. How can I do this?