Post Created date
AVRISP mkII Clone (MEGA8) Win7 users around?
Oh well, I thought I'd give it a try. I'll flash it USBASP for now, though I think it's time to keep an eye on a used mkII to grab. Thanks for the confirmation. Jim
Thursday, 16 January 2014 - 04:19
MEGA165A PCINT frustration
It's been a learning experience, for sure. I suppose these should be a "stages" setup for forum posts of this sort: Confusion: I am not a _n00b_, but this does not work...
Tuesday, 13 August 2013 - 18:13
MEGA165A PCINT frustration
Interestingly, "Atmel Studio 6.1 update 1.1 (build 2674) Installer – Full" has the same issue :-) I'm looking at the toolchain dir for AVR8, and avr/iom165a.h just includes...
Tuesday, 13 August 2013 - 02:35
MEGA165A PCINT frustration
It does indeed work if I use the sample code in AVR529 to handle the double case. I didn't like that, so I modded WinAVR's include files to add a iom165a and iom165pa include...
Tuesday, 13 August 2013 - 01:15
MEGA165A PCINT frustration
No matter whether I set MCU to 165, 165p, or 165a, I always get: EIMSK |= (_BV(PCIE0)); 72: ee 9a sbi 0x1d, 6 ; 29 In both avrstudio 5.1 and my WinAVR 2010 (GCC...
Monday, 12 August 2013 - 02:53
MEGA165A PCINT frustration
snigelen wrote:The program works fine for me on a ATmega165 16AI. By the way, Atmel Studio 5.x is known to be very buggy. So, when you ground a PCINT0 line, the PG4 toggles? I did...
Friday, 26 July 2013 - 05:37
MEGA165A PCINT frustration
After spending 2 months on this, I am ready to claim there is either a bug in PCINT operation on ATMEGA165A units, or I have a defective part. To eliminate any of the concerns...
Tuesday, 23 July 2013 - 05:19
atmega165a pin change interrupt won't execute
I hate to dredge up an old topic, but did you ever get this to work? I've fought with m165a and PCINTs for 2 months, and nothing will work. M88/168 and now M1281 PCINTs work...
Tuesday, 23 July 2013 - 04:19
MEGA165A PCINT frustration
I can verify that a polling of the pin works fine. I'm not sure the best way to show ASM, but this is what GCC and friends spit out: 144 .text 145...
Monday, 20 May 2013 - 23:39
MEGA165A PCINT frustration
I realized when I wrote the question I had not actually tested polling the lines directly, so I will try that next. I'd be more wary of the build env if every other single...
Monday, 20 May 2013 - 17:42
MEGA165A PCINT frustration
david.prentice wrote:I would still be a little wary of Atmel's Toolchain. In the past, they have b*ggered up the interrupt vector names. So it would be wise to quote which...
Monday, 20 May 2013 - 13:51
MEGA165A PCINT frustration
clawson wrote:Let's not get confused here. When you say "PIN3" you really mean pin 5 don't you (which is PE3). That is the (AIN1/PCINT3) pin. (personally I would use "PE3" not "...
Monday, 20 May 2013 - 13:50