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

learn more… | top users | synonyms (1)

0
votes
2answers
22 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
48 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
17 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
54 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
30 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 ...
0
votes
2answers
141 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 ...
0
votes
1answer
37 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
43 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
100 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
69 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
76 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
94 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
103 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 ...
1
vote
2answers
111 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
60 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 ...
2
votes
0answers
55 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
96 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
131 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
57 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?
1
vote
0answers
79 views

Best device to read/write memory on multiple architectures?

tl;dr: I want to read/write memory from a PIC MCU and an EEPROM, both of which are soldered to an experiment board. I would like to explore programming and debugging ARM in the near future. Which ...
-1
votes
1answer
20 views

TypeMatrix keyboard connector type

I'm trying to investigate problem in my type matrix keyboard and I have two questions how is called that connector (what type is it) on the right, it has around 25 pins +/- 2 pins? Is it possible ...
0
votes
2answers
69 views

the output register remains x in the waveform even when clock changes?

I am using ISE to write my first verilog code . i wrote a counter : ...
1
vote
0answers
45 views

Dumping SRAM contents of AVR8 XMEGA with JTAGICE3

How can I dump the current contents of the SRAM of a running AVR8 XMEGA processor over JTAG (or PDI) using the JTAGICE3? (It is okay if the processor resets after the SRAM has been completely dumped.) ...
0
votes
4answers
136 views

JTAG connector - large pitch to smaller one

I have a Segger's Jlink EDU probe which I used for debugging and programming various ARM based MCU's. But now I have to work with this LPC4088 QS board which has a smaller pitch 20-pin JTAG connector ...
5
votes
1answer
282 views

STM32F3 Discovery + GNU ARM plugin + OpenOCD - cannot load the binary onto the board

I'm using the GNU ARM plugin for Eclipse with Open OCD as a debugger. This is on Windows 10 x64. The problem I'm facing is the following error when trying to debug or run the sample program: Error ...
0
votes
1answer
67 views

Will I have better debugging performance by using an external debugger?

I am currently using a Tiva C Series LaunchPad evaluation kit (TM4C123G) and have started experimenting with Keil's RTX RTOS. I use the on-board Stellaris ICDI debugger for my debugging purposes but ...
1
vote
0answers
21 views

Synplify Pro- Identify debugger problem

I'm using synplify pro from Synopsys for Microsemi IGLOO FPGA synthesis. and I want to debug the FPGA using Identify debugger, but it cann't connect to the JTAG port and gives me this error when doing ...
2
votes
2answers
114 views

PCB component-less debug port suggestions [closed]

I need around 8 connections in a PCB I'm designing for debug and on board programming. Originally I had this debug connection's footprint as a simple single in line with headers: ...
2
votes
1answer
59 views

Help me debug: flash programming successful and verified; program does not run

I am trying to put together a simple bootloader in the high end of the flash of an atmega8. The loader communicates with minicom via the XMODEM protocol, checks for errors, writes the corresponding ...
1
vote
1answer
884 views

What is causing - The target device is not ready for debugging?

I am trying to debug code on PIC16F677 using MPLAB X IDE (v3.10) and Pickit 3 and result is this message - The target device is not ready for debugging. Please check your configuration bit settings ...
18
votes
2answers
2k views

Anti-static bags - safe to support powered circuit boards?

Is it generally safe to rest a low voltage powered up circuit board on an anti-static bag when debugging? A simple meter reading suggests it is a good insulator, but it must conduct to some extent? ...
8
votes
2answers
530 views

What's the difference between a commercial JTAG debugger and an open source FT2232H OpenOCD debugger?

I have seen a few commercial JTAG debuggers such as: iC6000 On-chip Analyzer (with Aurora protocol support) Lauterbach – Microprocessor Development Tools And OpenOCD FT2232H-based JTAG debuggers: ...
1
vote
0answers
46 views

Single line, single device UART for debugging

I'm writing an Android app that uses the IOIO interface to communicate between USB and UART protocols from the Android device to a microcontroller. For the sake of debugging, I don't want to set up ...
-1
votes
1answer
55 views

Are there universal ICE tool?

