2019-02-25 04:29 AM
By following this guide (https://touchgfx.zendesk.com/hc/en-us/articles/115002741432-Create-custom-Application-Template) I have made an custom application template for our hardware. I'm able to select my application template in TouchGFX Designer (4.10.0) but when I press CREATE I get "Downloading Application Template failed, check your internet connection and try again". Does anyone have any suggestions?
2019-03-06 04:40 AM
Hi @Community member,
Do you have a designer log file i can take a look at? I haven't encountered this issue before creating application templates.
/Martin
2019-03-15 01:55 AM
Hi,
Now I have done the process again and figured out the problem. The name you set in the .touchgfx file ("name":"MyName") controls the name of generated files and the final .tpa file (MyName-1.0.0.tpa) and hence the name of this file cannot be changed.
2019-03-15 07:44 AM
That's good news. Glad you figured it out. Anything you need help with?
2020-08-22 04:25 AM
Hi @Martin KJELDSEN
I also did my first attempt to create a custom application template for the first time in order to get used to and also verify the procedure. Here is what I did and what I get in the end:
1. I did started a project with an a red background using a full screen box for the board STM32F429I_EVAL which I have.
2. Verified the project by run it on the simulator and also on the Target.
3. Then generated the code.
4. Followed the procedure described on the page https://support.touchgfx.com/docs/development/touchgfx-hal-development/scenarios/scenarios-create-at/#describe-application-template. Applied successfully and produced the .tpa file. Here is the .json file after I editted, * marks the lines I editted:
{
"Meta": {
"Url": "http://packages.touchgfx.com/V2/STM32F429I-EVAL/STM32F429I-EVAL-1.0.0.zip",
"MD5sum": "7BA4C0AB38FD0C8E8E7310FF428D7990",
"Size": 47962370,
"Author": [
{
* "Name": "Selcuk",
"Contact": "touchgfx-info@draupnergraphics.com",
"URL": "http://touchgfx.com/"
}
],
"LicenseUrl": "",
"Copyright": "",
"TouchGFXVersion": {
"Major": 4,
"Minor": 14,
"Build": 0
},
"CreatedAt": "2020-08-22T00:00:00Z",
"PathToDotTouchGFX": "",
"EmbeddedOs": ""
},
"Data": {
"Version": {
"Major": 1,
"Minor": 0,
"Build": 0
},
* "Name": "MikroX",
* "HumanFriendlyName": "MikroX",
* "BoardName": "KOP10",
* "Type": "TGAT",
* "Vendor": "Karacim",
"Description": "",
"DocumentationLink": "",
"Category": "",
"Images": [],
"Tags": [],
"AvailableResolutions": [
{
"Height": 272,
"Width": 480
}
],
"TargetBpp": [
24
]
}
}
5. Copied the .tpa generated into the related directory. Run the Designer and tried to start a project selecting my template. Here is the result:
Also here is the Designers' log file:
Strangely it is mentioned about STM32F769I-Disco not the one that I worked with which is STM32F429I-EVAL!
We have couple of our own custom boards which we use commercially and it will speed us up a lot if we use custom templates to produce new products.
So any help very much appreciated =)
Thanks in advance.