Problem running Component Tester free app

Discuss PC Developer and Web Developer projects and features here.
Post Reply
KayBee
Posts: 2
http://meble-kuchenne.info.pl
Joined: Mon Feb 21, 2022 10:18 am

Problem running Component Tester free app

Post by KayBee »

Hi - As a newcomer to flowcode I hope my question is not too trivial! I am unable to get the app to run on an Arduino Uno R3 SMD. In project options I have set the target to Arduino Uno R3 SMD and the compile port correctly. I can download the Arduino_Uno_App_Developer_Comp.fcfx file. If I then try to run the Open ComponentTester V1.3.bat file it fails at the first test with a message " Testing: D2,D4,R1,R3 & A1.....Fail. Click Diag Sw to return to start". However I can see no "Diag Sw". I have checked my circuitry over and again and it is correct. I have also tried Installing the other firmware file Arduino_Uno_API_Firmware.fcfx but this throws up a compilation error - "One or more pins of component Servo_Controller1 are not connected. Simulation and Compilation may not behave as expected" so I assume this is not the one to use (why are there two firmware files?).

I am really stuck so any help would be very much appreciated.

Keith

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

Re: Problem running Component Tester free app

Post by medelec35 »

Hi.
First can you make sure that your Uno is connected before opening the Arduino_Uno_API_Firmware.fcfx.
KayBee wrote:
Sat Mar 19, 2022 4:53 pm
I hope my question is not too trivial!
No not at all!
KayBee wrote:
Sat Mar 19, 2022 4:53 pm
Testing: D2,D4,R1,R3 & A1.....Fail. Click Diag Sw to return to start
The app is testing the communications and all the hardware.
The Diag switch is the switch on the app underneath Slide button to test hardware.
It's important that the firmware is loaded on you your Uno before running the App.
The correct file to load on your hardware is called Arduino_Uno_API_Firmware.hex and that can be loaded from Arduino_Uno_API_Firmware.fcfx or using XLoader as per instructions.
KayBee wrote:
Sat Mar 19, 2022 4:53 pm
One or more pins of component Servo_Controller1 are not connected
Many thanks for the spot.
That is been caused by a fairly recent update of Ardunio's range of fcdx files.
To resolve this select View, Component Properties.
Select the dropdown arrow at the top and select:
Servo properties.png
Servo properties.png (50.02 KiB) Viewed 1661 times
Select the window next to Channel 0, make sure Use chip references is unchecked and Select D2.
Select Channel 0 once again then Autoconnect digital:
Auto connect digital.png
Auto connect digital.png (45.52 KiB) Viewed 1661 times
That will assign the correct pins up to Channel 5.
Just manually assign channel 6 to D8 and Channel 7 to D9.
Select Build, Project options and select the correct com port from the Programmer Port drop-down on the bottom right, then select Modify.
You should now be able to program the Uno.
KayBee wrote:
Sat Mar 19, 2022 4:53 pm
why are there two firmware files?
The Arduino_Uno_API_Firmware loads into the Uno.
The Arduino_Uno_API_Comp.fcfx is only for people that want to know how the API component within the The Arduino_Uno_API_Firmware works.
It is not required to run any of the Apps.
If you are stuck with modifying Arduino_Uno_API_Firmware.fcfx then I will post a modified version on here.
Martin

KayBee
Posts: 2
Joined: Mon Feb 21, 2022 10:18 am

Re: Problem running Component Tester free app

Post by KayBee »

Hi Martin. Thanks very much for the very prompt response. I followed your instructions and all worked perfectly! I only wish I had contacted you sooner. Again many thanks for sorting this out so quickly.

Keith

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

Re: Problem running Component Tester free app

Post by medelec35 »

Hi Keith.
your welcome.
I'm glad you are now up and running.
Thanks for letting us know.
Martin

Post Reply