Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Invalid ISP Clock Delay (Read 5467 times)
eob
Newbies
*
Offline


Posts: 1
Joined: Aug 29th, 2015
Invalid ISP Clock Delay
Aug 29th, 2015 at 6:52pm
Print Post  
Trying to burn the bootloader into an Arduino YUN with an Atmel-ICE-Basic using ISP and I get a System Exception -- invalid ISP clock delay. The verbose output shows that a number is missing after '-i' (see below output).

Can anyone suggest what I need to do to get this ISP method working.

Burning bootloader to board 'Arduino Yún' using 'Atmel Studio ATMEL-ICE (ISP)'
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avrdude "-CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf" -v -patmega32u4 -c{protocol} -t atmelice -i ISP -e -Ulock:w:0x3F:m -Uefuse:w:0xfb:m -Uhfuse:w:0xd8:m -Ulfuse:w:0xff:m
System.Exception: Burn bootloader failed with an exception ---> Visual.Micro.MiroAppAPI.debug.RunnerException: avrdude: invalid isp clock delay specified 'ISP'

   at Visual.Micro.MiroAppAPI.debug.Uploader.executeUploadCommand(ICollection commandDownloader, String workingPath)
   at Visual.Micro.MiroAppAPI.debug.Uploader.executeUploadCommand(ICollection commandDownloader)
   at  programmerPrefs, String programmer)
   --- End of inner exception stack trace ---
   at  programmerPrefs, String programmer)
   at Visual.Micro.MiroAppAPI.debug.AvrdudeUploader.burnBootloader(Board boardPreferences, String programmerName)
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Invalid ISP Clock Delay
Reply #1 - Aug 29th, 2015 at 7:52pm
Print Post  
it's not a very pretty error but what this means is that the ice programmer def needs a tweak.

The non-arduino programmers are the only parts of visual micro submitted by users who got them working.

It sounds like the atmel ice needs an extra or different setting for the yun.

You can use the atmel studio device programming tool (see the tools menu) instead.

or you can alter the programmers.atmel.txt in "\program files (x86)\visual micro\arduino for visual studio\micro platforms\arduino 1.6\avr"
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint