Main post: viewtopic.php?f=106&t=71100
mikroPascal PRO for dsPIC v.7.0.1
Visual TFT 4.6.1
Standalone VTFT generates project without device information. The project generated by mikroPascal, in VTFT mode (internal VTFT), generates a working project as expected.
If the standalone version of VTFT is no longer supported, please release a live update which makes VTFT display that information at start-up, so we all know it.
How to reproduce:
1. Open Visual TFT 4.6.1 (the standalone version)
2. Click Project -> New, and select a folder for a new project.
3. Click OK on the "New Project" dialog. "Project Settings" dialog should open.
4. In the "Hardware Patters" combo box, select "mikromedia_for_PIC24EP_9A".
5. Select "mikroPascal PRO for dsPIC" in the "Target Compiler" combo box, then click on the "Advanced Settings" button.
Notice that the "Target Device" combo box is empty.
6. Open the board definition file, mikromedia_for_PIC24EP_9A.xml from \Visual TFT\Board Defs folder, and notice that the DEFAULT_DEVICE node, contains the proper value: P24EP512GU810.
The value is simply not loaded into "Target Device" combo box from the "Project Settings" window. However, there are some board definitions, which work, e.g. Mikromedia_Plus_for_STM32_ARM.
The "Target Device" combo box is readonly, so manually adding P24EP512GU810, is not possible.
Another issue with this dialog is that the "Target Compiler" always changes to mikroC when selecting a new hardware pattern.
7. Click OK on the "Project Settings" dialog, to confirm the desired settings.
8. Save the project, then click on "Generate Code" button.
9. Browse to the generated project files and load the mppds file with Notepad. Notice the "Name" key under "DEVICE" section, is empty.
10. As expected, loading this project with mikroPascal, displays various errors about the missing information.
Comparing the mikromedia_for_PIC24EP_9A.xml from "Visual TFT\Board Defs" folder to the mikromedia_for_PIC24EP_9A.xml from "mikroPascal PRO for dsPIC\Board Defs" folder, shows differences only at the initialization code, not on the device information.
mP v.7.0.1 - VTFT v4.6.1 generates incomplete project
- lana.arsic
- mikroElektronika team
- Posts: 1715
- Joined: 15 Jan 2016 12:50
Re: mP v.7.0.1 - VTFT v4.6.1 generates incomplete project
Strange, I was not able to reproduce this with 4.6.1 on my system. At step 5 the combo box is not blank. Could I have a definition file from another install?VCC wrote:Main post: viewtopic.php?f=106&t=71100
mikroPascal PRO for dsPIC v.7.0.1
Visual TFT 4.6.1
Standalone VTFT generates project without device information. The project generated by mikroPascal, in VTFT mode (internal VTFT), generates a working project as expected.
If the standalone version of VTFT is no longer supported, please release a live update which makes VTFT display that information at start-up, so we all know it.
How to reproduce:
1. Open Visual TFT 4.6.1 (the standalone version)
2. Click Project -> New, and select a folder for a new project.
3. Click OK on the "New Project" dialog. "Project Settings" dialog should open.
4. In the "Hardware Patters" combo box, select "mikromedia_for_PIC24EP_9A".
5. Select "mikroPascal PRO for dsPIC" in the "Target Compiler" combo box, then click on the "Advanced Settings" button.
Notice that the "Target Device" combo box is empty.
6. Open the board definition file, mikromedia_for_PIC24EP_9A.xml from \Visual TFT\Board Defs folder, and notice that the DEFAULT_DEVICE node, contains the proper value: P24EP512GU810.
The value is simply not loaded into "Target Device" combo box from the "Project Settings" window. However, there are some board definitions, which work, e.g. Mikromedia_Plus_for_STM32_ARM.
The "Target Device" combo box is readonly, so manually adding P24EP512GU810, is not possible.
Another issue with this dialog is that the "Target Compiler" always changes to mikroC when selecting a new hardware pattern.
7. Click OK on the "Project Settings" dialog, to confirm the desired settings.
8. Save the project, then click on "Generate Code" button.
9. Browse to the generated project files and load the mppds file with Notepad. Notice the "Name" key under "DEVICE" section, is empty.
10. As expected, loading this project with mikroPascal, displays various errors about the missing information.
Comparing the mikromedia_for_PIC24EP_9A.xml from "Visual TFT\Board Defs" folder to the mikromedia_for_PIC24EP_9A.xml from "mikroPascal PRO for dsPIC\Board Defs" folder, shows differences only at the initialization code, not on the device information.
mikropascal dsPIC, Visual TFT, MMBdsPIC v.105, 1.10_9A, mikroProg, "Big"(P30F6012A)EasydsPIC2
Re: mP v.7.0.1 - VTFT v4.6.1 generates incomplete project
See attached.OT wrote:Strange, I was not able to reproduce this with 4.6.1 on my system. At step 5 the combo box is not blank. Could I have a definition file from another install?
- Attachments
-
- mikromedia_for_PIC24EP_9A.xml.zip
- (2.64 KiB) Downloaded 125 times
-
- EmptyTargetDevice.png (18.28 KiB) Viewed 2958 times
Re: mP v.7.0.1 - VTFT v4.6.1 generates incomplete project
From a VM with only 7.1 and VTFT 4.6.1 installed, VTFT 4.6.1 project setting:
mikropascal dsPIC, Visual TFT, MMBdsPIC v.105, 1.10_9A, mikroProg, "Big"(P30F6012A)EasydsPIC2
- petar.suknjaja
- mikroElektronika team
- Posts: 683
- Joined: 05 Mar 2018 09:44
- Location: Belgrade
Re: mP v.7.0.1 - VTFT v4.6.1 generates incomplete project
Hi,
I also couldn't reproduce the error.
If you are using Windows 10, try running it as Administrator.
If not, try to reinstall the VTFT.
Kind regards,
Petar
I also couldn't reproduce the error.
If you are using Windows 10, try running it as Administrator.
If not, try to reinstall the VTFT.
Kind regards,
Petar
- Attachments
-
- 1233321.png (36.55 KiB) Viewed 2936 times