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

learn more… | top users | synonyms (1)

1
vote
1answer
60 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
54 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
57 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
18 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
37 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
28 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
73 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
157 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
56 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
16 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
85 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
50 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
286 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? ...
6
votes
2answers
321 views

Whats the difference between a commercial JTAG debugger and an open source FT2232H OpenOcd debugger?

I have seen a few commercial JTAG debuggers such as 1) http://www.isystem.com/index.php/products/hardware/ic6000-on-chip-analyzer 2) http://www.lauterbach.com/frames.html?home.html and an OpenOcd ...
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 ...
0
votes
0answers
68 views

Burning FPGA code using FlashPro5

While testing one of the circuit boards I had, I encountered a problem while burning the FPGA code (using core8051). The first problem that occurred is when selecting the device for inspection: ...
-1
votes
1answer
46 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
1answer
70 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
108 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
31 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
70 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
31 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
69 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
179 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
159 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 ...
1
vote
0answers
55 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
168 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
159 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
84 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
251 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
126 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 ...
1
vote
0answers
32 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
75 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
188 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
114 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
81 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 ...
1
vote
1answer
70 views

When issuing GDB `continue` in RAM, can I write to the adresses from which I `continue`d?

I'm just writing some test programs in order to get to know the STM32F4 (ARM Cortex M4). The development board I'm using has U-Boot preinstalled in flash. When the board is up and running and U-Boot ...
0
votes
1answer
238 views

Unable to use ICD3 with CCS C Compiler

I have recently bought ICD3 since I think that being able to debug a microcontroller program requires that we be able to see what is happening inside it. I really want to learn this stuff :) I have a ...
2
votes
1answer
74 views

scoping a UART interface

I'm using a known good FTDI USB -> UART bridge to talk to a 3rd part module on my board. I've just assembled the board, and it's not impossible that I fried a component in the process (it's what I'm ...
0
votes
1answer
115 views

How can I debug the amplifier section of tuxgraphic's powersupply?

I've built this circuit: http://www.tuxgraphics.org/common/images2/article379/powersupply.gif Here is a closeup of the amplifier section which I've built: simulate this circuit – ...
1
vote
3answers
361 views

How can I view, debug, or analyze data being input to my FPGA?

I'm working with a Xilinx Spartan6 on Digilent's Nexys3 board. I've also purchased their PmodMIC so I can try to get some audio data onto my board to perform some signal processing. The ...
1
vote
2answers
93 views

Hot ENC28J60 Chip

I need some help figuring out why my ENC28J60 Chip is running hot. This is my first time using the chip and I'm not sure if I have everything right schematic-wise. I'm working on a prototype pcb I ...
2
votes
1answer
231 views

How can I design my PCB in a way I can debug the Atmel microcontroller on board?

We are designing a board around Atmel SAM4E microcontroller, and use Atmel-ICE for debugging/programming. To save space, we would like to avoid including the whole ICE connector. Which are the minimum ...
4
votes
1answer
2k views

How do I print debug messages to gdb console with STM32 discovery board using GDB, OpenOCD and arm-none-eabi-gcc?

I'm programming an STM32 Cortex M0 discovery board (32F0308DISCOVERY) using OpenOCD, arm-none-eabi-gcc, and gdb. I was wondering if there is any straightforward way to log debug messages over SWD. ...
2
votes
1answer
389 views

PIC UART CODE need help in debugging

My question has two parts: Does MPLABX have a UART simulator? I need help debugging this code: ...
3
votes
1answer
223 views

When a microcontroller is in debug mode, does it freeze the entire MCU?

I have a PSoC with debugging functionality ( I am sure other MCUs have similar functionality) which allows you to place the system in debug mode and you are then able to step through program ...
0
votes
3answers
198 views

555 timer ciruit errors

I have set up a 555 Timer circuit on my breadboard following this diagram. These are the values I use: R1: 1k R2: 1k C: 0.1uf Vcc: 9V The only problem is, on pin 5, I have a 0.001uf capacitor. ...
4
votes
3answers
145 views

What facilities/methods exist to debug and simulate programs for PIC microcontrollers

In the university, even though I did do some PIC programming and project, the project was quite simple. We could always put in a blinking LED as a sign of life into our program or have the code write ...
0
votes
1answer
323 views

Proteus doesn't show the value of float variables and does not attribute values to them

I have an issue with Proteus Isis. The image below illustrates the problem. I can't see the values of a struct's fields and I think that Proteus can't see the struct too. Full Resolution Anyone ...