Thank you Steve and Larry, I think I will try them. Happy new year to all !!! Bye steve childress <stevech@...> escribió: In addition to PC Board mount...
Hello, Sorry to create this type of post, but I can't find what I'm doing wrong. After much time away from development, I upgraded to the latest WinAVR...
OK. I tried with 8515 as target for both AVRX and Timer example and AVR Studio gets as far as "AVR Simulator: AT90S8515 Configured OK" then I get "Microsoft...
Sounds like a problem in the Studio elf processor/plug-in. Ask the avr-gcc list. ... From: avrx@yahoogroups.com [mailto:avrx@yahoogroups.com] On Behalf Of ...
... I had a issues today installing the latest and greatest Avrstudio and WinAvr on my new laptop. Basically the code would compile as usual, but AVRStudio ...
Hi, Everybody I'm migrating from codevision to winavr+avrx, I just read learn and try on mega 8 with 3 task and running. 1 task for LCD 1 task for I/O push...
1)I had a bug where I accidentally had two tasks accessing the same timer structure at the same time. The crash seemed very random and frustrating. After many...
hello there everyone... i need help on a certain point. Suppose i have have a data logging system. i store the data acquired by the microcontroller in a flash...
Hi, ... This is my code for reading the ADC: // Set ADMUX but don't mess with REFS0 & REFS1 ADMUX = ( ADMUX & (( 1 << REFS1 ) | ( 1 << REFS0 ))) | mux; //...
... This busy-wait is going to bring all tasks to a stop. I don't have code handy, but usually I'll wait on a semaphore, and have the ADC inturpt set that...
Yes, the whole point of using AvrX is to avoid blocking waiting for hardware. Here's a quick sample I used in an old project: Although I ended up just polling...
The current AvrX takes about 250 cycles out of its life to service an interrupt, wake up a task and return. If all tasks are sleeping it is considerably...
Good point. That's what I do for another project which reads 12 analog voltages from an external SPI ADC and averages them. I let the ISR take care of storing...
Hi friends! I'm programming the Atmega128 with JTAG and some of the ADC pins of the Port F don't work. I’m trying to read a voltage through this pins but I...
Sure, you need to disable the JTAG interface in your code rather than the fuse bits. You can debug as well if you reset, then break on the first instruction...
Hi folks, I've been searching on-line for some typical examples (above those that are part of the AVRX distribution) and don't seem to find many. The ...
Hello friends!! I'm using the MAVRIC Board that comes with MAX481 uart/RS485 converter. I want to communicate the Atmega128 (at 16 MHz) microcontroller with...
... What I bet is that TXC1 is already set when you enter the while loop. You could try adding UCSR1A |= (1<<TXC1); // clear TX complete flag. while...
The mega128 data sheet on page 179 describes how the TXC bit is set/reset. You need to reset the TXC flag after noting it was set. If you used an interrupt...
larry barello sez, ... They way I tend to handle this sort of thing is not using putc() but instead with a function send_rs485(char *data, uint8_t len); which...
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...