I recently have bought an Atmega 328PB Xplained mini and tried to program it with Microchip Studio 7.0.2542. I got an error message "Unable to connect to tool mEDBG (ATML252305270000732�)"
Timestamp: 2021-12-23 22:32:05.734
Failed to set-up tool (no context id returned).
It is weird for me because the serial number was not read properly.
There is no such situation explained in Xplaind user guide):
ATmega328PB Xplained Mini (microchip.com)
I found exactly the question with the proper answer for it, unfortunately, the script which should solve the problem is not attached there.
Unable to connect ATmega328P Xplained Mini (force.com)
In addition, I tried MPLAB X IDE and the debug mode worked however mEDBG was not the same as on my bord info ATML252305270000732 instead ATML2523052700007329
I have no idea where the serial number is located in my board memory or how to manually change it in microchip studio.
any help appreciated.