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

learn more… | top users | synonyms (1)

0
votes
0answers
10 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
14 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
72 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
39 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
390 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
96 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
94 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
92 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
62 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
165 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
70 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
67 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
73 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
179 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
64 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
83 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
172 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
35 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
52 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 ...
0
votes
0answers
76 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
162 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
54 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
131 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
126 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
214 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
260 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
77 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 ...
-1
votes
1answer
103 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
45 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
145 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 ...
8
votes
7answers
3k views

Why is printf() bad for debugging embedded systems?

I guess it's a noob 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 it could consume valuable pins. ...
0
votes
0answers
228 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
792 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
431 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
256 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 ...
1
vote
1answer
117 views

JTAG/SWD Data Logging

I would like to automatically poll and log certain memory locations on the STM32 I'm working with through the j-link debugger I am using to debug the system. Is this possible through the JTAG or SWD ...
0
votes
1answer
161 views

Have I damaged this DC-DC converter? [closed]

I bought this DC-DC Adjustable Power Converter Module, to convert 12V DC to 5V DC. Initially it was working fine, but I connected IN- and OUT- pins to the each other and used it as a common ground ...
2
votes
2answers
124 views

Reporting crashes/resets in Embedded Systems(8 bit)

I'm using PIC controllers, and I have used watch dog timers to trigger a reset in case of the s/w gets stuck somewhere, and also to support in case of severe hardware crashes. I think that resetting ...
1
vote
1answer
51 views

JTAG Bus Length

Could anyone tell me if JTAG requires to have the same bus(wire) length for TDI, TDO, TMS, and TCK?
4
votes
2answers
393 views

How is debugging build implemented in VHDL?

I come from C background and am being introduced to VHDL. I read about the syntax and the concurrency/consecutiveness of actions. Now I am getting to wonder how are development-only features ...
1
vote
0answers
120 views

Atmel Studio JTAG Debugger Behaviour

The qeustion: I would like to know what is different about the way JTAG treats the "step over" and "step into" commands. Background: I am trying to set a GPNVM bit on a SAM3N (ARM Cortex M3) chip ...
0
votes
0answers
316 views

ARM SWDIO only works when touching 3V and SWCLK with fingers

I made a new STM32F2 prototype board and SWDIO debugging only works when I connect the Vinputref and SWCLK with my fingers. It was working fine on previous boards: it's the same circuit but different ...
0
votes
1answer
96 views

AVR Dragon: Debug Frequency?

I think of buying an AVR Dragon or an AVR JTAG ICE MKIII. But before I do this, I need to know what side effects the reduced debug frequency has on an ATMEGA328P while debugging. I make heavy use of ...
2
votes
1answer
213 views

short to ground in custom Arduino shield only when connected - how do I find it?

I've built a custom Arduino shield using a PCB and surface mount components. The board has a short between power (5V) and ground (GND) when it is connected to an Arduino Due. When the shield is not ...
4
votes
2answers
759 views

Debugging my bipolar stepper motor design

I'm trying to connect a NEMA 17 Bipolar Stepper Motor to an Arduino Uno using an L298N Stepper Motor Controller Module and control its speed using a 10K potentiometer. I haven't found any examples ...
4
votes
1answer
769 views

What is the difference between JTAG and EJTAG?

I want to know what is the difference between JTAG and EJTAG? I know about JTAG as it's a hardware tool used to examine the memory and registers. Correct me if I'm wrong.
2
votes
1answer
305 views

Can't Program ATMEGA With ICSP

For a project I've been working on, I've re-designed a working PCB schematic so that it uses all SMD components and now features an ICSP header. The board is essentially an LED driver controlled by an ...
2
votes
3answers
406 views

Remote-debugging stm32f4

I'm rather unexperienced on the field of microcontrollers, I come from a Java background so the question might seem a bit noob but I didn't find much information on this. So is it possible to debug ...
0
votes
2answers
147 views

Understanding this unknown transformer

This is my first time posting but I have gained a lot of knowledge from this community over the past few months. Here is the situation: I have an old Hobart OM-321 Tig welder which my tech has told ...
1
vote
1answer
257 views

ARM cortex M0 debugger

I plan to use http://www.nordicsemi.com/eng/Products/Bluetooth-R-low-energy/nRF51822 to develop some products. I plan to get a breakout board made but even if I do have it made I was curious as to ...