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

learn more… | top users | synonyms (1)

0
votes
3answers
50 views

what is sensible to debug msp430? [on hold]

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
13 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
32 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
51 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
0answers
51 views

Pic debugging not working with PicBASIC pro compiler, mplab x 2.26 and pick kit 2

I'm trying to get debugging working using mplab x v2.26 ide and PicBASIC pro compiler. I have successfully configured the ide to use the compiler, but when I try to debug (I have set a breakpoint in ...
0
votes
1answer
47 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
125 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
49 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 ...
0
votes
0answers
63 views

ARM JTAG Debugging Internals

I want to learn how JTAG is interacting with ARM core more in detail. All explanations I have found so far are very basic and just cover JTAG tap controller with a simple state machine diagram. I ...
2
votes
1answer
178 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 ...
2
votes
1answer
223 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. ...
0
votes
1answer
225 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: ...
2
votes
1answer
120 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
0answers
37 views

Debugging a Diamex USB ISP programmer

This is my first time experimenting with micro controllers and I cannot get my USB ISP programmer from Diamex to work. When I use the following command for avrdude: avrdude -c avrisp -p ATMEGA8515 ...
0
votes
3answers
107 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. ...
0
votes
0answers
47 views

how to get SWV working with Atollic TrueSTUDIO Lite and stm32f100 Discovery

I need to get some processing info from my stm32f100. I followed the instructions included in the quickstart guide for using the SWV ...
0
votes
0answers
40 views

MCU Debugging: What is the difference between ITM, SWV and Trace?

What is the difference between ITM (Instrumentation Trace Macrocell), SWV (serial wire viewer) and Trace? For example, in an Atmel SAMG53 ARM M4F; it supports: ...
4
votes
3answers
104 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
78 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 ...
1
vote
4answers
655 views

Tesla Coil Issue

I'm currently working on my first Tesla coil, and to my dissapointment, after completing it, the Coil does not function. I cannot figure out what went wrong. I have been told that an MOT wont produce ...
0
votes
1answer
179 views

Does the Atmel-ICE Debugger work on ATtiny MCUs?

I've looked on the interwebtubes and could not find out if the Atmel-ICE debugger works with ATtiny MCUs. In theory, since the debugger supports debugWire and SPI modes, it should, but the official ...
0
votes
1answer
104 views

Why does my MCU go back? (to the previous instruction)

I don't know why but I see the same odd behaviour sometimes in the debugger environment. Look at this code (function): ...
1
vote
1answer
158 views

Use Atmel-ICE programmer for other JTAG debugging

I'm new to electronics and come from the software side of things. Now we are working on a project and we need to program a MCU. Since it's an Atmel MCU we had to get a programmer. It is the Atmel-ICE ...
3
votes
2answers
63 views

Troubleshooting a power issue on a DIY board

I built a board that combines a number of sensors, an ATmega2560 and a TPS62125. The board worked, I was able to measure 3.3V coming out of the buck regulator, and was able to program the ATtmega via ...
-2
votes
4answers
245 views

ARM Development tools [closed]

I want to start developing embedded applications on ARM and I am looking into the tools options and honestly it's quite confusing. I am trying to decide on which IDE and debugger I will be using and ...
2
votes
1answer
138 views

Why I cannot to choose some parts as breakpoint in the Keil?

Why I cannot to choose some parts as breakpoint in the Keil? please consider to these pictures: If you consider to some parts that I determined, you will know that I cannot to select those as a ...
0
votes
1answer
190 views

Why doesn't the STM32f0 go to the interrupt routine? (in the debugger)

I'm trying to execute my project in the debugger but it doesn't go to the interrupt routine. the project is correct and it works without the debugger nicely. How do I use it? Ok, here we go! at ...
1
vote
3answers
77 views

Good method to remove tenting on vias after assembly for debugging?

This is a question about modifying an assembled board to make it easier to debug. In a perfect world, I would have left the bottoms of these vias un-tented. Whoops. I have two BGA parts on a PCB, ...
3
votes
1answer
364 views

Testing procedure for a PCB

I have a little bit of experience with PCB design and made a couple of small circuits for learning purposes. I need to test out a new PCB designed by another person and its kind of a complicated ...
1
vote
1answer
72 views

How to debug large I2C bus?

I have a circuit board with lots of soldered SMD chips. There are a few I2C components connected to the same bus and the bus is also connected to a "bus switch" isolation switch. Unfortunately the bus ...
1
vote
0answers
131 views

Debug 2-Wire Serial Interface

How can I debug I2C in Atmel Studio (latest)? I have enabled it as shown inside the I/0 View with TWEN and ...
0
votes
0answers
204 views

Debug Assembly Code in Atmel Studio

I am using latest Atmel Studio to generate *.hex file from *.asm file. When I start to ...
0
votes
0answers
50 views

