Atmega32A lock and unlock bits

Hello,

I am trying to program an atmega32A chip for a project using the arduino IDE and the AVR pocket programmer from sparkfun. I followed this tutorial https://www.instructables.com/id/Using-Atmega32-with-Arduino-IDE/ to change the boards.txt file and after adding the "bootloader.tool=avrdude" part in I get the following error:

avrdude: invalid byte value ({bootloader.unlock_bits}) specified for immediate mode
avrdude: read from file '{bootloader.unlock_bits}' failed
Error while burning bootloader.

I only have a few weeks left to get this project down and would really appreciate some straight forward help to get the chip bootloaded.

Thanks

Just use MightyCore:

Why waste time with some low quality, outdated instructable when there is a high quality, actively maintained project that does it all for you with a few clicks?