Need Help Flashing Atiny25 MTN FET + 3175

2 posts / 0 new
Last post
Justintoxicated
Justintoxicated's picture
Offline
Last seen: 4 months 2 weeks ago
Joined: 12/28/2016 - 19:36
Posts: 80
Location: California
Need Help Flashing Atiny25 MTN FET + 3175

So I want to flash a different firmware onto my board.  I bought all the things to do it and read through this guide:

http://budgetlightforum.com/node/36216

 

Only issue is that I am trying to flash a atin25 not a atiny13 chip.

 

The first thing to flash for bistro and similar firmwares is the battery check, run it , then the rest of the configuration stuff, check them etc.  Then finally the actual firmware.

 

I copied the batterycheck-25 hex file out of the repository:

http://bazaar.launchpad.net/~toykeeper/flashlight-firmware/trunk/files/head:/ToyKeeper/battcheck/

I don't know how to get things to compile in atmel studio on windows so I was hoping I ould use the existing hex file.  I found I can use gitBash for a shell and execute AVRdude on windows.  There was a sentence about setting the correct fuse values based on the .c file, but I didn't really see anything for the atiny25 in the c file linked below.

http://bazaar.launchpad.net/~toykeeper/flashlight-firmware/trunk/view/head:/ToyKeeper/battcheck/battcheck.c

 

I used 0x75 and 0xFF when executing the command.  It started to write to the chip but then error-ed out.  Something like 0xFF expected but found something else.  I figured I did something wrong so I want to delete the chip. but now I only get an error message, when trying to erase or check status.

Error is below:

https://www.irccloud.com/pastebin/yfvj6RuT/ 

 

Does this mean I bricked the driver?  What did I do wrong?

 

Lexel
Lexel's picture
Offline
Last seen: 1 hour 57 min ago
Joined: 11/01/2016 - 08:00
Posts: 2885
Location: Germany

This errors comes if the clip does not make proper contact

If you flash to attiny 25 you got to change that in code

[Reviews] Miboxer C4-12, C2-4k+6k, C2, C4 / Astrolux K1, MF01, S42, K01 / BLF Q8 / Kalrus G35, XT11GT / Nitefox UT20 / Sofirn SF36, SP35 / Imalent DM21TW / Wuben I333 / Ravemen PR1200 / CL06 lantern / Xanes headlamp

[Mods] Skilhunt H03 short / Klarus XT12GTS / colorful anodisation

[Sale] TA drivers Narsil or Bistro, XHP35 E2-3C