winIDEA and iTAG Fifty

I'm currently working on connecting the iTAG Fifty with winIDEA to establish a debugging session with an ARM processor. I followed the steps described in the manual. But if I try to reset the CPU ...
0
votes
0answers
64 views

conformal renaming rules: Mapping

I had around 140 extra points which were unmapped after mapping key points. Signals have this format signal[5] -> signal_5_0 abc[5]_z -> abc_5_0_z So I ...
1
vote
0answers
107 views

OLinuXino iMX233 won't boot

After I get my OLinuXino I would like to try first boot up a sample system and look around, but looks like it's more difficult as I first think! I found a tutorial in the webshop and I prepared the ...
0
votes
1answer
291 views

AVR ATmega breakpoints and BREAK instruction

I use AVR Studio 4, JTAGIce MkII-CN, gcc for debugging. It works generally OK but sometimes happens after some unspecific interruption (reset, power cycle, etc.) that AVR Studio breakpoint remains ...
1
vote
0answers
70 views

Debug Netduino without .NET Micro Framework

I have a Netduino, but I am programming it using the GNU ARM toolchain in Eclipse and VisualGDB so the .NET Micro Framework (NETMF) firmware has been removed. Is there a way I can set it up for ...
5
votes
2answers
230 views

FPGA able to send data, but unable to receive data. (UART - RS232)

I have a DE0-nano FPGA board and I am trying to establish a serial connection with my PC. I am using the RS232 implementation from here: http://www.fpga4fun.com/SerialInterface.html I have tested ...
1
vote
1answer
165 views

Different JTAG debug options for ATmega1281

Background: I've inherited my first ATMEL project. It's using an ATmega128A, coded in AVR Studio 4, with the Olimex AVR-JTAG-USB debugger. I've learned how to use these tools, although I'm still ...
0
votes
1answer
287 views

Bluegiga BLE112: Serial Debugging

It's my first time to post my question to this electrical engineering. Anyway, I'm trying to make a BLE gadget using a BLE112-A BlueGiga. I could update a firmware of BLE112 but I'm stuck with ...
1
vote
2answers
751 views

NE555 timer not working - how to identify the element at fault?

background Im a beginner in the field of electonics, and I have been trying to put together a IR remote control / laser tag system using Arduino Nano. I am using a TSOP4840 receiver and a TSAL6100 as ...
-3
votes
1answer
88 views

Help debugging this pwm controller [closed]

So I'm sitting here playing with this PWM controller. I've been playing with it for about 5 hours now. And so help me god, not even once have I gotten the output to work, in any way. I'm powering it ...
0
votes
1answer
210 views

Is there any online or free to download (for Windows 7) AVR simulators? [closed]

I'm currently using CodeVision AVR to write a code. Let's say I have a compiled HEX file and I'd like to try it running on a virtual processor (ATtiny861A). Google gives me some results but I'd ...
1
vote
0answers
46 views

Programmer fails to connect to the target MCU [duplicate]

I'm trying to program/debug/erase a Freescale MC12311 transceiver IC (which has an HCS08 MCU embedded in it) via the 6-pin BDM header, using a P&E USB Multilink Universal, and CodeWarrior 10.4 ...
1
vote
0answers
175 views

How to use the output of IAR Embedded Workbench compiler for proteus?

The CodeVision compiler and Bascom compiler generate one file with *.coff And *.obj format that we can Debug our program by these files in the proteus program. is there the same file in the IAR ...
9
votes
8answers
4k views

Why is printf() bad for debugging embedded systems?

I guess it's a bad thing to try to debug a microcontroller-based project using printf(). I can understand that you have no predefined place to output to, and that ...
0
votes
0answers
353 views

Xilinx SDK - MMU Section Translation Fault Issue

I am trying to run the base programming hello world for the TE0720 with Zynq xc7020. The link to the tutorial is here. After following all of the instructions and proceeding without any errors, I try ...
5
votes
5answers
830 views

Embedded Applications Software Testing Life Cycle

I have no JTAG and I can not afford it for my ARM Cortex M3 Chip. I'm wondering, how professionals debug their applications ? Do you flash your uC every time, frequently, then you run and test, ...
2
votes
3answers
517 views

Power cycle error when trying to program/debug HCS08 MCU

I'm trying to program a Freescale MC12311 transceiver IC which has a 9S08QE32 MCU embedded in it: MC12311: Sub-1 GHz RF and 8-bit HCS08 MCU with 32KB Flash, 2KB RAM I'm using a Background Debug ...
1
vote
1answer
390 views

How to daisy chain SWD Debug port

I have multiple mcu's that are configured to communicate with bus topology. I have 10 pins (4 of them is occupied by now) I need to debug (update firmware online, etc) all of these mcu's. I read this ...