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

learn more… | top users | synonyms (1)

0
votes
2answers
78 views

All LEDs died yet rest of board fine; why?

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

LPCLink2 is unable to recognize LPC812 over SWD [closed]

I'm trying to debug a simple blink program via LPCLink & lpcxpresso on an LPC812. the MCU is mounted on a very simple header-board which the pins of the MCU are extended to several pin-headers so ...
0
votes
1answer
22 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
37 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
97 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
67 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
72 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
92 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
82 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
106 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
56 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
51 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
62 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 ...
0
votes
0answers
37 views

Is this possible for debugger(pickit 3) to show wrong data.?

I am doing SPI loopback test with PIC32MX795F512L. I have written a program where if I received what I sent then turn ON led. ...
1
vote
1answer
118 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
77 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
19 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
59 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
40 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
119 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
265 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
66 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 ...
1
vote
2answers
108 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
57 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
765 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
495 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
45 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
54 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
86 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
166 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 ...
0
votes
0answers
108 views

Modifying UDRx registers in the Atmel Studio 6.2 Simulator

I'm currently working on a system which makes use of an Atmega640. In order to aid debugging I'm trying to use the simulator within Atmel Studio to run the code and observe what it does. The problem ...
-1
votes
1answer
35 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
92 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
210 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
170 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
71 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
179 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
102 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
277 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
138 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
0answers
35 views

Does Core Debugging Interface reveal state of Context Registers?

I need to know whether the Context Register states of the CPU are relayed to a hardware component called the Core Debugging Interface, and if so, where I can find any useful information on this ...
0
votes
1answer
88 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
299 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
139 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 ...
0
votes
3answers
84 views

what is sensible to debug msp430? [closed]

As you know, msp430 launchpads have their own debugger, nothing else required to debug,on the other hand fet-debuggers are sold in high prices on ti.com,what the hack is that? and if i buy only ...