Skip to main content

Messages

This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.

Messages - jcr

1
AVRDude / Re: Programming an Attiny45 clocked at 32.768kHz
Ok, scratch that question. I worked around the problem by purchasing a "real" avr programmer, because it was one of those "needs to be done by yesterday" projects. But with this out of the way, I'd still like to have a BP capable of programming at variable speeds instead of set SPI rates. Which sounds like a perfectly good excuse to attempt adding an stk500 mode to the BPv4, which I'll try next ;)
2
AVRDude / Programming an Attiny45 clocked at 32.768kHz
Does anyone know of a way to slow down a Bus Pirate's programming speed to or below 4kHz, so that it'll allow me to program an Attiny45 clocked with an external 32.768kHz crystal? Preferably one that doesn't involve a massive amount of coding in either avrdude or the Bus Pirate's firmware ;)

The slowest possible SPI speed of 30kHz is way too fast for this configuration and results in the dreaded "initialization failed, rc=-2" error, but luckily with a known cause this time. I've also tried an avrdude patch I ran across that implements avr programming through the raw wire protocol (avrdude patch #7723), but this bottoms out at 5kHz and still results in failures. Since I've only got a BPv4, the stk500 firmware also doesn't seem to be an option.

Right now I have to make do with a bsd parport programmer as a workaround (with -B 250 -i 1000), but this is a big hindrance in my development process (requires unplugging, walking to a different room, etc). I'd rather use my favorite little tool.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01252259800session_write_close ( )...(null):0
20.01282391400ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01282392176Database_MySQL->query( ).../DatabaseHandler.php:119
40.05832530920Database_MySQL->error( ).../Db-mysql.class.php:273