Flowcode not communicating with Hardware

For general Flowcode discussion that does not belong in the other sections.
Post Reply
Bachir
Posts: 3
http://meble-kuchenne.info.pl
Joined: Tue Nov 23, 2021 9:35 am

Flowcode not communicating with Hardware

Post 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

Steve-Matrix
Matrix Staff
Posts: 1234
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: Flowcode not communicating with Hardware

Post 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?

medelec35
Matrix Staff
Posts: 1432
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 506 times
Been thanked: 469 times

Re: Flowcode not communicating with Hardware

Post 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
Martin

Bachir
Posts: 3
Joined: Tue Nov 23, 2021 9:35 am

Re: Flowcode not communicating with Hardware

Post 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

Bachir
Posts: 3
Joined: Tue Nov 23, 2021 9:35 am

Re: Flowcode not communicating with Hardware

Post 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

LeighM
Valued Contributor
Posts: 394
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 69 times
Been thanked: 208 times

Re: Flowcode not communicating with Hardware

Post 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 2152 times

Post Reply