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
Problem running Component Tester free app
-
- Posts: 2
- http://meble-kuchenne.info.pl
- Joined: Mon Feb 21, 2022 10:18 am
-
- Matrix Staff
- Posts: 1463
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 513 times
- Been thanked: 473 times
Re: Problem running Component Tester free app
Hi.
First can you make sure that your Uno is connected before opening the Arduino_Uno_API_Firmware.fcfx.
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.
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: 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: 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.
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.
First can you make sure that your Uno is connected before opening the Arduino_Uno_API_Firmware.fcfx.
No not at all!
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.
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: 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: 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.
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
Re: Problem running Component Tester free app
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
Keith