Post Created date
3x3 keypad
robtotoreb wrote:OK, I kind of understand what you are saying...but don't completely get it. Can you give me an example in my code where I shoukd modify it?The two lines which...
Monday, 28 July 2008 - 00:17
Meaning of rjmp to dollar sign (rjmp $)
"$" represents the current instruction's address. Therefore, "rjmp $" creates an infinite loop.
Sunday, 27 July 2008 - 04:33
3x3 keypad
Try adding a short delay between setting keyport and the first time you read keypin.
Sunday, 27 July 2008 - 00:14
6-pin IDC shrouded pin connector for AVRISP mkII?
If you can't find a 6 pin connector similar to the one in your picture, you could just remove 2 pins from each end of the 10 pin connectors you have and use them as 6 pin.
Thursday, 17 July 2008 - 03:20
A question of style... clarity or not?
Quote:It would seem that the same thing could be accomplished by leaving the first ISR and going to sleep in the mainline?When I have done similar tricks in the past, that is the...
Wednesday, 16 July 2008 - 04:25
A question of style... clarity or not?
Quote:To delay 2 or more cycles, it's more efficient to use rjmp's since they use half the flash space.Can an rjmp be interrupted during the 2 cycles? I can't remember for sure...
Wednesday, 16 July 2008 - 04:16
Writing to flash memory for AT45DB161D?
I don't think Keil makes a compiler for AVR, so I would guess you are actually using one of the Atmel 8051 based micros. In this case, the I/O ports of the micro are P0, P1...
Sunday, 13 July 2008 - 05:05
Creating .hex data file
Quote:I wrote a C# program that calculates the desired byte stream and it is very simple to format the output in any of the formats discussed here. I already changed to the GAS...
Saturday, 12 July 2008 - 22:15
ATmega8@16MHz runs USART at 250kbps - Error rate not 0 ???
One other thing to watch out for is that your PC might not be communicating at exactly 250kbps. That is not a standard RS232 rate. I have had mixed success in the past when...
Saturday, 12 July 2008 - 19:42
Creating .hex data file
Depending on what the source of your data is, it may be easier to just not use assembly. For example, if your data is already in a file on your computer, you may be able to find...
Saturday, 12 July 2008 - 03:13
How to Write Assembly Interrupts within a C program - SOLVED
Personally, I always find the inline assembly syntax in GCC a pain in the butt. If I need more than a few opcodes, I usually write the code in it's own assembler file and link it...
Saturday, 12 July 2008 - 02:45
script for building avr-gcc4.3 on Linux?
I did a manual build of gcc 4.3.1 on Linux recently. I pretty much just followed the standard instructions on this page. The only thing that is not explicitly indicated there is...
Wednesday, 9 July 2008 - 02:11