Thanks Volkmar I use AvrStudio 4.06 (latest version), I'll try your suggestion. Bye Pippo ... But I have heard that there is a bug in one (or both) of them for...
Your code is never receiving the Timer0 overflow interrupt. There could be several reasons for this. Most likely, assuming you are using the test code...
Oh, another possibility: the mega128 didn't exist at the time and the interrupt vector table is incorrect for that chip variant. Check that the file...
I found the solution to my problem! After dowloading the release 2.6e, recompiling everything and trying my problem below everything worked fine. The problem...
I am currently using the mega128 with IAR 2.28A (just switched from 2.27B). There were some problems with the interrupt mapping with the mega 128 (missing...
Hi! Yes, adding a delay works because you give time for the transmitter to send the byte. If you want a more elegant solution, you could use interrupts to...
Hello, I want to step through the AVRX assembly code in Studio. I am able to step through the example code, but am not able to step into the assembly code of...
I'm trying to get up to speed on AvrX and I keep tripping over a term I'm not familiar with - mutex. A google search turned up a definition of "mutual...
mutex = MUTual EXclusion Mutex: gates mutually exclusive access (i.e., controls access) to an shared object/data structure/etc. A semaphore is a common method...
Daniel, Thanks for the quick reply. I have a newly purchased copy of MicroC/OS-II and I'll check it when I get home tonight. I guess my real question is what...
Are you looking for the following (from AvrX, v2.6)? <quote from avrx.inc> /*+ -------------------------------------------------- SEMAPHORE BIT DEFINITIONS ...
Aarghhh. This is exactly what I needed. I don't know how I missed this file (I was looking all over avrx.h and the *.s files). Thanks for pointing me at...
I am trying to determine if I can use this RTOS (I like what I see so far) -- but I cannot get two pre-emptive tasks up and running. I'm using an Atmel...
Task 1 never blocks. So task 2 never runs since it is lower priority. Move the AvrXDelay() call outside of the if/then/else so the task blocks every loop. I...
I'll try this -- the global g_hwStatus is declared volatile (I didn't post the entire module). If I don't use AvrX and instead only use that flag everything...
You set Timer0 to zero in your init code. The reference code essentially does the same, except that it adjusts the initialization value to account for delays...
I'll have to revisit this later -- neither of these suggestions has made it work. Unfortunately this eval board has ZERO debugging capabilities other than...
Well, run your test code in the simulator and drop the eval board for a while until you get the code to work. I would also suggest starting with one of the...
Hi, last week, I bought STK-500 and now I get the problem when I use it to compile AvrX example. 1. I try to compile MessagesAndData.c from Avrx\examples...
Your build & code works fine. The warning is not critical and relates to how "main()" is declared. You can read about what the sample "MessagesAndData" does...
Hi, ... I assume the error message didn't come from the make process because it is after the "----------end-----------" line. I think AVRstudio is generating...
... From: Larry Barello <yahoo@...> Sent: Tuesday, March 18, 2003 9:40 PM ... Thank's for your reply, I confused about cable connection between PC and...
... From: Volkmar Dierkes <volkmar.dierkes@...> Sent: Wednesday, March 19, 2003 3:23 AM ... Thank's for your advice. You are right, after I wrote "Errors:...
Last July I asked about buffered serial IO for AVRX. I was pointed to Peter Fleury's serial routines as something easy to port. Well, work and family has...
I wrote a buffered serial I/O routine for my latest combat controller. It doesn't use interrupts (it is polled from a high speed interrupt within a larger...
Has any one used AVRX to work with the serial DataFlash memory that is on the STK500? I'd like to get rid of all of the wait loops I have, with out ...