avrdude.exe has stopped working in FlowCode V7
Moderator: Benj
-
- Posts: 8
- Joined: Fri Sep 22, 2017 5:25 am
- Has thanked: 2 times
avrdude.exe has stopped working in FlowCode V7
I have a question. I want to transfer my flowchart code for my Arduino Mega 2560, but appear a following message: "avrdude.exe has stopped working"
How to solute this problem ?
Thanks!
How to solute this problem ?
Thanks!
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: avrdude.exe has stopped working in FlowCode V7
As this is not a Feature request, I have moved topic to a more suitable section.
Martin
Martin
Martin
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
Re: avrdude.exe has stopped working in FlowCode V7
Has it worked in the past, since installation?avrdude.exe has stopped working
If you run cmd.exe to get a command line box (dosbox), cd to your Flowcode7 \compilers\avr\bin directory, then run avrdude.exe
Does that run and respond with usage and version information?
-
- Posts: 8
- Joined: Fri Sep 22, 2017 5:25 am
- Has thanked: 2 times
Re: avrdude.exe has stopped working in FlowCode V7
Hi, LeighM! This is the first time I execute the FlowCode 7 to transfer my code for my Arduino Mega 2560. I was in the cited directory and I've execute the avrdude.exe, but when execute it show a dos box very fast and close instantly.
-
- Posts: 8
- Joined: Fri Sep 22, 2017 5:25 am
- Has thanked: 2 times
Re: avrdude.exe has stopped working in FlowCode V7
For more information, my Windows version is 8.1, processor is Intel Core i3, and 4GB of RAM Memory.
-
- Valued Contributor
- Posts: 2045
- Joined: Wed Aug 27, 2008 10:31 pm
- Location: Netherlands
- Has thanked: 553 times
- Been thanked: 1081 times
Re: avrdude.exe has stopped working in FlowCode V7
(For all instructions below, skip the ' characters when typing the commands)
Press Windows-Key+R to open the 'Run' box, now type 'cmd.exe' and press enter.
Next type 'cd \Program Files (x86)\Flowcode 7\compilers\avr\bin' and press enter.
Now type 'avrdude.exe', press enter and cut-and-paste the output in a reply. (Right click on the title bar of the window for the context menu and choose 'Mark' from the 'Edit' category to select the text, then paste it in your message)
Press Windows-Key+R to open the 'Run' box, now type 'cmd.exe' and press enter.
Next type 'cd \Program Files (x86)\Flowcode 7\compilers\avr\bin' and press enter.
Now type 'avrdude.exe', press enter and cut-and-paste the output in a reply. (Right click on the title bar of the window for the context menu and choose 'Mark' from the 'Edit' category to select the text, then paste it in your message)
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis
-
- Posts: 8
- Joined: Fri Sep 22, 2017 5:25 am
- Has thanked: 2 times
Re: avrdude.exe has stopped working in FlowCode V7
Hi kersing, this is the result.
C:\Users\Francisco>cd\Program Files (86)\Flowcode 7\compilers\avr\bin
O sistema não pode encontrar o caminho especificado.
C:\Users\Francisco>cd \Program Files (x86)\Flowcode 7\compilers\avr\bin
C:\Program Files (x86)\Flowcode 7\compilers\avr\bin>avrdude.exe
Usage: avrdude.exe [options]
Options:
-p <partno> Required. Specify AVR device.
-b <baudrate> Override RS-232 baud rate.
-B <bitclock> Specify JTAG/STK500v2 bit clock period (us).
-C <config-file> Specify location of configuration file.
-c <programmer> Specify programmer type.
-D Disable auto erase for flash memory
-i <delay> ISP Clock Delay [in microseconds]
-P <port> Specify connection port.
-F Override invalid signature check.
-e Perform a chip erase.
-O Perform RC oscillator calibration (see AVR05
-U <memtype>:r|w|v:<filename>[:format]
Memory operation specification.
Multiple -U options are allowed, each reques
is performed in the order specified.
-n Do not write anything to the device.
-V Do not verify.
-u Disable safemode, default when running from
t.
-s Silent safemode operation, will not ask you
fuses should be changed back.
-t Enter terminal mode.
-E <exitspec>[,<exitspec>] List programmer exit specifications.
-x <extended_param> Pass <extended_param> to programmer.
-y Count # erase cycles in EEPROM.
-Y <number> Initialize erase cycle # in EEPROM.
-v Verbose output. -v -v for more.
-q Quell progress output. -q -q for less.
-l logfile Use logfile rather than stderr for diagnosti
-? Display this usage.
avrdude version 6.1, URL: <http://savannah.nongnu.org/projects/avrdude/>
C:\Users\Francisco>cd\Program Files (86)\Flowcode 7\compilers\avr\bin
O sistema não pode encontrar o caminho especificado.
C:\Users\Francisco>cd \Program Files (x86)\Flowcode 7\compilers\avr\bin
C:\Program Files (x86)\Flowcode 7\compilers\avr\bin>avrdude.exe
Usage: avrdude.exe [options]
Options:
-p <partno> Required. Specify AVR device.
-b <baudrate> Override RS-232 baud rate.
-B <bitclock> Specify JTAG/STK500v2 bit clock period (us).
-C <config-file> Specify location of configuration file.
-c <programmer> Specify programmer type.
-D Disable auto erase for flash memory
-i <delay> ISP Clock Delay [in microseconds]
-P <port> Specify connection port.
-F Override invalid signature check.
-e Perform a chip erase.
-O Perform RC oscillator calibration (see AVR05
-U <memtype>:r|w|v:<filename>[:format]
Memory operation specification.
Multiple -U options are allowed, each reques
is performed in the order specified.
-n Do not write anything to the device.
-V Do not verify.
-u Disable safemode, default when running from
t.
-s Silent safemode operation, will not ask you
fuses should be changed back.
-t Enter terminal mode.
-E <exitspec>[,<exitspec>] List programmer exit specifications.
-x <extended_param> Pass <extended_param> to programmer.
-y Count # erase cycles in EEPROM.
-Y <number> Initialize erase cycle # in EEPROM.
-v Verbose output. -v -v for more.
-q Quell progress output. -q -q for less.
-l logfile Use logfile rather than stderr for diagnosti
-? Display this usage.
avrdude version 6.1, URL: <http://savannah.nongnu.org/projects/avrdude/>
-
- Posts: 8
- Joined: Fri Sep 22, 2017 5:25 am
- Has thanked: 2 times
Re: avrdude.exe has stopped working in FlowCode V7
Anyone solution for this question ? I can't to transfer my code.
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: avrdude.exe has stopped working in FlowCode V7
I don't know much about avrdude.exe so I could be way off.
Could it be a firewall, antivirus or windows defender stopping the program from working when being accessed via a host program?
you could try disabling all of them to check.
Or could it be the folder were flowchart is saved has not got full permission?
Save flowchart in the downloads or documents section.
Martin
Could it be a firewall, antivirus or windows defender stopping the program from working when being accessed via a host program?
you could try disabling all of them to check.
Or could it be the folder were flowchart is saved has not got full permission?
Save flowchart in the downloads or documents section.
Martin
Martin
-
- Posts: 8
- Joined: Fri Sep 22, 2017 5:25 am
- Has thanked: 2 times
Re: avrdude.exe has stopped working in FlowCode V7
Martin, I did stop my firewall, windows defender and antivirus and problem continue.
LeighM, Yes. I configure the COM port in stage of project configuration.
But the problem continue.
LeighM, Yes. I configure the COM port in stage of project configuration.
But the problem continue.
- 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.exe has stopped working in FlowCode V7
Can you attach your Flowcode project file? The name of the file could potentially be the cause of the problem if you've used any special characters?
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 8
- Joined: Fri Sep 22, 2017 5:25 am
- Has thanked: 2 times
Re: avrdude.exe has stopped working in FlowCode V7
This is my files project.
- Attachments
-
- blink.rar
- (12.33 KiB) Downloaded 355 times
- 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.exe has stopped working in FlowCode V7
Hello,
The Non R3 version of the Arduino Mega has known programming issues. Use the compile to hex feature in Flowcode and then use the Xloader software to transfer the Flowcode hex file to the device.
Xloader can be downloaded from here.
http://russemotto.com/xloader/
If you are using the R3 version of the Mega (R3 will be printed on the board) then switch the target in the Flowcode project options and then the compile to chip feature should work as expected.
Let us know how you get on.
The Non R3 version of the Arduino Mega has known programming issues. Use the compile to hex feature in Flowcode and then use the Xloader software to transfer the Flowcode hex file to the device.
Xloader can be downloaded from here.
http://russemotto.com/xloader/
If you are using the R3 version of the Mega (R3 will be printed on the board) then switch the target in the Flowcode project options and then the compile to chip feature should work as expected.
Let us know how you get on.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: avrdude.exe has stopped working in FlowCode V7
Hello,
For all those that want to use the $5 AVRDUDE or ( USBASP ) here is what i have done some time ago to get it work
with Flowcode 7 .
There are 3 files and some configuration involved in this which are avra.bat , avrc_asp.bat and the .fcdx file of the chip you need to flash with AVRDUDE , the modified files are Attached below , Driver for windows can be downloaded from Here
Just replace these files ( keep a backup of the original once just in case you want to go back ) .
I have modified the files so that it works with USBASP ( AVRDUDE ) at Max frequency and suppresses all compilation warnings
so that it will compile faster .
The firmware of your AVRDUDE must be the latest to work on Max Frequency see Here
Regarding the .fcdx file the <programmer exe=""> parameter line has to be deleted in order for this parameter to be accepted from flowcode compiler options .
After replacing the files and modifying .fcdx file open Flowcode go to build -> compiler Options -> AVR -> Default -> Programmer TAB and edit to match the following
Location:
$(appdir)compilers\avr\batchfiles\avrc_asp.bat
Parameters:
AVRDUDE $(chipalt) $(chip:l) "$(outdir)$(target).hex" "$(target).hex" 0 $(cfg0) $(cfg1) $(cfg2) $(cfg3)
Save it with a new name and use as default.
That is all you should now be able to use AVRDUDE by clicking on Compile to chip .
For all those that want to use the $5 AVRDUDE or ( USBASP ) here is what i have done some time ago to get it work
with Flowcode 7 .
There are 3 files and some configuration involved in this which are avra.bat , avrc_asp.bat and the .fcdx file of the chip you need to flash with AVRDUDE , the modified files are Attached below , Driver for windows can be downloaded from Here
Just replace these files ( keep a backup of the original once just in case you want to go back ) .
I have modified the files so that it works with USBASP ( AVRDUDE ) at Max frequency and suppresses all compilation warnings
so that it will compile faster .
The firmware of your AVRDUDE must be the latest to work on Max Frequency see Here
Regarding the .fcdx file the <programmer exe=""> parameter line has to be deleted in order for this parameter to be accepted from flowcode compiler options .
After replacing the files and modifying .fcdx file open Flowcode go to build -> compiler Options -> AVR -> Default -> Programmer TAB and edit to match the following
Location:
$(appdir)compilers\avr\batchfiles\avrc_asp.bat
Parameters:
AVRDUDE $(chipalt) $(chip:l) "$(outdir)$(target).hex" "$(target).hex" 0 $(cfg0) $(cfg1) $(cfg2) $(cfg3)
Save it with a new name and use as default.
That is all you should now be able to use AVRDUDE by clicking on Compile to chip .
- Attachments
-
- USBASP.zip
- (5.96 KiB) Downloaded 413 times