So, for start, I recently use VM to upload skeches from AS7 via ATMEL ICE directly to board (custom board, but it uses some of arduino libraries) using ISP and it all worked flawlessly. unfortunately my PC gone and i have brand new instane of AS7 witch microchip gallery and install VM pro. when i try to upload program to board i got these message: Uploading 'X1' to 'Arduino Nano w/ ATmega328' using 'Atmel Studio ATMEL-ICE (ISP)' [ERROR] An unexpected error occurred when executing. Traceback (most recent call last): File "atmel\atprogram.py", line 48, in run File "atmel\avr\cli\commandline.py", line 54, in execute_commands File "atmel\avr\cli\commandexecutor.py", line 52, in execute_commands File "atmel\avr\cli\resourcemanager.py", line 44, in prepare_resources File "atmel\avr\cli\resourcemanager.py", line 51, in _prepare_resource File "atmel\avr\cli\resourcecontainers.py", line 55, in allocate Error during upload using programmer The uploader process failed The uploader process failed The uploader returned an error File "atmel\avr\cli\backend.py", line 134, in start File "subprocess.py", line 702, in __init__ File "subprocess.py", line 823, in _get_handles WindowsError: [Error 6] [bad handling] I checked every thing on IDE, on forum, and google, and nothing. any help?
|