Post Created date
AS7 / Atmel ICE debugging issue
It doesn't seem to me that there's any problem setting the breakpoint;  I don't think the AS7 session is actually making use of the JTAGICE pod at all.   After I use the...
Tuesday, 1 November 2016 - 20:58
AS7 / Atmel ICE debugging issue
Yes; thanks for the speedy reply.     I’ve been absent from the forum for a year or two, and only coming back because I find I’m unable to make my JTAGICE-mkII...
Tuesday, 1 November 2016 - 20:34
AS7 / Atmel ICE debugging issue
A bootloader needs to contain code capable of communicating over some sort of physical interface.    And it seems pretty obvious to me that said interface should be the...
Tuesday, 1 November 2016 - 20:14
Enabling ADC crashes whole program
I wonder if the OP is trying to digitize a pin that has an alternate function as one of the JTAG signals? I had quite a bit of trouble with that issue on an ATmega128, although...
Friday, 18 April 2014 - 01:28
understanding memory usage AVR MCUs
Kind of risky tossing this into a slightly mis-tuned communication, but here goes.. Dear OP, The build tools that are generating the "memory use" sizes you're so interested in are...
Saturday, 29 March 2014 - 18:04
Programming options for AVRs in teeny tiny circuits
I've had success using plated-through holes as a socket to plug square pins into. Size the holes so that the square pins fit pretty much exactly. I believe the standard pins...
Thursday, 6 March 2014 - 06:03
Any ideas on what is wrong with this shift-register code?
sherrellbc wrote: Levenkay wrote:Another significant problem is that your test for which logical state to output is using the "&= compound assignment operator". In addition...
Sunday, 22 December 2013 - 23:17
Any ideas on what is wrong with this shift-register code?
As John has said, you're using 16-bit variables for everything. Since an AVR is an 8-bit machine, it costs extra to maintain and check the extra byte for each quantity. If your...
Saturday, 21 December 2013 - 22:37
About A/=1000?
Could you muster up the energy to press another few dozen keystrokes, and explain what datatypes you used for your variables, what the initial values of B and C were, and what the...
Wednesday, 18 December 2013 - 03:01
Computing pointers in gnu as
I didn't count the number of zeroes in the mapped address of "Leds". I guess I thought that the "2000" was part of the subdivision of gnu's imaginary VonNeumann space into the...
Sunday, 10 November 2013 - 22:26
Computing pointers in gnu as
SprinterSB wrote:Just look at what code the avr-gcc compiler emits in such a case: subi r24,lo8(-(Leds+100)) sbci r25,hi8(-(Leds+100)) Leds must be a symbol here, it must not...
Sunday, 10 November 2013 - 21:41
Debugger Disappointments
clawson wrote:Quote: AStudio6 has only one "I/O view", which can be set to display only one port's signals at a time I thought that until Stefan corrected me the other day. You...
Monday, 21 October 2013 - 18:05

Pages