Not applicable
Sep 04, 2015
12:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 04, 2015
12:28 AM
Hello,
I have a xmc1000 motor control application kit. I downloaded the example project PMSM_FOC_SL01_Example01_XMC13. Imported it on Dave 3. Added some different codes and drove the motor on it. But I want to use gui to change the parameters of PMSMFOCSL01_0. How is that possible?
When I clicked the generate code It throws an error as "Resource mapping failed, please review the user defined constraints".
Any chance to make that example works on Dave 4 ?
What if I want to drive any other motor ?
I have a xmc1000 motor control application kit. I downloaded the example project PMSM_FOC_SL01_Example01_XMC13. Imported it on Dave 3. Added some different codes and drove the motor on it. But I want to use gui to change the parameters of PMSMFOCSL01_0. How is that possible?
When I clicked the generate code It throws an error as "Resource mapping failed, please review the user defined constraints".
Any chance to make that example works on Dave 4 ?
What if I want to drive any other motor ?
17 Replies
Not applicable
Sep 08, 2015
07:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 08, 2015
07:36 PM
Hi spk,
1. It should be able to change the parameters using the GUI present in the PMSPFOC APP. The error you encounter indicates that the solver was not able to find available resource for your project. This means that either the pins or module resources are already taken up. Can you check that your assigned resource is available for the solver to map to.
2. Because of the changes in concept for DAVE APPs and the data model of DAVE APPs to improve the speed and robustness of projects, DAVE APPs are not compatible between DAVE v3 and DAVE v4. Currently, our team is working on new motor control APPs in DAVE v4 similar to the functions that you saw in DAVE v3. This is currently ongoing and being planned for 2016. We will update in the forum once the dates are confirmed.
Regards,
Daryl
1. It should be able to change the parameters using the GUI present in the PMSPFOC APP. The error you encounter indicates that the solver was not able to find available resource for your project. This means that either the pins or module resources are already taken up. Can you check that your assigned resource is available for the solver to map to.
2. Because of the changes in concept for DAVE APPs and the data model of DAVE APPs to improve the speed and robustness of projects, DAVE APPs are not compatible between DAVE v3 and DAVE v4. Currently, our team is working on new motor control APPs in DAVE v4 similar to the functions that you saw in DAVE v3. This is currently ongoing and being planned for 2016. We will update in the forum once the dates are confirmed.
Regards,
Daryl
Not applicable
Sep 10, 2015
01:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 10, 2015
01:29 AM
Hi,
Thanks for reply,
I'm currently using DAVE 3.0.10 which is the latest version. I can't " generate code " on a new project that I created. I will add a few pics so you can see what I did and what errors had been given. I'm just following getting started document ( How to create a new project ). Also I can't add any apps.
Thanks for reply,
I'm currently using DAVE 3.0.10 which is the latest version. I can't " generate code " on a new project that I created. I will add a few pics so you can see what I did and what errors had been given. I'm just following getting started document ( How to create a new project ). Also I can't add any apps.
Not applicable
Sep 10, 2015
02:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 10, 2015
02:00 AM
Hi spk,
There was a similar issue reported earlier ( http://www.infineonforums.com/threads/3115-Problems-with-Kaspersky-Anti-Virus )
Do you have Kapersky antivirus installed on your pc?
Regards,
Daryl
There was a similar issue reported earlier ( http://www.infineonforums.com/threads/3115-Problems-with-Kaspersky-Anti-Virus )
Do you have Kapersky antivirus installed on your pc?
Regards,
Daryl
Not applicable
Sep 10, 2015
03:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 10, 2015
03:06 AM
I have no antivirus on my pc. I also tried these steps on 3 different computers and all the results were same. I wonder If there is anyone who can create a new project and make it work on latest DAVE3 version.
Not applicable
Sep 13, 2015
11:35 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 13, 2015
11:35 PM
HI,
Could you please send us the .log file to analyse the issue.
Please do the following:
1. Create a new workspace in DAVE3.
2. Create a new project as you have indicated in the steps above.
3. Go to your workspace location, you will see a folder ".metadata"
4. Go into this folder, there is a text file inside. This is the .log file. Send this log file to us for further analysis.
Thanks.
Regards,
Daryl
Could you please send us the .log file to analyse the issue.
Please do the following:
1. Create a new workspace in DAVE3.
2. Create a new project as you have indicated in the steps above.
3. Go to your workspace location, you will see a folder ".metadata"
4. Go into this folder, there is a text file inside. This is the .log file. Send this log file to us for further analysis.
Thanks.
Regards,
Daryl
Attachments are accessible only for community members.
Not applicable
Sep 14, 2015
03:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 14, 2015
03:18 AM
Not applicable
Sep 15, 2015
10:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 15, 2015
10:37 PM
HI,
Thanks for the file. I have forwarded this for analysis with my colleague and will revert.
I have also created an eticket # 622941194. You may track the issue there.
Regards,
Daryl
Thanks for the file. I have forwarded this for analysis with my colleague and will revert.
I have also created an eticket # 622941194. You may track the issue there.
Regards,
Daryl
Not applicable
Sep 21, 2015
03:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 21, 2015
03:22 AM
Hi,
From the .log file, it seems that some of the Jet template files (e.g. DEVICE_DATA_H.jet, MOTORLIBh.jet etc) throws exception.
This happened when resources (From solver) are not mapped properly, but template try the read the hardware resources.
Can you please do the following:
1. Is it possible to attached your project here?
2. Can you do a snapshot of the error information by opening file by double clicking error in “Problems View”.
3. Can you do an update of the DAVE v3: "Goto Help -> Check for updates"
- This will install all the updates that is necessary for the DAVE IDE.
Hope to hear from you. 🙂
Regards,
Daryl
From the .log file, it seems that some of the Jet template files (e.g. DEVICE_DATA_H.jet, MOTORLIBh.jet etc) throws exception.
This happened when resources (From solver) are not mapped properly, but template try the read the hardware resources.
Can you please do the following:
1. Is it possible to attached your project here?
2. Can you do a snapshot of the error information by opening file by double clicking error in “Problems View”.
3. Can you do an update of the DAVE v3: "Goto Help -> Check for updates"
- This will install all the updates that is necessary for the DAVE IDE.
Hope to hear from you. 🙂
Regards,
Daryl
Attachments are accessible only for community members.
Not applicable
Sep 21, 2015
06:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 21, 2015
06:18 AM
Attachments are accessible only for community members.
Not applicable
Sep 28, 2015
10:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 28, 2015
10:56 PM
Hi spk,
I took a look at the project. It seems that there was no generated files in the project folder "DAVE/Cache/bin/CodeGenerator".
I managed to run the imported project after deleting the Cache folder in the attachment.
Here are the steps:
1. From your attachment, I removed the folder DAVE/Cache and file .codecache.
2. I imported the project into DAVE3
3. Click on generate code
4. Compile the code.
The project is attached. Can you please try if this is working on your setup again.
Regards,
Daryl
I took a look at the project. It seems that there was no generated files in the project folder "DAVE/Cache/bin/CodeGenerator".
I managed to run the imported project after deleting the Cache folder in the attachment.
Here are the steps:
1. From your attachment, I removed the folder DAVE/Cache and file .codecache.
2. I imported the project into DAVE3
3. Click on generate code
4. Compile the code.
The project is attached. Can you please try if this is working on your setup again.
Regards,
Daryl
Not applicable
Sep 29, 2015
12:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 29, 2015
12:46 AM
I've followed the steps you wrote. Here is the result.
After I generate code ".codecache" comes back.
Could you try to create a new project and build it ? If there wont be any error, It's about my computer or compiler settings or java or something?( I use default compiler settings ).
Could you create a new project and attach it here ( If It works without any error ) ? so I can try to build it and generated code.
I can build example projects but can't generate code.
After I generate code ".codecache" comes back.
Could you try to create a new project and build it ? If there wont be any error, It's about my computer or compiler settings or java or something?( I use default compiler settings ).
Could you create a new project and attach it here ( If It works without any error ) ? so I can try to build it and generated code.
I can build example projects but can't generate code.
Attachments are accessible only for community members.
Not applicable
Sep 29, 2015
09:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 29, 2015
09:09 AM
Not applicable
Sep 30, 2015
01:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 30, 2015
01:41 AM
Hi Daryl,
Thx for the project. If I build it directly It's fine working. But still can't generate code and can't add apps.
My system is Turkish. But my project way is C:/DAVE3_workspace/ws3.1.10/working_project_xmc13. ( not included any Turkish character )
It sometimes gives the error about " LİBS - LIBS ( upper case i = It's a turkish character )". If I change it with " I ", It works again.
Thx for the project. If I build it directly It's fine working. But still can't generate code and can't add apps.
My system is Turkish. But my project way is C:/DAVE3_workspace/ws3.1.10/working_project_xmc13. ( not included any Turkish character )
It sometimes gives the error about " LİBS - LIBS ( upper case i = It's a turkish character )". If I change it with " I ", It works again.
Not applicable
Oct 11, 2015
11:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 11, 2015
11:41 PM
Hi spk,
You are right. In my pc when I imported your project, I found that inside the DAVE/Model directory, the directories with "i" (eg. LIBS, MATHLIBS) are renamed as the system are unable to find a suitable english character to replace the turkish character. This leads to an unknown path with the project unable to add APPs or generate code.
Currently,we are looking into a solution and will inform once we have a solution available.
Regards,
Daryl
You are right. In my pc when I imported your project, I found that inside the DAVE/Model directory, the directories with "i" (eg. LIBS, MATHLIBS) are renamed as the system are unable to find a suitable english character to replace the turkish character. This leads to an unknown path with the project unable to add APPs or generate code.
Currently,we are looking into a solution and will inform once we have a solution available.
Regards,
Daryl
Attachments are accessible only for community members.
Not applicable
Oct 12, 2015
10:26 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 12, 2015
10:26 PM
Hi spk,
From our investigation, the issue is due to the language settings.
Can you try this solution in your system; to set the user language to English in the DAVE-3.1.10.ini file.
Please use the following steps.
1. Download the attached file: DAVE-3.1.10.zip.
2. Unzip it, it will give the file: DAVE-3.1.10.ini
3. Go to your folder of your DAVE 3 installation directory: C:\DAVE-3.1.10\eclipse . Inside this directory, you will find the initialization file for DAVE-3 (DAVE-3.1.10.ini). Replace this file with the one downloaded.
Once this is done, you can restart DAVE.
Can you try and let me know if these steps work for you.
Thank you.
Regards,
Daryl 🙂
From our investigation, the issue is due to the language settings.
Can you try this solution in your system; to set the user language to English in the DAVE-3.1.10.ini file.
Please use the following steps.
1. Download the attached file: DAVE-3.1.10.zip.
2. Unzip it, it will give the file: DAVE-3.1.10.ini
3. Go to your folder of your DAVE 3 installation directory: C:\DAVE-3.1.10\eclipse . Inside this directory, you will find the initialization file for DAVE-3 (DAVE-3.1.10.ini). Replace this file with the one downloaded.
Once this is done, you can restart DAVE.
Can you try and let me know if these steps work for you.
Thank you.
Regards,
Daryl 🙂
Not applicable
Oct 12, 2015
10:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 12, 2015
10:43 PM
Hi Daryl,
Thanks for your effort. It works well now.
I' m really appriciated.
Best Regards
Thanks for your effort. It works well now.
I' m really appriciated.
Best Regards
Not applicable
Oct 12, 2015
11:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 12, 2015
11:48 PM
Hi,
You're welcome! 🙂
Regards,
Daryl
You're welcome! 🙂
Regards,
Daryl