Post Created date
find dead code in code compiled in amtel studio
Some years back I was a place that used Klocwork and it can really analyze your code. 
Tuesday, 14 May 2019 - 21:32
Port Configuration Issue
If you don't need any of the new things then you use the VPORT'S for the DDR PORT and PIN the registers are also mapped to the normal place.
Monday, 13 May 2019 - 18:30
Solved: Attiny 85 ADC reads always 1023 irrespective of input
it'sDK you have to listen to what people say:   When a ADC is bipolar that means that it's ok with a input level below GND (like -3V) that it NOT legal on a AVR.   The...
Sunday, 12 May 2019 - 20:54
Compare and swap
I have not compiled it but on a normal AVR read and write (RAM), take the same time, so the extra check should cost time because then you need to read and then "perhaps" write,...
Saturday, 11 May 2019 - 17:32
What is the best wireless network architecture for 1000 nodes...?
Sound more like tolerance on the internal clk  from  1. was 10% chips and 2. was 2% chips.    
Friday, 10 May 2019 - 22:10
BREQ Instruction Bug
Driving the pin current to the limit, once the led is enabled.... (Which should never happen so.....) Yes you do for 1 us!   Swap the order of the two first instructions....
Friday, 10 May 2019 - 08:00
BREQ Instruction Bug
Perhaps the pull up resistor is undefined, try to disable it when you init the port.     does the LED lit bright? (perhaps it just the port pullup )   add: Forget...
Thursday, 9 May 2019 - 21:49
BREQ Instruction Bug
How big is the serial resistor on the LED? , sounds like it's not there ;)     Add: And I expect that you have a 100nF local capacitor between GND and Vcc ;) 
Thursday, 9 May 2019 - 21:37
BREQ Instruction Bug
How do you power cycle ?   Do yo have BOD enabled ?   For me it looks like a HW reset problem, so it can run at to low voltage.     Add: And how is reset...
Thursday, 9 May 2019 - 21:06
UART Rx missing byte issue
How (and where) do you handle the CRC ?   I'm not 100% sure about your needed timing, but for me it sounds like it would be better to deal with the 3 - 0.3ms timing in a...
Tuesday, 30 April 2019 - 22:10
Amtel studio 7 setting external crystal to 20Mhz on atmega324PB
a  Atmega324PB  can't run  @20MHz with a crystal, it's one of the chips where high power crystal osc. don't work.   Either run up to 16 MHz, or feed it...
Sunday, 28 April 2019 - 20:54
Any optimization tips for this...
My question was does a instruction like : CLA CLL IAC RAL   That basically mean load AC with 2, does it take 1 clk or 4 ?   It's just if you want to make it time...
Friday, 26 April 2019 - 22:52