|
|||||||
![]() |
Forum Index > Projects > Micro-readerboard project support | ||
unable to program the microcontroller |
|||
| | | Printable Version |
|
Windell | ||||||||
|
Yep, I fixed the decimal point problem too-- we were using too much ram as well as flash space, when compiled with the new compiler. Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
q209 | ||||||||
|
See - I just gotta learn more! (and while I agree with what you said on the documentation thread, I *did* find some good books via google books that I've asked Santa about... |
![]() Henchperson Status: offline
Registered: 12/15/08 |
||||||||
|
|||||||||
|
q209 | ||||||||
|
Oh - forgot to ask: what would be the impact of storing the strings in Flash, other than the 10k cycle limit? |
![]() Henchperson Status: offline
Registered: 12/15/08 |
||||||||
|
|||||||||
|
q209 | ||||||||
|
Windell - it works (mbr 2.1, avr toolchain dec 08)! Thanks so very much. |
![]() Henchperson Status: offline
Registered: 12/15/08 |
||||||||
|
|||||||||
|
Windell | ||||||||
Quote by: q209Oh - forgot to ask: what would be the impact of storing the strings in Flash, other than the 10k cycle limit? The 10k limit doesn't really apply here-- you can read from flash as many times as you like, it's just that you can't go change the flash contents all the time without it failing. Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
q209 | ||||||||
|
So, in theory, one could use much longer and/or more strings... assuming you could keep someone's interest in reading longer strings. |
![]() Henchperson Status: offline
Registered: 12/15/08 |
||||||||
|
|||||||||
|
Windell | ||||||||
|
You can also change it to use one *very long* string by incrementing the string number after each one finishes. Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
q209 | ||||||||
|
Hmmmm... a problem I noticed last night. Even though pin 8 isn't grounded, all I get is string set 2. If I tie 8 to the high rail with a 10k resistor on startup, it works (reads bit_is_clear as 'no' |
![]() Henchperson Status: offline
Registered: 12/15/08 |
||||||||
|
|||||||||
|
Windell | ||||||||
|
It's sometimes possible that a *weak* connection to the pin is enough to pull it down-- dirt, flux, and fingers can all work. I haven't seen an example of the problem that wasn't actually due to external influence. PHP Formatted Code asm("nop"); // Wait one cycle for input to be ready -- this is important.
Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
q209 | ||||||||
|
Trying to let it stabilize with nop's doesn't seem to work (used 'shortdelay' |
![]() Henchperson Status: offline
Registered: 12/15/08 |
||||||||
|
|||||||||
|
Windell | ||||||||
|
Breadboards are hell. Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
q209 | ||||||||
|
My. My! Didn't know they were *that* bad - it would explain some problems I've run into before! |
![]() Henchperson Status: offline
Registered: 12/15/08 |
||||||||
|
|||||||||
|
Anonymous: Oleg | ||||||||
|
Kevin, just in case you are still interested in old WinAVR - get it from http://sourceforge.net/project/downloading.php?group_id=68108&filename=WinAVR-20070122-install.exe&a=36802473 |
|
||||||||
|
|||||||||
|
|
| All times are PDT. The time is now 06:12 AM. |
|
|
Octolively
Interactive LED kits
Meggy Jr RGB
LED matrix game
development kit.
Business-card sized
AVR target boards
Peggy 2
LED Pegboard kits