Post Created date
SPH and SPL didn't update (asm for ATmega328p)
clawson wrote:This shows that the SP is not 16 bits. In fact it appears to be 12 bits.   I found it was 11 bits in its datasheet, but I can store 0fff into it, I don't know...
Monday, 2 November 2020 - 09:10
SPH and SPL didn't update (asm for ATmega328p)
clawson wrote:even before lines 4..7 have run it has already been set to 0x8FF. The 328P (like most modern AVR) does this - it sets SP to RAMEND at power on anyway.   Sure,...
Monday, 2 November 2020 - 09:08
SPH and SPL didn't update (asm for ATmega328p)
westfw wrote:how did you "find" that?  SP doesn't even initialize to 0 on Atmega328 (it gets set to RAMEND for you, but hardware.)   You are right, I found the reason:...
Friday, 30 October 2020 - 04:01
SPH and SPL didn't update (asm for ATmega328p)
westfw wrote:You can't use reti for unused interrupt vectors, because vectors on a 328p are 2 words long.   This problem has been solved in last topic ask for code testing (...
Friday, 30 October 2020 - 03:57
ask for code testing (asm for ATmega328p)
sparrow2 wrote: I don't know your background...      I just shifted from Arduino, and I want to use avr-libc, but I found that knowing asm for ATmega is...
Thursday, 29 October 2020 - 12:37
ask for code testing (asm for ATmega328p)
Thanks, this problem has been solved on your solutions, now there is another problem I found when I debugged this program in Atmel Studio 7.0:   code: START: ldi regCommon,...
Thursday, 29 October 2020 - 12:28
ask for code testing (asm for ATmega328p)
There was a "nop" between the last "etc" and "abc:", is it necessary?   and, the last "JMP" hasn't destination, is that OK? or maybe as your syntax, it ought to be: "JMP ;;;"?
Thursday, 29 October 2020 - 09:21
Atmel-ICE_UNO-minimal-circuit_no-power
This is the advanced edition(since 12v was there, so just use it now):  
Tuesday, 8 September 2020 - 09:59
Atmel-ICE_UNO-minimal-circuit_no-power
egg fryer ? would it be so hot ?
Tuesday, 1 September 2020 - 02:53
Atmel-ICE_UNO-minimal-circuit_no-power
I noted your comments about the wires and capacitors, since till now all the projects used in this way were OK, so I thought it would be enough.
Monday, 31 August 2020 - 08:30
Atmel-ICE_UNO-minimal-circuit_no-power
Resolved, solution is: 12v + 7805 https://ibb.co/7SVqM4d
Monday, 31 August 2020 - 05:49
Need help with passive piezo buzzer
If you want a passive buzzer ringing, you should give it a square wave signal.
Tuesday, 28 July 2020 - 00:24

Pages