Page 1 of 1

Flowcode not communicating with Hardware

Posted: Tue Nov 23, 2021 11:49 am
by Bachir
Hi,

My students have created a small LED project (8 LEDs) and wanted them to blink in sequence and displaying their circuit on the hardware.

They managed to simulate it on the software but could not get the software to communicate it to the hardware. It was suggesting to install some other features (AVR arduino/toolchain) which they did. However, they still could not display anything on the hardware. They have then copied the C code from flowcode and pasted it into the Arduino software and got it to communicate with the hardware. Is this supposed to happen? (my students are working through Introduction to microcontroller programming booklet).

Kind regards,

Bachir

Re: Flowcode not communicating with Hardware

Posted: Tue Nov 23, 2021 11:54 am
by Steve-Matrix
Under the build menu of Flowcode, use the "compile to target" command. This will compile the project and send it to the target board. If there are any problems during this procedure, they will be displayed in the output text, which is also stored to a file with the suffix ".msg.txt". If you post one of these files it should help trace the error.

Also, we may need more info such as what hardware are you using?

Re: Flowcode not communicating with Hardware

Posted: Tue Nov 23, 2021 12:30 pm
by medelec35
As it looks like you could be using an Arduino.
Also under the build menu is Project Options.
From that, you will need to select the correct com port for the Ardunio from the Programmer Port dropdown.
It should not be left on n/a

Re: Flowcode not communicating with Hardware

Posted: Wed Nov 24, 2021 1:43 pm
by Bachir
Thank you for help and prompt response.

I had some issues with my logging details and hence my late reply.

My students have tried compile to target option but it did not work.

I will try it again whenever possible and will let you know about the outcome of that.

Thanks again,

Bachir

Re: Flowcode not communicating with Hardware

Posted: Thu Nov 25, 2021 1:41 pm
by Bachir
Hi,

I've tried it again and it's coming up with the same error.

Is there any possibility to attach a document in this forum so you will see the message I'm receiving?

Thanks,

Bachir

Re: Flowcode not communicating with Hardware

Posted: Thu Nov 25, 2021 2:47 pm
by LeighM
As Steve mentioned ...
If there are any problems during this procedure, they will be displayed in the output text, which is also stored to a file with the suffix ".msg.txt"
Which can be uploaded via the button ...
add.png
add.png (14.39 KiB) Viewed 2220 times