Questions tagged [debugwire]
9 questions
23
votes
3 answers
JTAG debugging AVR
Can anyone advise what hardware and software is required for debugging AVR in circuits?

JohnC
- 4,779
- 3
- 25
- 20
9
votes
2 answers
NRF52 Debug Connection - GndDetect and VTRef
I'm currently in the process of laying out a debug connector for an nRF52 chip. I'm planning on using the IDAP-Link. Most of the pins are pretty straight forward to connect (ie: for SWDIO I simply route that pin on the nRF52 uC to pin 2 on the debug…

Fuzzy_Bunnys
- 397
- 3
- 12
8
votes
5 answers
STM32 (SWD) printf not working
I'm new using STM32 microcontrollers. I have been trying to use the printf tracing in my code without success, nothing is printed on the console. I can start a debug session, I can place breakpoints on my code, inspect variables and all works as…

Marc
- 491
- 1
- 5
- 20
8
votes
2 answers
AVR debugwire in Linux
So, I have hooked up a ATtiny88, and am programming it with the Dragon AVR using ISP. I have also set up the build toolchain, using avrdude, and the gnu avr tools. Everything is working great.
Now I would like to do in-circuit debugging using the…

bjarkef
- 738
- 3
- 8
- 17
1
vote
0 answers
What Is the Best Way to Debug an AVR Microcontroller Using the Command Line?
My AVR programming method is usually as follows:
compile the source code with avr-gcc:
avr-gcc -mmcu= .c -o a.out
Convert the compiled code into hex with objcopy:
objcopy -O ihex a.out a.hex
Write the hex to…

Kalcifer
- 235
- 1
- 12
1
vote
1 answer
atmega16u2 debugwire and usb device
I am writing some firmware for the atmega16u2 and have noticed that the usb device hardware does not work correctly if debugwire is enabled. The usb device does not enumerate. Disabling debugwire immediately causes the usb device hardware to work as…

uglyoldbob
- 162
- 8
1
vote
2 answers
physically deinstall/access phone/tablet internal memory
i've never seen the circuits inside of a smartphone or a tablet . please tell me how the memory chip is installed ? Here by "memory" i mean the non-volatile storage aka. rom .
i guess that we can remove the memory chip and connect it to the computer…

把友情留在无盐
- 113
- 4
1
vote
1 answer
Barebone ATSAMD11D14 not responding
I wire up this schematic on my breadboard. I've verified that the 3V3 LDO is working. Atmel Studio on my Windows machine can see the Atmel ICE. The simple blink compiles fine too. However, I cannot upload / debug code. Either the Atmel ICE or…

Hari Wiguna
- 93
- 1
- 8
0
votes
1 answer
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 g2 debugging info in stabs format with no…

Torsten Römer
- 487
- 2
- 7
- 18