The process of identifying, quantifying, and correcting errors in the operation of a system
0
votes
1answer
74 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 ...
0
votes
1answer
38 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 ...
0
votes
0answers
20 views
Trigger button press via mspdebug
I am experimenting with a MSP430 (inside a eZ430 Chronos), and I’d like to debug my code while the device is attached to the USB debug board. It seems that the buttons do not work while the device in ...
4
votes
2answers
63 views
Debugging DDR bus issues
We have an SBC board, in the style of the Leopardboard or Beagleboard, that is misbehaving. It's based on the Leopardboard design (TI-DM368 CPU, DDR2 RAM, NAND Flash).
Developing software on the ...
1
vote
0answers
60 views
Chipkit Uno32 Debug with mplabx
Hello guys I bought a good night chipKIT uno32 to use it with projects but with the language of c32 with IDE MPLABX and pickit 3, everything went well but when I want to debug a project says disposito ...
2
votes
2answers
131 views
Variable declared in code but doesn't exist in memory
I declared some variables and matrices globally in PIC16F887A code, but when I simulate that code on Proteus, one of the matrices doesn't exist in the "PIC CPU variables" window, while all the other ...
10
votes
2answers
451 views
What could cause a microcontroller to unexpectedly reset?
One particularly irritating variety of bug in a microprocessor-controlled system is for the microprocessor to unexpectedly reset. An important tool for debugging this kind of problem is a list of ...
1
vote
2answers
96 views
Atmel Studio 6 Simulator Not Showing Up
I was looking to run the simulator for an AVR controller, but when I went to set my debugging tools as outlined in this video- http://www.youtube.com/watch?v=9QlDSNeuAdY
I do not have anything show ...
2
votes
1answer
91 views
How can I debug my 555 timer circuit?
I'm trying to build an LED chaser circuit using a 555 timer and a 4017 counter. I've built the circuit successfully on a breadboard, but now that I tried to create a soldered version it just does not ...
0
votes
2answers
116 views
What is the most efficient way to debug CANbus from a PC?
I have several working and inter-operable boards using CANbus. I've shipped hundreds of products using these boards, with no problems. One of my customers is now saying that his fault log shows ...
0
votes
0answers
92 views
How can I isolate a short (in a mobile phone in this case)
I have a Nokia 6030 cell phone, and it's been serving me 7 years. It developed an interesting problem, which looks like a short of some kind: the battery drains very fast, for an hour or so, and the ...
1
vote
1answer
98 views
Troubleshooting ready board with LM339 IC?
I thought, I will not bother any more with this project of mine, but I really run out of ideas trying to get it to work.
When using breadboard, the design works as expected (did it couple of times ...
2
votes
0answers
81 views
How can I debug/get output from a microcontroller using cc-debugger?
I am working with TI's CC2540 SoC using CC2540dk-mini. My software stack is:
Ubuntu 12.04
sdcc Compiler
cc-tool to flash programs onto board using cc-debugger
I can compile, build and flash ...
2
votes
1answer
102 views
What exactly is a Flash emulator, and how does it work?
I read about a flash emulator. Can someone tell me what exactly a flash emulator is, and explain how it works? Is it synonymous with an in-circuit emulator?
2
votes
2answers
138 views
What is an MCU program trace?
I have read in a few places about Atmel's support of program traces on their high-end debugger/MCUs. It seems to be that some of the AVR32 processors can be 'traced' by the AVROne! ...
2
votes
0answers
453 views
MPLAB XC8 vs MikroC problem
I have been trying to write a program for LCD on PIC18f452. I found a library and worked on it and MPLAB XC8 compiled it successfully. I tested it in ISIS and it ...
5
votes
3answers
137 views
How to discover memory overflow errors in the Arduino C code?
Several times I had some suspicious outputs on the Serial Monitor after uploading code to the Arduino: like eternal output of whitespaces or suddenly cut of strings or scrambled strings.
Because ...
1
vote
1answer
125 views
How can I take look inside of the atmega1280?
I want take look at the memory and at the element inside the atmega1280.
I compiled Ardupilot sketch and I upload it with arduino.
I started avarice with the following command:
...
-1
votes
2answers
142 views
Circuit is oscillating - why?
One area of a circuit I'm looking at is the schematic shown below.
The Vin is a discrete signal, currently, I'm not sure of what the voltage is, (its slightly difficult to probe the circuit but I'm ...
1
vote
2answers
67 views
Debugger Atmega1280
I have an Atmel board, precisely an Atmega1280. I uploaded my code on the board and I want debug it to take a look at the stack memory.
I just have the mini usb cable for the communication.
I read ...
5
votes
1answer
269 views
Diagnosing SD card failures
I have an embedded device using an SD card. Occasionally I see SD cards fail, and I need to understand the failure mode.
Are there tools, perhaps for specific manufacturers, that help me understand ...
0
votes
0answers
65 views
Wierd 'Non-Deterministic' Values from Arduino FP Interpolation
I've got the following function that seems to be misbehaving itself (full code listing here):
...
0
votes
1answer
75 views
SignalTap II: OR trigger conditions, instead of AND
I'm using the Altera SignalTap II that comes with Quartus II. As far as I understand, each pin can be assigned a trigger condition. It seems that acquisition only stops when all the trigger conditions ...
2
votes
2answers
1k views
JTAG vs SWD debugging
Skimming through this article I'm just wondering, what are the benefits of SWD debugging over JTAG debugging?
I understand SWD uses less wires/pins, takes up less space etc. But how does it play out ...
7
votes
3answers
155 views
How do I find energy leaks?
I'm in a process of writing software for eZ 430 Chronos watch using TinyOS. I want it to be as low-power as it is possible.
Unfortunately, my measurements show power consumption of about 350uA @3.3V ...
0
votes
2answers
160 views
Why would plugging in a logic probe change values in a digital circuit?
I teach a digital logic course, in which the students used TTL chips and LEDs on digital trainers (including the Global Specialties PB-503C). With one student's PB-503C, the values on the lights ...
1
vote
3answers
378 views
Debugging I2C bus using an oscilloscope
Is it possible to debug an I2C bus effectivaly with a two channel (plus an external trigger) oscilloscope?
I've been trying to do it, to catch a single transaction starting from the start until the ...
0
votes
1answer
265 views
Debugging a PIC16 with MPLAB X
I am having problems with the MPLAB X debugger (although the release build works fine). It behaves very weirdly with my PIC16LF1937-based PICKIT3. Specifically:
It gets caught in random infinite ...
4
votes
3answers
746 views
PIC12F1822 program counter jumping around during debug and release programming
I am having the most awful trouble getting things up and running with my PIC12F1822.
I'm using MPLAB 8.86, an ICD3 and have the chip, in a DIP package set up in a breadboard on my desk. As far as I ...
3
votes
1answer
943 views
Op-Amp based schmitt trigger working in simulation but not in reality
I'm trying to build a simple schmitt-trigger to convert an audio input signal to an approximate square wave of the same frequency. The output of that will then be fed to a microcontroller to detect ...
3
votes
2answers
2k views
How do I debug a Arduino Uno with gdb on a Linux pc?
How do I debug (source code single step) a Arduino Uno with gdb on a Linux pc?
Please note that I do not like to use AVR Studio in wine or VirtualBox.
Question 1: Physical connection
How and what do ...
4
votes
1answer
563 views
MicroSD Card Slot SPI Signals
I am having trouble communicating with an microSD card with an AVR on a board I'm working on. I used an oscilloscope to have a look at the signals coming out of the microSD socket on my board. I saw ...
2
votes
1answer
5k views
How to debug C code of a PIC16F84A in Proteus ISIS VSM?
I have just downloaded the Proteus ISIS Circuit Simulator and I've noticed that in their samples, they have PIC projects based on C and they could step through the C code in the debuger.
Here is a ...
5
votes
3answers
319 views
Did I Kill My Chip?
I've got an ENC28J60 Ethernet Controller in a circuit I'm building. I was testing it out but when I got to the point of talking to it over SPI with my micro-controller I got utter silence back from ...
3
votes
1answer
557 views
ENC28J60 not getting link
I use the ENC28J60 MAC+PHY ethernet controller (datasheet) in a fairly standard setup as shown in the schematics below.
I can talk to the ENC via SPI, but I cannot get a link-up when I plug in an ...
3
votes
6answers
6k views
How to debug the arduino sketch?
I started coding for arduino very recently. And these bugs in the code are killing me. As there is no hardware debugger in the arduino, serial.print() is my only resort. Please tell me the ...
0
votes
1answer
69 views
Debugging Vds exceeded in motor drive application
I have an existing motor drive circuit that uses an Allegro 4935 to drive a brushless DC motor. The circuit has been working fine. We've decided to change motors, now with some of the motors the ...
3
votes
2answers
588 views
DS1307 RTC Debug
I'm having trouble with getting the DS1307 RTC to work. I'm talking to it via an Arduino, and I'm just trying to get an example sketch to work. I've tried two different libraries - one from Ladyada, ...
2
votes
1answer
951 views
Since Arduino 1.0 string to upper case conversion does not work
I try to run this example code on my Arduino, but since Arduino IDE version 1.0 it doesn't work no more. The example is mainly copied and stripped down from this example.
...
5
votes
1answer
239 views
MCP79411 not “ticking”
I'm using the Microchip MCP79411 Real Time Clock. I can communicate with the device, read the MAC address from it, write to the EEPROM function and read back those values, but the Time and Date ...
2
votes
2answers
129 views
Debugging STM32LF1xx low-power behavior
Is there any practical way to use a SWD-based debugger such as those made by Segger to debug a program for the STM32LF1xx which uses low-power modes and sets the clock speed very slow? The debugger ...
3
votes
2answers
120 views
PowerPC Interrupt Vector 0xfff00800
This is a long shot, and may come under fire as not being EE-enough of a question for this site, but what conditions will result in a PowerPC processor (e.g. Freescale 7448) taking a jump to address ...
0
votes
2answers
816 views
How to fire RCREG for PIC16F73
I am a fresher to Mplab. I wanted to know how to fire RCREG. I have tried many internet searches and still not successful. Please help me out with this. I just wanted to input, let's say "A" into ...
2
votes
1answer
681 views
Source level debugging on Arduino?
I've got an Arduino Duemilanove and am programming it in C with AVR Studio. Is there any way to get a source level debugger to work with this setup?
1
vote
2answers
346 views
help to debug thermometer circuit
I did finish a circuit, but it is not working. It is a LED thermometer. I assume that is not working, because It doesn't show nothing in the LED display.
To debug i followed the steps:
I turned on ...
3
votes
1answer
189 views
Best way to diagnose embedded computer in field problems?
I'll soon be deploying a new embedded system. I have a separate serial port that can connect to a diagnostic program. I also have two LEDs, one I flash to indicate the OS is running, the other that ...
6
votes
1answer
1k views
What is the functional difference between an in-circuit-debugger and an in-circuit emulator?
In-circuit emulators (abbreviated ICE) boast about their awesome debugging features, and also boast high price tags.
In-circuit debuggers (abbreviated ICD) can do most of the stuff that an ICE can ...
18
votes
8answers
962 views
How do you attack a new board?
You get your PCB back from the manufacturer. It is a new design, you have of course bread-boarded all the major parts, but you know there are going to be problems. There are just too many things that ...
2
votes
1answer
73 views
How to Debug in APM
I am using Arm Project Manager (APM) for writing the firmware in my ARM board. My question is: What are the live debugging features available in APM? Let's say I need to inspect the value at some pin ...
1
vote
1answer
337 views
How should I debug my mbed project?
I'm using an external power source to power an MBED module. I have the UART transfer and receive ports connected to a MAX232 level switcher in order to make the signals compatible with RS232. From ...