Hello, I'm using IAR cworbench v2.27b in order to develop an OS to a titaniumcard using Flash Atmel AT90SC6464C. how can explain me how can i create an .hex...
I hope to use semaphore as an integer counter. But how initialize it to an integer n(n>1) with AvrXSetSemaphore(&mutex)? It seems that only mutual exclusion...
Thank you very much Larry ans Mr Foo :) !! The solution was very simply but I spent a lot of time searching what the problem was. Now I have fix it in a two...
Hi all, I'm having no end of problems running AxrX(G) on the 168. My application was developed on the STK500 running at 8MHz with a 1Msec tick, the target runs...
Hi Dave, ... The ATMega168 has a CDIV8 fuse that is set by default. This causes the crystal frequency to be divided by 8. I haven't used avrx yet, but I just...
I downloaded the 2.6f version of AvrX. It compiled fine under WinAVR 20060421. Then I compiled the example AVRXSerialIO, no preblem here either. Then I tried...
Hi! I have a task which shows information on an LCD screen, and it uses snprintf to format floating point and integer numbers. Anyway, I had to give this task...
Jos sez, ... 270 bytes seems a bit much. However ..prinf() library functions tend to require lots of stack space. If you have a debugger you can try poking...
... I have lots of debuggers, but I just can't use them easily (and the "hang" comes after an amount of time around 2 minutes to 5 minutes), the JTAG pins on...
My code hasn't grown that much, but I have fonts and and FPGA image to store and I'm hoping to put it in the CPU rather than buying an additional memory... So,...
In lieu of a large model AvrX I suggest arranging your application so all executable code is below the 64k word boundary. All your fonts & images are ...
It takes something like 300 cycles to process a timer tick, so even at 10khz timer processing will consume only 20% of your CPU cycles. Gee, now you have an...
Hi! Thanks for your answer. Ok, that clarify most of my doubts, just one more: Can I actually run the AvrXIntSetSemaphore and then AvrXTimerHandler and it will...
Yes, no problem with multiple tasks waking up at the same time. All queuing operations occur in kernel space and Epilog() grabs the highest priority available...
I would like to use AvrX, winavr, and avrlib. I did a search on avrfreaks and on this group to try to find information and samples. I recently downloaded AvrX...
AvrX samples use timer 0 for the system clock, however, you can use any periodic interrupt for the system clock. Look at the samples. If you take out the...
Hi, I am trying to get Timers.c executing on the ATMEL STK501 development board with the ATmega128 uC. I modified the AVRX makefile and Examples makefile to...
Nope, I am running the mega128 from the 3.686 MHz STK500 clock. I had tried that previously, but without success. I built a clean AVRX 2.6f with just the CPU...
Hi Justin, ... I just saw an email on the avr-libc list that may be relevant. It was mentioning that some types of optimizations are only available for the ...
Hi Dave, Thanks for the input. I commented out: #pragma optimize=z 4 And no luck. I think this is used for the IAR compiler. I am using the GCC compiler. ...
Ok, I have finally gotten the LEDs to flash. I disabled the Atmega 103 compatibility fuse for the STK500 using AVR studio. That was luck, I would have never...
Looking at the code for AvrXWaitTimer, the comment mentions that the routine must stay critical, but the routine itself comprises of only: subi p1l, lo8(-2)...
AvrXWaitTimer() simply decrements a pointer and "falls through" to the wait semaphore routine. It is, indeed, non-critical code since it is just adjusting the...
Ahhh, I see. Thanks! ... the wait ... just ... The ... critical section ... one and I ... there is a ... tells the ... time it ... makes no ... to make ... ...
Hello. I am a student from Indonesia . I am interested using AvrX in my project. My simple project is a RTC using DS1337. I make 3 task : task 1 (read data...
Hi, I need some info about the Message Queue functionality. The website does not provide the info I require. I have looked in the code, and it seems the...