Page 1 of 1

After update new Core and component!

Posted: Tue Dec 05, 2023 8:04 pm
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

Re: After update new Core and component!

Posted: Tue Dec 05, 2023 9:48 pm
by Steve-Matrix
Please post your project and we'll have a look.

Re: After update new Core and component!

Posted: Wed Dec 06, 2023 4:03 pm
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

Re: After update new Core and component!

Posted: Wed Dec 06, 2023 4:27 pm
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.

Re: After update new Core and component!

Posted: Wed Dec 06, 2023 6:10 pm
by jgu1
So concerning the devices it doesn´t matter?

Thank you Steve look forward to hear from you

Br jorgen

Re: After update new Core and component!

Posted: Thu Dec 07, 2023 9:56 am
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.

Re: After update new Core and component!

Posted: Thu Dec 07, 2023 10:16 am
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.

Re: After update new Core and component!

Posted: Thu Dec 07, 2023 7:39 pm
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

Re: After update new Core and component!

Posted: Fri Dec 08, 2023 8:34 am
by Steve-Matrix
We will try to fix this, but for now you should manually change the pins before you compile to the device.

Re: After update new Core and component!

Posted: Fri Dec 08, 2023 10:33 am
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