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
			
			
									
						After update new Core and component!
- 
				jgu1
- Posts: 847
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 741 times
- Been thanked: 186 times
- 
				Steve-Matrix
- Matrix Staff
- Posts: 1612
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 224 times
- Been thanked: 380 times
- 
				jgu1
- Posts: 847
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 741 times
- Been thanked: 186 times
Re: After update new Core and component!
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
			
							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 868 times
 
- 
				Steve-Matrix
- Matrix Staff
- Posts: 1612
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 224 times
- Been thanked: 380 times
Re: After update new Core and component!
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.
			
			
									
						Leave this with us and we will try to fix.
- 
				Steve-Matrix
- Matrix Staff
- Posts: 1612
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 224 times
- Been thanked: 380 times
Re: After update new Core and component!
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.
			
			
									
						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: 1612
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 224 times
- Been thanked: 380 times
Re: After update new Core and component!
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.
			
			
									
						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: 847
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 741 times
- Been thanked: 186 times
Re: After update new Core and component!
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
			
			
									
						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: 1612
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 224 times
- Been thanked: 380 times
Re: After update new Core and component!
We will try to fix this, but for now you should manually change the pins before you compile to the device.
			
			
									
						 
 
  