Hi all I'm quite new to AvrX. Working with the buffered serial io i found a strange problem: I have a task that uses buffered serial output to send some...
Historically AvrX did not set up a frame pointer. Using low levels of optimization, or taking the address of an automatic variable (or declaring an array...
In my opionion, the interrupt routine you show below runs so quickly that I would never, never, have the code to disable UDRIE interrupts and the sei() and the...
It depends. Leaving interrupts off for the entire ISR blanks out interrupts for 300-400 cycles. That could be too much depending upon what your other ISR...
Roger that. I'm unaccustomed to a micro doing general purpose serial I/O but simultaneously running code which needs such low interrupt latency. The buffered...
What's about changing the code like this...? AVRX_SIGINT(SIG_UART0_DATA) { IntProlog(); //<- move before declaration of i int c; Does gcc generates c now in...
... No, as Larry already mentioned, the reason why there is no stack frame is the attribute "naked" given to the ISR function. He also gave a possible...
Hi there, I am looking for a good way to check the actual stack usage of each of the processes. I am rather new to OS's. One option would be to fill the memory...
... I'm assuming you're using GCC here. Declare _end so as the code below can determine the start of free RAM. You may also need to declare the stack space in...
Hello everyone, I am using AvrXSendMessage a lot in my code to have the different processes communicate. In the 'AvrX Issues' thread, I saw there is an issue...
No, you are right to add the code. I have made a few touch-up's since 2.6f and, in my usual way, completely dropped publishing the code. Hmm. Perhaps some...
Thanks brian, it took a while before I actually found the time to have a look at it. It all works fine and I seem to have lots of space left. Greetz, Marijn...
Hi there, I just ran through my code when I noticed that at some point the software waits for a message on the queue. If the message is from a timermessage, it...
... There won't be a problem cancelling a timer message more than once. If the TMB is in the timer queue, it will be removed and the TMB count will be added to...
well it sounds good to me. I just installed avrx an hour or so ago and havent got the example to compile yet due to serialio.S found posts dated as far back as...
Thanks Brian, for the quick response. This answer will have me sleep better ;-) ... Van: avrx@yahoogroups.com [mailto:avrx@yahoogroups.com]Namens Brian Logan ...
... and ... The 162 has 2 UARTs, so you need to be more specific which one you want to use. Have a look at the datasheet and header files how the right...
Hi. is anybody on this list using AVRX with the IAR compiler? If yes, where can I download an IAR compatible version? Any specific problems? Thanks, Yvon....
Unless there's a compelling reason to use IAR, I would recommend the WinAVR with GCC from avrfreaks.net; if you have the STK500 development board, the latest...
Steve, just after sending my request I found what I needed in two older emails on this list. I use IAR because I work with different processors including arm, ...
Hi anybody help me? How to use iar linker? I have tried to build avrx asembler for barelo robot source code,but there are some error with linker. I use the...
I'm just getting started with avrx and looking at the monitor task. It looks like it's been left behind by recent changes to serialio, so I shouldn't really...
I am using AVRX as a CNC controller. I made G-code parser and linear/circular interpolation codeto support G01, G02, G03 command. I found AVRX code are not...
Hi everyone, I found in the database section that AvrXTestSemaphore should be changed to preserve the I-bit. I copied the code into this message. Can anyone...
Hi everyone, I found in the database section that each timercontrolblock on the stack ought te be initialized. As my programming skills are rather limited I...