cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with custom Application Template

MLind
Associate II

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?

4 REPLIES 4
Martin KJELDSEN
Chief III

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

MLind
Associate II

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.

That's good news. Glad you figured it out. Anything you need help with?

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:

0693W000003Q2ZMQA0.png

 Also here is the Designers' log file:

TouchGFXDesigner.log

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.