It sounds like you are trying to program an A-Star 328PB using an AVRISP mkII programmer in the Arduino IDE.
First, you should find the
programmers.txt file that comes with the A-Star package. If you are using Windows and installed the A-Star package using the Boards Manager as recommended in our directions, you should be able to find it at a path like the following:
Next, open that file in a text editor and add these lines to the bottom:
avrispmkiifor328PB.name=AVRISP mkII for Pololu A-Star 328PB
After you save the file, close the Arduino IDE, and then open it again, you should see a new entry in the Programmers menu named “AVRISP mkII for Pololu A-Star 328PB”. Select this programmer. Also, make sure that you select “Pololu A-Star 328PB” in the “Board” menu.
You should now be able to program your A-Star 328PB with the AVRISP mkII using the “Upload using programmer” command. I only tested these instructions partially, so please let me know whether they work for you.