Type in the full discussion title or a part of it.
Discussion Title Created date
Enabling UART Tx Sets Pin High?
When I enable the UART on the Tx side, the pin gets set to +5V. Just curious why this would be?
Thursday, 9 May 2013 - 14:43
"Other" Code During Flash Write Routine
I've got a bootloader I've been working on. At its core is the AVR app code from app note AVR109. I got a little nervous that I could see a "hang" in the following line: while(...
Tuesday, 2 April 2013 - 19:31
Brain Cramp: Output Compare Timer Int Not Working
I"ve been staring at this for two hours and sure I'm missing something easy, but can't figure it out. The following code SHOULD enable an output compare ISR set to tick every 8uS...
Tuesday, 2 April 2013 - 17:41
Basic Question: Do the JTAG ICEs Override Internal RC OSC
I assume the answer is yes to this, but just wanted to be sure: I've got a bootloader program I wrote that uses the USART to load data using XModem. It works great when I am...
Monday, 25 March 2013 - 13:14
Proving/Verifying Watchdog Timer (In)Accuracy
I've got an application I've been working on for the ATmega325A, using the internal 8MHz RC oscillator (for now, next layout will have a crystal). My code is a simple superloop;...
Wednesday, 20 March 2013 - 18:20
UART/HyperTerm: I *THINK* This Is a New One
Have a simple UART program set up to send/receive fgrom HyperTerm. I send a "P" from Hyperterm, and my program should then respond back repeating with a particular char. Using a...
Wednesday, 6 March 2013 - 14:14
Frequency Counter Measurement Off
I modified the AVR App Note code so I could measure the resonant frequency of an LC tank circuit. Here is the code: unsigned long MeasureFrequency(void) { unsigned long...
Monday, 4 March 2013 - 19:47
INTVEC Location in Bootloader
I think I know the answer to this, but wanted to confirm: my bootloader is too large for the bootloader FLASH space in my micro. I have plenty of available FLASH space outside of...
Thursday, 28 February 2013 - 00:57
Bootloader as Library?
I had the thought that it might make sense to create my bootloader application as a library, and then include the obj file in my main application project. I tried this, and the...
Thursday, 21 February 2013 - 19:07
Using ISRs in Bootloader
I've read the Bootloader FAQ, and the datasheet for my part, and I understabd how to relocate the IVT to either the boot or application space. What I don't understand is: do I...
Thursday, 21 February 2013 - 16:24
Read Struct Out of FLASH (IAR)
I'm trying to store a struct in FLASH, and then later read it out. I have typedef'd a struct elsewhere in my code. I am then trying to retrieve the struct from FLASH and cast it...
Saturday, 16 February 2013 - 21:05
Setting Segment Locations (IAR)
Rather than maintain two separate projects/hex files for an application and a bootloader for it, I have combined them into one project. However, I need to be sure the bootloader...
Thursday, 14 February 2013 - 17:24