Page 1 of 1

Install Toolchain for Arduino Uno

Posted: Wed Aug 25, 2021 3:50 pm
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

Re: Install Toolchain for Arduino Uno

Posted: Wed Aug 25, 2021 4:12 pm
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?

Re: Install Toolchain for Arduino Uno

Posted: Thu Aug 26, 2021 9:02 am
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

Re: Install Toolchain for Arduino Uno

Posted: Thu Aug 26, 2021 9:34 am
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.

Re: Install Toolchain for Arduino Uno

Posted: Thu Aug 26, 2021 10:10 am
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?

Re: Install Toolchain for Arduino Uno

Posted: Thu Aug 26, 2021 11:23 am
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/

Re: Install Toolchain for Arduino Uno

Posted: Thu Aug 26, 2021 11:31 am
by samwane
Ah, that makes sense, thank you

Re: Install Toolchain for Arduino Uno

Posted: Thu Aug 26, 2021 11:34 am
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?

Re: Install Toolchain for Arduino Uno

Posted: Thu Aug 26, 2021 12:04 pm
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

Re: Install Toolchain for Arduino Uno

Posted: Thu Aug 26, 2021 12:05 pm
by samwane
I meant 'Flowcode 8' not Flowcode 8) !