Moving programming of ATMEL microcontrollers to MAC OS with ARM chips

Since native ATMEL (MICROCHIP) studio 7.0 (and all previous ones) does not work under poppies, you have to use a virtual machine with Windows compiled for ARM. Moreover, this virtual machine runs an application from Intel with its emulator.
And of course, no drivers work right away.

What to do to make it work.

  • Install the WIN 11 HOME Virtual Machine (it is smaller than PRO) on something that is available. Or VirtualBox or Parallels. I checked on 22H2 and 24H2 on Russian versions.

  • Buy a key from it (WINDs) on AVITO for 300 or 400 rubles. Activation in the Russian Federation works.
    I note that even if you download Parallels and install it from scratch, it will not work. Will require activation. And this activation via VPN does not work in the Russian Federation. I activated mine in Turkey. You can probably find a VPN such that activation will work for us too. I didn't look for it.

  • Download studio latest version. This is 7.XXX

  • Do not connect any programmers.

  • Press SHIFT to load Windows 11 in driver launch mode without signatures.

  • Install Studio and Confirm the installation of all Dreisers without a signature.

  • My ATMEL ICE (native) and MK II (from Aliexpress for 1200 rubles) programmers are both shown after installation as driverless.

  • Reboot WIND in installation mode for unsigned drivers.

  • Climb https://zadig.akeo.ie and download the driver installer. Then put in your programmer (most often MK II as I know) and install the driver. By the way, you will also have to confirm the installation. Then, in my case, I also installed the driver for ATMEL ICE. The driver should be installed like this WIN USB 6.1.7600.16385

  • As a result, the machine with the studio installed will be about 25Gb. Works quickly from an external SSD drive. But I wouldn't recommend doing this. Because an accidental disk disconnection can kill this virtual machine to death.
    My option is this. I assembled an activated WIN 11 ARM machine with all the necessary software and all IDEs and made a copy of it to an external SSD. And the working machine lies inside the MAC. There are no working project files on the virtual machine itself. This is a purely executive machine. All working files are on the MAC file system. And from there they are all synchronized with the clouds.|

    Both of my programmers work. The studio also works without problems. Via ISP.
    But programming via JTAG does not work on ATMEGA 2560 and 1280. Although ATMEL ICE has such an interface and has an adapter for it. Boards with ATMEGA are specially made with JTAG output. But alas it doesn't work. The fuses are all set correctly. Here is a description in Russian of who is responsible for what: https://cxem.net/beginner/beginner92.php
    If anyone knows how to run JTAG – write.
    Here are some recommendations in English: ttps://www.avrfreaks.net/s/topic/a5C3l000000UX3EEAW/t140842

    This is where Windows 11 ARM comes in https://www.comss.ru/page.php?id=14684&utm_referrer=https://dzen.ru/media/id/592d68ddd7d0a6f37914fdd2/66f3d409e6f3c91c50c283f3
    This is where people struggle and successfully connect left-handed programmers to the studio http://we.easyelectronics.ru/teplofizik/problemy-s-programmatorami-atmel-avr-i-ih-reshenie.html

  • Similar Posts

    Leave a Reply

    Your email address will not be published. Required fields are marked *