Install Toolchain for Arduino Uno

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

Moderator: Benj

Post Reply
samwane
Posts: 6
Joined: Wed Aug 25, 2021 3:44 pm
Contact:

Install Toolchain for Arduino Uno

Post by samwane »

Hi, I have installed the toolchain for the AVR/Arduino Toolchain and have written a basic output program using the 3D panel. This runs in simulation.
I have selected the Arduino Uno in the project options and the COM port (which shows up as COM5)
But when I try to download, a message pops up telling me to install the toolchain and it cannot create C or download. Please help

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Install Toolchain for Arduino Uno

Post by medelec35 »

Hi, samwane.
Welcome to the matrix forums.
Did you download the toolcain from the Flowcode site?
If so I don't believe that will work with V8 ,it's for V9 and onwards.
Can you try installing the version from here and let us know how you get please?
Martin

samwane
Posts: 6
Joined: Wed Aug 25, 2021 3:44 pm
Contact:

Re: Install Toolchain for Arduino Uno

Post by samwane »

Hi Martin,
Thank you for your prompt reply.
I will try the Flowcode8 toolchain download later.
Before I do, I have noticed two folders on my C: drive under Program Files (x86):
Flowcode
Flowcode v8

Under /Flowcode, there is only a folder named /Compilers (full of avr, pic etc), no other files
Under Flowcode v8 there is no /Compiler folder
Should I move the /Compiler folder to go in Flowcode v8 ?
Or is there a way I can tell Flowcode to find the Compilers in the /Flowcode directory (this would be preferable as I don't have to call my IT dept)

Apologies I can't just try it as I don't have admin rights and I need to make a call to my IT dept

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Install Toolchain for Arduino Uno

Post by medelec35 »

Hi, Your welcome.
When you install any toolchain, the location for 64bit windows will be

Code: Select all

C:\Program Files (x86)\Flowcode\Common\Compilers
That path automatically added the the registry.
You will not need to move or specify any folders as it's all done behind the scenes.
Martin

samwane
Posts: 6
Joined: Wed Aug 25, 2021 3:44 pm
Contact:

Re: Install Toolchain for Arduino Uno

Post by samwane »

Hi Martin,
My toolchain is in:
c:\Proogram Files (x86)\Flowcode\Compilers

This has:
\arm
\avrv5
\pic

When I try to compile to C (or HEX etc), I get the error:
AVR compiler toolchain is not installed.

However, my IT person installed in yesterday.
In Flowcode8, I can see under the menu: Build-->Compiler Options:
AVR Default Location: $(compileavr)batchfiles\avra.bat
So I'm thinking $compileavr is not set correctly. I there a way to edit this please?

User avatar
Steve
Matrix Staff
Posts: 3418
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: Install Toolchain for Arduino Uno

Post by Steve »

The "AVRv5" toolchain is intended for use with Flowcode v9. For Flowcode v8, you need to use the "AVR" toolchain download. This is available from the Flowcode v8 section of your Flowcode Account page: https://www.flowcode.co.uk/accounts/

samwane
Posts: 6
Joined: Wed Aug 25, 2021 3:44 pm
Contact:

Re: Install Toolchain for Arduino Uno

Post by samwane »

Ah, that makes sense, thank you

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Install Toolchain for Arduino Uno

Post by medelec35 »

samwane wrote:
Thu Aug 26, 2021 10:10 am
This has:
\arm
\avrv5
\pic
Just curious if that was created from the link I posted?
Martin

samwane
Posts: 6
Joined: Wed Aug 25, 2021 3:44 pm
Contact:

Re: Install Toolchain for Arduino Uno

Post by samwane »

No, this was created from the file Flowcode_Compler_AVRv5.msi
Which I realise is for Flowcode 9

I will have to try and install the file Flowcode_Compler_AVR.msi (Flowcode 8) unfortunately I will have to wait until next week though.

Thanks for everyone's help btw.
Sam

samwane
Posts: 6
Joined: Wed Aug 25, 2021 3:44 pm
Contact:

Re: Install Toolchain for Arduino Uno

Post by samwane »

I meant 'Flowcode 8' not Flowcode 8) !

Post Reply