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

learn more… | top users | synonyms (1)

0
votes
0answers
29 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
26 views

Programmer /Debugger for freescale kinetis series [on hold]

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
33 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, ...
2
votes
1answer
65 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?
-2
votes
1answer
36 views

Is it possible to monitor USB traffic on a Mac? [closed]

I am debugging a USB audio device (the Teensy Audio Shield) on OSX El Capitan (10.11.5) and would like to monitor the USB traffic at the host (the mac) to/from the device (Teensy). I've tried using ...
1
vote
2answers
59 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
75 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
33 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
39 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
74 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
39 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
51 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
37 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
72 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
36 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
142 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
62 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
75 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
106 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
133 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
81 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
103 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
173 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
123 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
73 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
59 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
181 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
149 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
58 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
83 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
21 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
85 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
65 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
190 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
355 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
81 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
26 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
132 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: http://www.jameco.com/...
2
votes
1answer
62 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
1k 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 ...
19
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
673 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
62 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
96 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
222 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
40 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
101 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
246 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" ...