AVRdude

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
ittsjamesss
Posts: 18
Joined: Tue Jan 15, 2019 11:53 am
Been thanked: 2 times

AVRdude

Post 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

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: AVRdude

Post 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.

ittsjamesss
Posts: 18
Joined: Tue Jan 15, 2019 11:53 am
Been thanked: 2 times

Re: AVRdude

Post by ittsjamesss »

Ive checked all the settings and everything is correct, shut down and restarted the PC and still having the problem?

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: AVRdude

Post 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: .

ittsjamesss
Posts: 18
Joined: Tue Jan 15, 2019 11:53 am
Been thanked: 2 times

Re: AVRdude

Post 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.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: AVRdude

Post 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.

Post Reply