Post Created date
Assuming you're using GCC to compile, there are some startup/init instructions that could be removed. GCC reserves the first ~20 words of program space for interrupt vector table...
Tuesday, 4 July 2017 - 20:53
I need help with ATmega32U2 Datasheet error.
I'm running into this problem myself. Did you ever get this issue resolved?
Sunday, 25 June 2017 - 02:30
Using programming pins
When I was first learning AVRs, I had a lot of trouble finding the correct section of the datasheets. To hopefully save you the same trouble, specifically check out section 25.9...
Wednesday, 31 May 2017 - 01:07
atprogram.exe: read voltage and reset commands
`info --voltage`works on the newer tool as well but requires that you specify some `--interface` and `--device`.  > .\atprogram.exe --interface TPI --device attiny5 info...
Friday, 21 April 2017 - 01:09
atprogram.exe: read voltage and reset commands
I came across this post looking for answers to the same questions. I'm not sure about reset but I found how to read target voltage:   With no target connected: > .\...
Thursday, 20 April 2017 - 17:42
Reading Signature Row on AT90USB
I just tried reading the same values with a C program and seem to have been successful using boot_signature_byte_get(x). Looking at the .lst file, I see that the gcc generated...
Tuesday, 9 July 2013 - 00:04
Reading Signature Row on AT90USB
That is what I did. The functions will be posted below, but I'm betting seeing them will not help. I'm hoping someone else here has done something similar and might have a pointer...
Monday, 8 July 2013 - 21:49
Jump to Function (instead of call)
So I guess that means the current solution is to just use the manually mangled name with rjmp in the assembly. Another quick question, is there any reason to jmp? Maybe just...
Wednesday, 16 March 2011 - 00:55
Jump to Function (instead of call)
atomicdog wrote:Quote:Anyone know what the gs() in assembly is? Or where the documentation for "i" is? Lol, I was just looking at that page and...
Tuesday, 15 March 2011 - 22:20
Jump to Function (instead of call)
skeeve wrote:I'm not sure, but I think asm (" JMP %0\n" : : "i"(OS::taskSwitch)); does the job. Wow! where did you find the "i" constraint? I tried that and .lst file shows it'...
Tuesday, 15 March 2011 - 21:30
Jump to Function (instead of call)
skeeve wrote:I think that something like asm (" rjmp %0" : : ???(OS::taskSwitch)); will do what you asked for. As others have noted, what you asked for might not be all that...
Monday, 14 March 2011 - 21:18
Jump to Function (instead of call)
stu_san wrote:Have you looked at setjump/longjump? I've never used them but they may fit the bill here. In every RTOS I've seen (so far) the pre-emptive task switch occurs as a...
Monday, 14 March 2011 - 03:52