Components that cannot be used

For general Flowcode discussion that does not belong in the other sections.
monie
Posts: 73
http://meble-kuchenne.info.pl
Joined: Wed Oct 19, 2022 4:06 pm
Has thanked: 1 time

Components that cannot be used

Post by monie »

For Flowcode
Regarding Flowcode v10
Here below are components marked in red that I cannot be allowed to use
Licening and account.jpg
Licening and account.jpg (37.73 KiB) Viewed 4803 times
Components that do not work can be seen below :?
Skærmbillede 2023-05-24 072947.jpg
Skærmbillede 2023-05-24 072947.jpg (54.08 KiB) Viewed 4803 times
Skærmbillede 2023-05-24 073135.jpg
Skærmbillede 2023-05-24 073135.jpg (54.37 KiB) Viewed 4803 times
And 2x Licensing and account I cannot upload to you :o

Can you help me with these components. So I can get to use them... :D

Best Regards
Monie

medelec35
Matrix Staff
Posts: 2086
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 644 times
Been thanked: 702 times

Re: Components that cannot be used

Post by medelec35 »

Hi Monie.
You should still be able to compile to them, as there is a visual bug that shows some licensed target devices as not licenced.

For example:
ECIO40.png
ECIO40.png (24.88 KiB) Viewed 4795 times
When I compile to the ECIO40 hardware:

Code: Select all

Launching the compiler...
C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\bin\xc8.exe  --chip=18F4455 "ECIO40 prog test.c" --MSGDISABLE=359,1273,1388 --CODEOFFSET=800h --ROM=default,-0-7FF
C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\pic\bin\picc18 --chip=18F4455 ECIO40 prog test.c --MSGDISABLE=359,1273,1388 --CODEOFFSET=800h --ROM=default,-0-7FF
Microchip MPLAB XC8 C Compiler V2.10
Build date: Jul 30 2019
Part Support Version: 2.10
Copyright (C) 2019 Microchip Technology Inc.
Employing 18F4455 errata work-arounds:
 * Corrupted fast interrupt shadow registers
 * No stopping on H/W breakpoints after NOP2

Memory Summary:
    Program space        used    72h (   114) of  5800h bytes   (  0.5%)
    Data space           used     7h (     7) of   800h bytes   (  0.3%)
    Configuration bits   used     7h (     7) of     7h words   (100.0%)
    EEPROM space         used     0h (     0) of   100h bytes   (  0.0%)
    ID Location space    used     0h (     0) of     8h bytes   (  0.0%)
    Data stack space     used     0h (     0) of   7A0h bytes   (  0.0%)


Using <E-Blocks> inbuilt settings for linker
Launching the linker/assembler...
C:\Program Files (x86)\Flowcode v10\tools\DoNothing\DoNothing.exe  

Using FCD settings for programmer
Launching the programmer...
C:\Program Files (x86)\Flowcode v10\tools\mLoader\mLoader.exe  -ecio40 "ECIO40 prog test.hex"
. . . .

Loading file...
File loaded from...
=> ECIO40 prog test.hex
File sending...
File sent!
If you compile and it does not say "You don't have a valid licence" then there is a different issue.
I have also compiled to TTGO OK.
Martin

monie
Posts: 73
Joined: Wed Oct 19, 2022 4:06 pm
Has thanked: 1 time

Re: Components that cannot be used

Post by monie »

Hi Martin
I have a valid Professional license for 1 user:-)

Steve-Matrix
Matrix Staff
Posts: 1551
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 214 times
Been thanked: 362 times

Re: Components that cannot be used

Post by Steve-Matrix »

monie - those targets with the red exclamation mark should compile ok for you. You can safely ignore the red exclamation marks if you have a licence for the associated chip-pack.

Have you tried creating a simple project with one? Are you receiving any errors when compiling to these targets?

monie
Posts: 73
Joined: Wed Oct 19, 2022 4:06 pm
Has thanked: 1 time

Re: Components that cannot be used

Post by monie »

Hi Steve-Matrix

Tried to test ECIO 40P but without success.
At "Program Port:" here I don't have the option to select anything?
See attached JPG-file
Test Af ECIO-40 Enhed.jpg
Test Af ECIO-40 Enhed.jpg (47.39 KiB) Viewed 4784 times
Monie

medelec35
Matrix Staff
Posts: 2086
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 644 times
Been thanked: 702 times

Re: Components that cannot be used

Post by medelec35 »

Hi Monie.
That is correct, the programmer port remains blank.
Before programming the ECIO, make sure the ECIO LED is solidly lit.
If the LED flashes all the time, then the drivers have not been installed.
They are available here (40 pin)
or
here (28pin)

To program the ECIO40.
Select Build >Compile to target as normal.
You should get a popup stating No device detected etc.
At that point, you press the button on the ECIO to program it.
After pressing the button the ECIO then establishes a connection to the PC, so you will hear the driver-detected sound, and the LED will flash indicating it's being programmed.
After programming is completed the LED will stop flashing and remain on in a steady state.
Martin

monie
Posts: 73
Joined: Wed Oct 19, 2022 4:06 pm
Has thanked: 1 time

Re: Components that cannot be used

Post by monie »

Hi Steve-Matrix

Thanks for your nice description..

When I try to do as you describe I Get the message: See below!

PIC compiler toolchains
PIC compiler toolchains.jpg
PIC compiler toolchains.jpg (11.75 KiB) Viewed 4764 times
What is the reason?

What should I do. Do you have a suggestion?


Monie

medelec35
Matrix Staff
Posts: 2086
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 644 times
Been thanked: 702 times

Re: Components that cannot be used

Post by medelec35 »

Hi Monie, Your welcome.
Have you downloaded and installed the 8bit PIC toolchain from here?
That message is stated it's not installed.
Martin

monie
Posts: 73
Joined: Wed Oct 19, 2022 4:06 pm
Has thanked: 1 time

Re: Components that cannot be used

Post by monie »

Hi Steve-Matrix

I cannot compile the file for ECIO40P...?
Choos a Targe ECIO40P.jpg
Choos a Targe ECIO40P.jpg (48.88 KiB) Viewed 4709 times
Please see "Compiler messages.pdf" below!
Compiler messages.pdf
(43.7 KiB) Downloaded 439 times
Hope you can help me so I can use ECIO40 with Flowcode v10.... :D

Monie

medelec35
Matrix Staff
Posts: 2086
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 644 times
Been thanked: 702 times

Re: Components that cannot be used

Post by medelec35 »

Hi Monie.
Does the ECIO have a solid or Flashing LED when connected via USB to your PC?
Martin

Post Reply