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:

https://budgetlightforum.com/t/-/30672

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?

This errors comes if the clip does not make proper contact

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

Did you ever find a solution to this?

I made the same mistake of using the wrong fuse values while flashing my FT03.

You have probably bricked your mcu. This can be undone but at what cost just to unbrick it might not be worth it to you. I know it can be done with Arduino and maybe a stk500.

It would probably be the easiest, it would for me anyways, to just replace the mcu with a brand new one and make sure you set the right fuses. Replacing the mcu and flashing with the correct firmware and setting the correct fusees should make it like new.

Thanks for the quick reply. I was looking at HVP and I think you’re right. It’s going to be easier to just replace the mcu. Time to order a few attiny85’s