Please help. I'm not sure why I keep getting the USBtiny error.
Code: Select all
===================================================================================
Target folder: \\scc-fs-hf4\Students$\stu2122\S298257\Desktop\Flowcode
Source name: \\scc-fs-hf4\Students$\stu2122\S298257\Desktop\Flowcode\test.fcfx
Title:
Description:
Device: AVR.ATMEGA.ATMEGA328P
Generated by: Flowcode v9.2.0.33
Date: Tuesday, February 01, 2022 15:10:14
Users: 50
Registered to: sccadmin (32428053)
Licence key: 0QPZKG
NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Using <E-Blocks> inbuilt settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\AVR\batchfiles\avra.bat "C:\Program Files (x86)\Flowcode\Common\Compilers\avrv5\" atmega328p "\\scc-fs-hf4\Students$\stu2122\S298257\Desktop\Flowcode\test.elf" "\\scc-fs-hf4\Students$\stu2122\S298257\Desktop\Flowcode\test.c" "\\scc-fs-hf4\Students$\stu2122\S298257\Desktop\Flowcode\test.lst"
'\\scc-fs-hf4\Students$\stu2122\S298257\Desktop\Flowcode'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
C:\Windows>REM CRC: EA277D0C7EF9B4E537B79187D0BE7A25FA6080B4B01BE48BAF713429E4B690411241251B4A05C2B5828F4452C9F7348705C640EF477B79E0C7881D2E5EEC9BD6FE0D8D4660AC0314F98C28BCA92AF856EFD1DB5B777140BC4D00059D7958998291880A09BBE74CF7BA3F4E37F13004EE3637760F1F0B7DA0CC623CD30E3C7D6BAB4C3FE6151D92B8EC0ADD55E96639DAC02472BDE3806EF43AE3A028BD32A5DAE68BB191DA97CB6883A66D3C41849952BB2DD264AF32733E2C3050DA273BE4EEFF12703F3DAF67B119A5A5B069403B38249A6C4D8A1304B09A437E7E2D43FD26DF891DB3086C82D6
C:\Windows>REM REVISION: 1.0
C:\Windows>REM GUID: EA0828B2-5C70-41A5-8C54-F359DD5CC88B
C:\Windows>REM DATE: 29\03\2021
C:\Windows>REM DIR: FCD\AVR\batchfiles\avra.bat
C:\Windows>"C:\Program Files (x86)\Flowcode\Common\Compilers\avrv5\bin\avr-gcc.exe" -mmcu=atmega328p -Os -ffunction-sections -fdata-sections -funsigned-char -o "\\scc-fs-hf4\Students$\stu2122\S298257\Desktop\Flowcode\test.elf" "\\scc-fs-hf4\Students$\stu2122\S298257\Desktop\Flowcode\test.c" -lm -Wl,-gc-sections
C:\Windows>"C:\Program Files (x86)\Flowcode\Common\Compilers\avrv5\bin\avr-objdump.exe" -S "\\scc-fs-hf4\Students$\stu2122\S298257\Desktop\Flowcode\test.elf" 1>"\\scc-fs-hf4\Students$\stu2122\S298257\Desktop\Flowcode\test.lst"
C:\Windows>"C:\Program Files (x86)\Flowcode\Common\Compilers\avrv5\bin\avr-size.exe" -B -d "\\scc-fs-hf4\Students$\stu2122\S298257\Desktop\Flowcode\test.elf"
text data bss dec hex filename
152 0 0 152 98 \\scc-fs-hf4\Students$\stu2122\S298257\Desktop\Flowcode\test.elf
Compilation successful!
Using <E-Blocks> inbuilt settings for linker
Launching the linker/assembler...
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\AVR\batchfiles\avrb.bat "C:\Program Files (x86)\Flowcode\Common\Compilers\avrv5\" "\\scc-fs-hf4\Students$\stu2122\S298257\Desktop\Flowcode\test.elf" "\\scc-fs-hf4\Students$\stu2122\S298257\Desktop\Flowcode\test.hex" "\\scc-fs-hf4\Students$\stu2122\S298257\Desktop\Flowcode\test.cof"
'\\scc-fs-hf4\Students$\stu2122\S298257\Desktop\Flowcode'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
C:\Windows>REM CRC: EA277D0C7EF9B4E537B79187D0BE7A25FA6080B4B01BE48BAF713429E4B69041F19754DEA3580B6825E5D6A5C09874F305C640EF477B79E0C7881D2E5EEC9BD6FE0D8D4660AC0314F98C28BCA92AF856EFD1DB5B777140BC4D00059D795899824EF872725113B645F175A82BBF7DF194C31451F662291FA2302B8E00B0793B98DE54674FED6890F09D29E6D6AF5F4CDA2A0B069D1A731E4BF7CAEBD6A00B6313A3554E78FBF27EB2E2AB377A2B2C9B1D3B75C13EB27ADD422C3050DA273BE4EE0394535DE0D901F49597144CF394E33BC8A5C5ECC46A5F0EA3E761B0B04467EFC0CE2C344F21BA45
C:\Windows>REM REVISION: 1.0
C:\Windows>REM GUID: C4F77EBB-EDB0-4261-B01E-F0B1AB94E03A
C:\Windows>REM DATE: 29\03\2021
C:\Windows>REM DIR: FCD\AVR\batchfiles\avrb.bat
C:\Windows>"C:\Program Files (x86)\Flowcode\Common\Compilers\avrv5\bin\avr-objcopy" -O ihex -R .eeprom "\\scc-fs-hf4\Students$\stu2122\S298257\Desktop\Flowcode\test.elf" "\\scc-fs-hf4\Students$\stu2122\S298257\Desktop\Flowcode\test.hex"
HEX file creation successful!
Using <E-Blocks> inbuilt settings for programmer
Launching the programmer...
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\AVR\batchfiles\avrc_usbtiny.bat "C:\Program Files (x86)\Flowcode\Common\Compilers\avrv5\" AVRDUDE m328p atmega328p "\\scc-fs-hf4\Students$\stu2122\S298257\Desktop\Flowcode\test.hex" "test.hex" 0 3 255 255 255
'\\scc-fs-hf4\Students$\stu2122\S298257\Desktop\Flowcode'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
C:\Windows>REM CRC: EA277D0C7EF9B4E537B79187D0BE7A25FA6080B4B01BE48BAF713429E4B69041072C26934F62BA2AD18E3139D88C14D7FDF450211C1C7EDD1B26E7E6900D01A705C640EF477B79E0C7881D2E5EEC9BD6FE0D8D4660AC0314F98C28BCA92AF856EFD1DB5B777140BC4D00059D79589982348570AEC105E4FDE0D15CD60797BAFA6962DD75A0CE6BA803FA2A1D6AFD58EB6990D2583E913FCAAF7E7C43797B5D527BDC5AFE4E85741283CDFFC92B31C37CC7ED0FE65232B94A6FFAB882ACBAA5EE69F01B3F3C0F45102C3050DA273BE4EEA096881E42A07181DAE6440DB7BCD6653A9E27804B9A5BD8F97B3AD2E0D541FFE19252820FE3EB9C
C:\Windows>REM REVISION: 1.0
C:\Windows>REM GUID: A9214695-C8E9-4EAE-A1FD-7E32BFDC5003
C:\Windows>REM DATE: 29\03\2021
C:\Windows>REM DIR: FCD\AVR\batchfiles\avrc_usbtiny.bat
C:\Windows>"C:\Program Files (x86)\Flowcode\Common\Compilers\avrv5\bin\avrdude.exe" -p m328p -Pusb -c usbtiny -U flash:w:"test.hex"
avrdude.exe: Error: Could not find USBtiny device (0x1781/0xc9f)
avrdude.exe done. Thank you.
Error returned from [avrdude]
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\AVR\batchfiles\avrc_usbtiny.bat reported error code 0x1
Autoclose turned off
FINISHED