I'm looking into useing a bootloader since I've just switched from an 8535 to a Mega16. Are there any issues useing a bootloader with an AvrX program ?...
I've been using a variation of one I found on AvrFreaks for a few years now and I can't live without it. Especially considering how flaky the ISP has been for...
... Thanks ! If I read this right, it looks like it's set to run the boot-loader on a soft reset, and the application on a power-on reset ? Since the loader ...
Nope. It simply runs the bootloader on reset, which then listen on the UART for a special sequence of characters from the PC and after a pre-defined timeout...
... Ah, I guess init.s is throwing me, and the fact that pr_runApplication is a jump to 0x0. I thought it was doing something different on different types of...
Well, I didn't write it so I can't pretend to fully understand it. Plus it's been a long time since I modded it. I basically commented out the watchdog stuff...
... AH! OK, that explains it, now the whole thing makes sense. Thanks ! ========================================================== Chris Candreva --...
Hi list, First: sorry about my english. I'll be doing my final career work till next march and the goal is to generate an open specification for a PLC. We...
Not sure if my previous message went through to the list, but I was wondering what the latest recommended version is? There doesn't appear to be anything on...
What would the issues be for adapting this for use of both serial ports? Just duplicating all the functions and interrupt handlers for usart0 and usart1? Ed ...
... That looks like the most straightforward approach. And defining a second buffer of course. The interrupt handlers have to be duplicated in any case. I...
Thanks, that's what I figured. What was happening when the fifo routines were not inlined? Ed ... for ... second ... suppose you ... but I ... than just ... to...
I don't have any AvrX buffered I/O examples, but I have done similar work on PICs and H8/300. I see a few problems with your code: 1. When transmitting...
I'm trying to set up a situation where occasionally I need to have a task wait a fixed length of time (1.5 ms) or until a character is received via the usart,...
From searching the archives, it looks like this is how this was accomplished last time someone asked: SIGNAL(SIG_UART0_RECV) { PutFifo(&Rx0Buf, UDR0); ...
This looks good. The IntSetSemaphore() is redundant as the "cancel timer" in the task will tell you whether the timer or someone else tripped the semaphore. ...
Don't I need the AvrXIntSetSemaphore() to trip the semaphore and have AvrXWaitTimer() return? I'm trying to have the timer expire if a character is received...
Tripping the timer semaphore (AvrXIntSetObjectSemaphore) is sufficient. Tripping the timer semaphore doesn't cancel the timer. That needs to be done...
I have a standard timer running. I periodically test this timer then restart the timer. This seems to work fine. Sometimes I want to restart the timer when...