Hi,
The (Atmel) programmer options are non standard arduino and are contributions from users that I can extend as required.
This error means the clock delay switch is either wrong or missing for the programmer definition
You can edit the definition via the programmers.atmel.txt below the visual micro hardware folder.
The file/folder is probably in:-
C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\arduino16x\hardware\avr\programmers.atmel.txt
You can either change or create an entry in the txt file. The current one is:-
atprogram_avrispmkii_isp.name=Atmel Studio AVRISP MkII (ISP)
atprogram_avrispmkii_isp.program.tool=atprogram
atprogram_avrispmkii_isp.program.extra_params=-t avrispmk2 -i ISP
atprogram_avrispmkii_isp.help=Connect the programmer to the ICSP port
but you could add a new entry to try different settings
atprogram_avrispmkii_isp_custom1.name=Atmel Studio AVRISP MkII (ISP) (Custom1)
atprogram_avrispmkii_isp_custom1.program.tool=atprogram
atprogram_avrispmkii_isp_custom1.program.extra_params=-t avrispmk2 -i ISP
atprogram_avrispmkii_isp_custom1.help=Connect the programmer to the ICSP port
After changing the "extra_params" value to have the correct values you can either restart atmel studio or click "tools>visual micro>reload toolchains"
If you find the correct values please post and I will add support to the next release of visual micro.
Thanks