Post Created date
passing 16-bit parameters to Atmel Macroassembler
Yet another revision of the above:   There IS indeed a "Subtract Immediate" (with no carry instruction on the ATMEGA)   It's somewhat further down the list.   Some...
Saturday, 19 August 2017 - 20:23
passing 16-bit parameters to Atmel Macroassembler
CANCEL CANCEL!   I found the answer to my own question.   Further experiments show that you CAN pass 16-bit parameters to all instructions that normally accept immediate...
Saturday, 19 August 2017 - 20:08
Is there any difference between power-on, watchdog, and external resets?
I have found the answer to programs starting under JTAG ICE but not on standalone power up or vice versa I carried out many small experiments to see if the ATMEGA had any...
Thursday, 10 August 2017 - 18:42
Is there any difference between power-on, watchdog, and external resets?
Thanks for all the hints above. SS was definitely on my radar screen to check. I was setting it to "output" in the power-up initialization routine, but I put in a couple of extra...
Monday, 7 August 2017 - 15:49
Is there any difference between power-on, watchdog, and external resets?
Since I was making no progress fathoming why my app would not start from power up but only via JTAG ICE, I had to go away and do something else. Now I am back on it and here is my...
Sunday, 6 August 2017 - 18:17
How is SPI supposed to work?
Thank you all for all these comments. 3 years later and a lot of hit and miss programming I now know a bit more about SPI and got it working fine. If documentation was complete,...
Tuesday, 21 March 2017 - 20:40
Application does not start on power up
It is, but you know the same problems arise again and again and not necessarily within the same year, so I think it is reasonable to add to old threads so that people like me...
Tuesday, 21 March 2017 - 20:20
Application does not start on power up
I have the same problem on one project and not on another.   I suspected that the project that does not start on power up was somehow leaving the interrupt vectors in the...
Tuesday, 21 March 2017 - 19:01
Is there any difference between power-on, watchdog, and external resets?
and I have a baffling problem that is the opposite of that. Here is my problem that I would appreciate any clues about fixing:   I am using ATMEGA1284 and JTAG ICE MKII....
Monday, 20 March 2017 - 21:26
C Calling convention?
First good rule: PUSH any registers that youR assembler code wants to use on to the stack and POP them off upon exit. That way you know you are screwing nobody up.   Then C...
Friday, 17 February 2017 - 20:32
ATmega328 best practices for re-entrant interrupts
I need to do the same thing, that is, in an interrupt routine, immediately enabling further interrupts. Actually though it is only one interrupt that I want very response for. So...
Friday, 17 February 2017 - 20:22
Assembler vs C language a bit of advise....
The learning curve for writing assembler is much bigger than C. But when you've gone up that learning curve, it gets easier and easier as you build a bunch of utility routines...
Friday, 17 February 2017 - 20:10

Pages