Using AVRISP mkii with MacOS 14.4 Sonoma and bare Atmel chips

Hi All!

How does everyone burn boot loaders and upload sketches to bare Atmel chips now?

My MacBook Pro running OSX finally died, so I've had to buy a new Mac mini with OS 14.4, and have finally gotten around to updating my Arduino IDE to the latest version too, but when I try to burn a boot loader to my boards now using the AVRISP mkii, it gives me this error:

Failed chip erase: cannot execute upload tool: fork/exec /Users/marcusjennings/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/bin/avrdude: bad CPU type in executable

I have a vague memory that to make the AVRISP mkii work on the old MacBook, I had to download a different driver, but I can't find that info anywhere now! Perhaps the driver came from sourceforge? libusb perhaps? Perhaps that's not the problem at all.

Arduino IDE is allowing me to select the AVRISP mkii as a programmer, so I'm guessing that it's still an option. My old computer actually turned on long enough for me to try it again, and everything worked fine, so I know that it's not a problem with the board or the programmer, and it probably is just a driver somewhere.

I'm sure I'm missing something obvious and simple so if anyone can point me in the right direction I'd be most grateful! My processor is just a little Atmega 328P. Perhaps there's a more modern programmer that people are using now for this?

Thanks in advance!

SOLVED!

Oh that was easy, if anyone else has the same problem, here's what causes it:

The Mac mini (and other new Macs) uses an apple processor rather than an intel one. In order to run some parts of Arduino on this, you need to install a thing called rosetta. The details are here:

Now everything works fine as on my old MacBook Pro, no need for any different drivers or anything like that, it seems that the problem wasn't with the AVRISP mkii at all and would have probably happened if I'd have connected an Uno or whatever too.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.