asm inline help clawson wrote:What happens if the "break" in code presence is half way through the AVRs integrity flag checking routine? That's why it could make a lot of sense to put this in a...
Thursday, 14 April 2011 - 20:42
asm inline help clawson wrote:Then why can it not do an integrity check at the end before letting the uC "rip"?
It does, but if an external event like a power loss or some daemon locking up...
Thursday, 14 April 2011 - 16:32
asm inline help The uP downloads the upgrade through WiFi/CDMA/GSM and performs the upgrade using ISP.
Thursday, 14 April 2011 - 15:17
asm inline help clawson wrote:Quote:
although there is no bootloader in this application.
Your weren't supposed to say that! One virtual beer to Lee then.
But I'm curious, if it's not for an...
Thursday, 14 April 2011 - 14:38
asm inline help skeeve wrote:To program:
erase flash
write rjmp .-2 in page 0
write the rest of the pages
write page 0
If writing page 0 twice really bothers you:
erase flash
write rjmp .-2 in...
Wednesday, 13 April 2011 - 19:18
asm inline help theusch wrote:Quote:
It has to take control of it's IO within 10us and start at 1MHz, so the timing requirements are very restrictive.
That doesn't mean that you can't do your...
Wednesday, 13 April 2011 - 18:42
asm inline help clawson wrote:Shall we put money on it for when we here back from OP? ;-)
Come on guys, surely posting one day apart isn't too bad. I'm going to have to get updates to this thread...
Wednesday, 13 April 2011 - 18:30
asm inline help theusch wrote:Quote:
BUT, how do you think ANY data's gonna change in program memory ?
:twisted: Yeah, it gives the bean counters a warm fuzzy feeling. And it certainly could/...
Wednesday, 13 April 2011 - 18:19
asm inline help Thanks guys. I was worried about not getting the exact behavior I wanted from the compiler, but the progspace macros give me the behavior I want.
I would like to do a CRC across...
Tuesday, 12 April 2011 - 16:04
asm inline help Sorry, I guess I should have been more clear. I'm using the c compiler, and I just want to do an asm inline.
I've tried using
asm volatile("ldi [percent]a0, [percent]1":: "15...
[TUT] [C] GCC and the PROGMEM Attribute I have a quick question, if anyone here can help. I have a program where I have a large configuration struct that houses several different data types. Right now, I have two copies...
clawson wrote:What happens if the "break" in code presence is half way through the AVRs integrity flag checking routine? That's why it could make a lot of sense to put this in a...
clawson wrote:Then why can it not do an integrity check at the end before letting the uC "rip"? It does, but if an external event like a power loss or some daemon locking up...
The uP downloads the upgrade through WiFi/CDMA/GSM and performs the upgrade using ISP.
clawson wrote:Quote: although there is no bootloader in this application. Your weren't supposed to say that! One virtual beer to Lee then. But I'm curious, if it's not for an...
skeeve wrote:To program: erase flash write rjmp .-2 in page 0 write the rest of the pages write page 0 If writing page 0 twice really bothers you: erase flash write rjmp .-2 in...
theusch wrote:Quote: It has to take control of it's IO within 10us and start at 1MHz, so the timing requirements are very restrictive. That doesn't mean that you can't do your...
clawson wrote:Shall we put money on it for when we here back from OP? ;-) Come on guys, surely posting one day apart isn't too bad. I'm going to have to get updates to this thread...
theusch wrote:Quote: BUT, how do you think ANY data's gonna change in program memory ? :twisted: Yeah, it gives the bean counters a warm fuzzy feeling. And it certainly could/...
Thanks guys. I was worried about not getting the exact behavior I wanted from the compiler, but the progspace macros give me the behavior I want. I would like to do a CRC across...
Sorry, I guess I should have been more clear. I'm using the c compiler, and I just want to do an asm inline. I've tried using asm volatile("ldi [percent]a0, [percent]1":: "15...
Awesome, that works great. Thanks Dean.
I have a quick question, if anyone here can help. I have a program where I have a large configuration struct that houses several different data types. Right now, I have two copies...