JonnyW wrote:Hello. This looks lie an issue with the install - this has since been fixed and the installer is online - if you reinstall Flowcode from the current online version (you may have to uninstall the previous version) this should be sorted. The wrong batch file had been added to the install.
Alternatively you can edit \compilers\avr\batchfiles\avrc.bat and change any \AVRDude\ to \bin\ to fix this problem - there are two occurrences near the top of the file.
Jonny
Hi Jonny, I've now tried re-installing and also checked the batch file which looks to comply with your instructions without me needing to modify it. Never has fixed the issue of not being able to compile to my boards.
When I use the Arduino IDE I have to select com port and the board type, I assume that when i first select a chip at project start I'm in fact selecting board type? Where should I enter com port?
In a different forum post I've asked whether there is updated instructions on how to setup the coms for an arduino board but haven't seen any replies? I assume I'll need to follow different instructions because the file structure of v6 is different to v5 that I have previously been able to get to work (with help from forum users).
This is unmodified AVRC.bat file
@IF NOT "%8"=="-1" SET Fuse1=-U hfuse:w:%8:m
@IF NOT "%9"=="-1" SET Fuse2=-U lfuse:w:%9:m
@SHIFT
@IF NOT "%9"=="-1" SET Fuse3=-U efuse:w:%9:m
@GOTO Send
:ConfigOneFuse
@IF NOT "%8"=="-1" SET Fuse1=-U fuse:w:%8:m
@SHIFT
@GOTO Send
:Send
@REM Now add any additional command line parameters here
@SHIFT
@SHIFT
@SHIFT
@SHIFT
@SHIFT
@SHIFT
@SHIFT
@SHIFT
@SHIFT
@SHIFT
%AVRDUDEcmd% %Fuse1% %Fuse2% %Fuse3% %0 %1 %2 %3 %4 %5 %6 %7 %8 %9
@IF %ERRORLEVEL% NEQ 0 GOTO DUDEError
@GOTO End
:DUDEError
@ECHO.
@ECHO Error returned from [avrdude]
@EXIT 1
:STKprog
@REM -------------- STK500 programmer --------------
@SET STK500cmd=%STKPath% -c%STKPort% -d%3 -e -if%4 -pf -vf
%STK500cmd%
@IF %ERRORLEVEL% NEQ 0 GOTO STKError
@GOTO End
:STKError
@ECHO.
@ECHO Error returned from [stk500]
@EXIT 1
:End
@ECHO.
@ECHO Programming successful!
@EXIT 0