Post Created date
Programming ATmega328PB ispEnterProgMode fail
External crystal and external clock are different modes. In my case the original firmware set the chip for external crystal, but the oscillator fail fuse (s) was indeterminarets...
Friday, 24 April 2020 - 19:55
Programming ATmega328PB ispEnterProgMode fail
What I meant was to physically change the external crystal from 16MHz to 12Mhz (which is what I had to hand) which then allowed the programmer to connect. If it's already been...
Thursday, 23 April 2020 - 06:31
Programming ATmega328PB ispEnterProgMode fail
I thought I posted what the problem was.. for me anyway. The pb chips are NOT 100% code compatible if you use a production file. The fuses can be in an invalid state OSCILLATOR...
Tuesday, 21 April 2020 - 18:23
Programming ATmega328PB ispEnterProgMode fail
Sorry for the continual edit. The Production file being used has always worked without problems for the MEGA328 / MEGA328P From memory ( I can check ) the xtal setting was for...
Thursday, 19 March 2020 - 07:51
Programming ATmega328PB ispEnterProgMode fail
Interesting. I have 22pF caps. Changing the Fuses after swapping xtals does fix it, but I will lower the caps to be sure. I probably have a few more to experiment with so I'll...
Wednesday, 18 March 2020 - 17:16
Programming ATmega328PB ispEnterProgMode fail
I thought it was just me! Mega328PB seems to program, but it runs at the wrong speed then it refuses to connect to the programmer again. The external crystal is not oscillating. I...
Wednesday, 18 March 2020 - 15:06
__flash in place of PROGMEM
Thanks.  It compiles ok now I removed an error, but how can I remove those annoying red underscores an all the __flash statements.. ?? The code snippet from one of the other...
Tuesday, 11 June 2019 - 10:53
__flash in place of PROGMEM
Old thread but I'm trying to use __flash however it wont compile.   I've included <avr/pgmspace.h> , but on examionation there's no __flash code to be seen ...
Monday, 10 June 2019 - 15:52
Programming ATmega328PB ispEnterProgMode fail
I too am having problems programming the 328PB. Interestingly when I change device from the 328P to 328PB in the programming tools it changes the ISP clock to 458KHz..  I can...
Friday, 17 May 2019 - 07:10
ATMEGA328PB No Timer interrupt
To be honest, I didn't check the warnings.. I know it didn't give me an error, so my bad.
Saturday, 27 October 2018 - 18:29
ATMEGA328PB No Timer interrupt
Everyone.. thanks.   I think I'm onto a solution, and as usual it's something I've done/not done.   Having tried the minimal solution yet again on the target - it worked...
Saturday, 27 October 2018 - 15:15
ATMEGA328PB No Timer interrupt
1. I meant Timer T3 not T4 in any text. 2. The port toggle is dummy code so I can set a break point on it, it's not intended to do anything and could be replaced by anything...
Saturday, 27 October 2018 - 12:28

Pages