I got it built and only had a couple of solder bridges to fix, that went well.
Sorry about the quality of this pic...
I used a 560 ohm bleeder and it works with a lighted tailcap. R1 is 22k, that was all I had on hand and R2 is a 4.7k. The caps are the recommended ones for other FET based drivers.
But, now I have other problems. I flashed it with BLF-A6 firmware. I had to raise ML a little, but it is working fine now. I do not seem to have the highest mode, all of the others seem to be there. I also cannot go backwards in the modes. Any ideas? I was able to get into config mode and set it to 7 modes and that works, but no highest output level. I have flashed it with TK's battcheck and it will not run. So, I looked at the code and it looked to me like I needed to swap #define STAR2_PIN PB0 and #define PWM_PIN PB1 for output to the fet pwm channel. This requires me to recompile the code, and it spits out the following errors:
E:\AVRdude\BLF-A6\GccApplication1\GccApplication1\battcheck.c(48,10): error: expected '=', ',', ';', 'asm' or '__attribute__' before 'need'
Hey, you need to define ATTINY.
^
In file included from c:\program files (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\lib\gcc\avr\4.9.2\include\stdint.h:9:0,
from c:\program files (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\inttypes.h:37,
from c:\program files (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\util\delay_basic.h:37,
from .././battcheck.c:66:
c:\program files (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\stdint.h(159,9): error: unknown type name 'int8_t'
typedef int8_t int_least8_t;
^
c:\program files (x86)\atmel\studio\7.0\toolchain\avr8\avr8-gnu-toolchain\avr\include\stdint.h(213,9): error: unknown type name 'int8_t'
typedef int8_t int_fast8_t;
^
.././battcheck.c: In function '_delay_ms':
E:\AVRdude\BLF-A6\GccApplication1\GccApplication1\battcheck.c(71,23): error: 'DELAY_TWEAK' undeclared (first use in this function)
_delay_loop_2(DELAY_TWEAK);
^
E:\AVRdude\BLF-A6\GccApplication1\GccApplication1\battcheck.c(71,23): info: each undeclared identifier is reported only once for each function it appears in
make: *** [battcheck.o] Error 1
Done executing task "RunCompilerTask" -- FAILED.
Done building target "CoreBuild" in project "battcheckM.cproj" -- FAILED.
Done building project "battcheckM.cproj" -- FAILED.
Build FAILED.
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========
So, until I can get this compiled I am stuck on the voltage testing. I did test battcheck.hex, that I downloaded, on a 105c and it worked. The numbers were fairly high, but I have no point of reference.