Page 1 of 1

AVRdude

Posted: Tue Feb 26, 2019 12:16 pm
by ittsjamesss
Im having problems blowing my code into my ardunino uno r3. Comes up with this message every time and nothing seems to get it to work. Any ideas?

Compilation successful!
Launching the linker/assembler...
C:\Program Files (x86)\Flowcode\Compilers\avr\batchfiles\avrb.bat "C:\Users\WORLDS~1\DOCUME~1\JAMESF~1\Full Practice 1 - 12.33 minutes.elf" "C:\Users\WORLDS~1\DOCUME~1\JAMESF~1\Full Practice 1 - 12.33 minutes.hex" "C:\Users\WORLDS~1\DOCUME~1\JAMESF~1\Full Practice 1 - 12.33 minutes.cof"
C:\Users\WORLDS~1\DOCUME~1\JAMESF~1>"C:\PROGRA~2\Flowcode\COMPIL~1\avr\BATCHF~1\..\bin\avr-objcopy" -O ihex -R .eeprom "C:\Users\WORLDS~1\DOCUME~1\JAMESF~1\Full Practice 1 - 12.33 minutes.elf" "C:\Users\WORLDS~1\DOCUME~1\JAMESF~1\Full Practice 1 - 12.33 minutes.hex"
HEX file creation successful!
C:\Users\WORLDS~1\DOCUME~1\JAMESF~1>"C:\PROGRA~2\Flowcode\COMPIL~1\avr\BATCHF~1\..\bin\avr-objcopy" -O coff-avr -R .eeprom "C:\Users\WORLDS~1\DOCUME~1\JAMESF~1\Full Practice 1 - 12.33 minutes.elf" "C:\Users\WORLDS~1\DOCUME~1\JAMESF~1\Full Practice 1 - 12.33 minutes.cof"
COFF file creation successful!
Launching the programmer...
C:\Program Files (x86)\Flowcode\Compilers\avr\batchfiles\avrc_arduinoA.bat m328p arduino com3 115200 "C:\Users\WORLDS~1\DOCUME~1\JAMESF~1\Full Practice 1 - 12.33 minutes.hex"
C:\Users\WORLDS~1\DOCUME~1\JAMESF~1>"C:\PROGRA~2\Flowcode\COMPIL~1\avr\BATCHF~1\..\bin\avrdude.exe" -p m328p -P com3 -b 115200 -c arduino -D -U flash:w:"Full Practice 1 - 12.33 minutes.hex"
avrdude.exe: ser_open(): can't open device "\\.\com3": The system cannot find the file specified.
avrdude.exe done. Thank you.
Error returned from [avrdude]
C:\Program Files (x86)\Flowcode\Compilers\avr\batchfiles\avrc_arduinoA.bat reported error code 1
FINISHED

Re: AVRdude

Posted: Tue Feb 26, 2019 12:27 pm
by Benj
Hello,

It sounds like AVRdude cannot find COM3. Maybe check the COM port number is correct in the project options and that nothing else is holding the COM port open. Unplugging and replugging the device may help and sometimes a full restart of Windows can be required.

Re: AVRdude

Posted: Tue Feb 26, 2019 4:46 pm
by ittsjamesss
Ive checked all the settings and everything is correct, shut down and restarted the PC and still having the problem?

Re: AVRdude

Posted: Tue Feb 26, 2019 4:52 pm
by Benj
Can the Arduino software program the device?

Maybe worth going into device manager, uninstalling the device driver and deleting it from your PC and then unplug/replug the device and installing the driver fresh. I've fixed a couple of COM port related problems this way though normally with cheap Chinese knock off devices.

It seems the official device driver detects the fake Chinese knock off hardware and disables itself, or it could just be me :wink: .

Re: AVRdude

Posted: Wed Feb 27, 2019 8:46 am
by ittsjamesss
Ive tried deleting and reinstalling the driver and still hasn't helped. the Arduino uno im using is a genuine. As to using Arduino to blow in the code ive had a go but ive never used the program. When trying though comes up with an error aswell.

Re: AVRdude

Posted: Thu Feb 28, 2019 10:28 am
by Benj
Hello,

Has the Arduino ever worked? Could it be faulty? Have you installed the USB driver from the Latest Arduino IDE? Flowcode 8 also comes with a USB driver you can try.