After update new Core and component!

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
jgu1
Posts: 615
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 507 times
Been thanked: 132 times

Flowcode v10 After update new Core and component!

Post by jgu1 »

Hi!

Today I update with the new Core. I have a project with the ESP32 DEVKIT1. Everytime I startup my project after saving and compile to the target, FC save this target, after update, everytime I open the same project again the target change to ESP_32DEVkitC FC is not saving the target ?

And after running the Core I run an update and see that XP2046 8 > 9 Same for this, Everytime I have compiled and reopen the program I have to correct the pin setting in Properties again?

Br jorgen

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

Re: After update new Core and component!

Post by Steve-Matrix »

Please post your project and we'll have a look.

jgu1
Posts: 615
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 507 times
Been thanked: 132 times

Re: After update new Core and component!

Post by jgu1 »

Hello Steve!

I have a standard setup Hardware I always use when I start a project to see everything work.

The prograg I att. I always use an ESP32_devkitV1 with the pin conection for the XP2046 in my HW and SW pls try to change the pin as follow, compile close the project and open again:

TOUCH.
Din Mosi > D21 = A2
Do Miso > D5 = A5
Sck. > TX2 = A17
Cs. > D4 = A4

After saving and compiling and reopen the program, all the pin are changing again and the device also change back to ESP32_DevkitC, also even after compiling

I have same setup in HW and SW for the Ili9341, ili9488, same issue.
Pin connection for all display are saved and ok.

Thank´s in advance

Jorgen
Attachments
ST7796_Standard.fcfx
(43.5 KiB) Downloaded 270 times

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

Re: After update new Core and component!

Post by Steve-Matrix »

I've looked and the 2 FCD files for those devices are practically identical. That seems strange. For the pin connections, it looks like something in a component is changing the values.

Leave this with us and we will try to fix.

jgu1
Posts: 615
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 507 times
Been thanked: 132 times

Re: After update new Core and component!

Post by jgu1 »

So concerning the devices it doesn´t matter?

Thank you Steve look forward to hear from you

Br jorgen

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

Re: After update new Core and component!

Post by Steve-Matrix »

Yes - it looks like the "ESP32_DEVKITV1.fcdx" file is wrong. You could try finding it "%PROGRAMDATA%\MatrixTSL\FlowcodeV10\FCD\ESP" and then editing it in a text editor. On line 14, you will need to change the device name to "ESP32_DEVKITV1".

When you reopen a project that uses this device, Flowcode may try to download the 'wrong' one during a Library Update, so don't download it until it is fixed in our update system.

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

Re: After update new Core and component!

Post by Steve-Matrix »

A new file has been posted to our Library Updates system so no need to edit the file - just go to Library Updates and check the full database for downloads and you will download a fixed DEVKITV1 file.

But also note that the 2 devices are practically the same and so it does not matter which one you choose to use for your hardware.

jgu1
Posts: 615
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 507 times
Been thanked: 132 times

Re: After update new Core and component!

Post by jgu1 »

Hi Steve!f

Now it save the device, perfect thank´s.

But concerning the XPT2046 the pin is still change after reopening, is it possible fix this also ? ;)

jorgen

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

Re: After update new Core and component!

Post by Steve-Matrix »

We will try to fix this, but for now you should manually change the pins before you compile to the device.

jgu1
Posts: 615
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 507 times
Been thanked: 132 times

Re: After update new Core and component!

Post by jgu1 »

Ok, Steve, not a problem, but only for info, in "old days" FC was saving the pin connection on the XPT2046. ;)

Thank´s

Br Jorgen

Post Reply