I used to work in team that develop product based on ARM v7 MCU but used to be application programmer. Now I deep into electronics with PIC/AVR/ARM boards as hobbyist. We used Segger J-Link ...
0
votes
2answers
87 views

Transfer variables through SWD with Segger J-Trace without using SWO interface?

I have a Cortex-M0 NXP LPC1114 custom board connected to the debugger J-Trace for Cortex-M from Segger. The Cortex-M0 is a very limited MCU (and cheap!) and doesn't have a SWO port so I cannot use ...
0
votes
1answer
178 views

JTAG not erase entire flash memory in code composer studio with MSP-FET

I am using MSP430F2619 for storing device specific parameters in internal Flash memory using flash write routines. while debugging using JTAG MSP-FET I found that my flash is getting written during ...
0
votes
1answer
35 views

Chip behaves differently in debug vs flash

I'm currently working on a program for an 8-bit freescale chip (MC9S08QG8) in CodeWarrior v10.3 which uses the timer/ period capture to turn a frequency to an analog voltage. I've gotten the thing to ...
-1
votes
1answer
38 views

VHDL - Wrong result changing MSB of R2 input

I'm implementing a shifter using a similar strategy of T2 shifter. My implementation is in structural way but I have a problem. My code of Shifter is: ...
1
vote
1answer
95 views

Cortex M3 debugging: Intermittent partial load of binary with pyOCD, then timeout

I'm debugging an embedded system and get intermittent binary loading errors when flashing the binary through gdb (well, arm-none-eabi-gdb, the toolchain gdb client). Here are the details of my setup: ...
1
vote
1answer
221 views

Why ARM Cortex M0 prints incorrectly Hello World on UART?

I am new to ARM CORTEX M0. I am trying to use the Tx pin of UART as debug port. If I use the XDS200 debugger to step through the code, I am able to see the characters and I can see "Hello World" ...
2
votes
3answers
174 views

Debugging when oscilloscope grounds cures the problem

In a nutshell : My circuit behaves erratically I connect the 'scope to find out why The problem disappears In particular, this concerns the circuit in my last question although this is not ...
0
votes
0answers
76 views

How do i write if-else control statements in ngspice? the syntax does not seem to the same as that of pspice

I downloaded a pspice module from the CEL website which includes the command: ...
3
votes
1answer
180 views

Memory deallocation exception when using free()

I am currently working on a project that requires some allocation and deallocation of large arrays on a PIC32MX775. I have a dedicated heap memory size of 1500 bytes, which should be more than ...
3
votes
3answers
193 views

How come the decoder gives a question mark?

I'm using a scope to debug I2C (bit banging) by letting it capture the signal. I think that the output should be good, but the scope's decoder gives the following: where there is a question mark ...
1
vote
1answer
112 views

Circuitry for the DRV8840 Motor Driver

I'm building a circuit based on the DRV8840 (datasheet: http://www.ti.com/lit/ds/symlink/drv8840.pdf). Unfortunately, I can't get it to work. I think something might be wrong with my design. When I ...
3
votes
2answers
282 views

Is it possible to set a breakpoint in AVR Studio in files other than the one where the main() function is?

If I have a project with more than one translation unit, AVR Studio only allows me to set breakpoints in the main c file. It doesn't matter if I include the other files directly by ...
0
votes
2answers
148 views

PIC16F877 blink program uploads correctly but nothing happens - hardware or software mistake?

I made a custom board based on a PIC16F877 but for now I only soldered the minimum. I installed MPLABX and the XC8 compiler, connected the ICD3 to the board, adapted a "blink" example to RD0 where my ...
0
votes
1answer
94 views

Clock doesn't seem to tick

I have been working on a program for class which acts as a stopwatch, but I've been having troubles where it doesn't work. (Only one digit, the first that would be shown on the four digit display is ...
1
vote
3answers
333 views

How to debug UART?

The firmware of my module supports UART printf() which I think could be good for debugging, but how could the messages be read? I'm currently using just a ...
-2
votes
1answer
145 views

pic debugging vs programming

I'm using a Microchip ICD 3 to connect to my PIC chip and read the memory. When I connect the ICD 3 as a "programmer" and then select "read" (from the "programmer" menu) and then "View-->"File ...