I think I've found a rather nasty bug in IntProlog(). I've been having one hell of a time trying to figure out why r1 is occasionally non-zero in my interrupt...
R1 bug in IntProlog()I am impressed: that must have been *very* hard to figure out. What I don't understand is how R1 is getting set with a non-zero value. It...
Actually, I thought it might be the interrupt handlers at first, too. But I spent some time looking at the disassembled code for my interrupt handler and...
BTW, Isn't r1 part of the saved state when interrupting anything but the idle task (which doesn't use r1 itself) ? So I would think that I wouldn't need to...
I ended up getting very sick last night (there's something really evil going around) and my last two emails don't really make much sense. Sorry. -brian...
Hi Larry, Strange that you should mention that nested interrupts may be a problem, because you're right! I spent some time today trying to track down some ...
R1 bug in IntProlog()I have not been able to really focus on this issue due to other projects. My previous projects with AvrX generally have been stable so I...
Yeah, I did mean the RAM. AvrX is actually impressively clean. I really like it, although I've got to get through all of these interrupt issues. I'm starting...
Just to follow up on this issue, for those who have been following it. There doesn't appear to be *any* problem with AvrX. Brian tripped across the problem...
I am in the process of writing code for a fairly large (for me) design. Up to now I have written several little AvrX based programs that test out one or more...
I think your approach is the best way. AvrX is a very simple statically linked system. That is why it is so small and fast. The macro system for creating the...
Hi Leon, I have had the exact same problems as you write about in your posts. I then downloaded the "fixed" version of the timers example from the Files...
The biggest difference between the simulator and the actual hardware is the fuse bit settings. Depending upon chip that could affect your clock options, JTAG...
Hi Larry, I am using the at90s8535, and the 3 fuses "Lock1" "Lock2" and "FSTRT" are all left unprogrammed (Unchecked in PonyProg) /Rene ... hardware is the ......
Then the actual hardware should work identical to the simulated chip. If it doesn't work at all, then you have either a wiring problem, a clock problem or a...
Hey guys, I'm having the same problems. I just downloaded avrx2.6e for WinAVR and I'm trying to get the timers example to work. I'm using an ATMega128 so I...
Hi Chris, I see the same thing, in AVRstudio4 the CPU loops in the AVRX_SIGINT (SIG_OVERFLOW0) when it's not servicing the tasks, maybe it is supposed to ? Put...
The warning you mentioned is just the ELF->COFF converter complaining about stuff it can't figure out. It is actually a limitation of the COFF file format,...
The examples still won't work in target..... could it be possible that someone can compile the timers example to an at90s8535 (LEDS are hardwired to PORTB on...
Hello all i user the program WinAVr to programm and coding Software for my Atmega128. Yesterday i found this great Yahoo group a solve some Problems... But now...
Which version of AvrX do you have? The latest .zip (2.6e) from Yahoogroups files has the changes needed to solve these problems. It has to do with changes to...
since few weeks i have a small problem with the AVRX RTOS. i installed the Winavr version and downloaded the avrxrtos from the Yahoo groups site. Then i...
The basic problem is that your link command includes "main.o" twice. Apparently someone modified the link line in the makefile and added a spurious "$<". It...
Thanks for your help. After much more reading of the posts in this group I have got it compile. Ken ... Yahoogroups ... do with ... handles I/O ... in...
Earlier this month I posted a query on how to spawn multiple copies of a task. This was for a case where I had three identical links to other boards and I...
Hi all, I've been trying to compile avrx with gcc for the atmega169 so I can run it on a butterfly. After changing GCCMCU to atmega169 in the makefile, all the...
Hi Gordon, Yes, some registers have moved and in some cases they moved to an address that is outside the reach of some instructions (watchdog register comes to...
The C compiler changed the way they defined registers about two years ago - in part to accommodate this issue of the newer chips having I/O registers above...