Sep 13, 2021
01:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 13, 2021
01:56 AM
Hello,
I'm a beginner trying to follow the EtherCAT SSC example provided within the DAVE local library store (example here).
I've gotten to implementing the process_app code which sets the state of the LED and propagates the input data. However, upon rebuilding the project, I get the following build errors:
I've checked the manual pin allocator for the main program (ECAT_SSC_0), and Pin 85 (P4.0) and Pin 84 (P4.1) are not referenced anywhere, nor is P_LED1, P_LED2 nor P3_4. The pin mapping view also indicates that these pins are non-feasible for mapping.
I have tried changing the timer to a CCU8 timer as I've heard this is connected to those pins, but this has not done anything. I've got a feeling I've somehow generated the slave-stack code incorrectly, but not sure how.
Help would be greatly appreciated.
I'm a beginner trying to follow the EtherCAT SSC example provided within the DAVE local library store (example here).
I've gotten to implementing the process_app code which sets the state of the LED and propagates the input data. However, upon rebuilding the project, I get the following build errors:
I've checked the manual pin allocator for the main program (ECAT_SSC_0), and Pin 85 (P4.0) and Pin 84 (P4.1) are not referenced anywhere, nor is P_LED1, P_LED2 nor P3_4. The pin mapping view also indicates that these pins are non-feasible for mapping.
I have tried changing the timer to a CCU8 timer as I've heard this is connected to those pins, but this has not done anything. I've got a feeling I've somehow generated the slave-stack code incorrectly, but not sure how.
Help would be greatly appreciated.
4 Replies
Attachments are accessible only for community members.
Sep 14, 2021
11:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 14, 2021
11:20 PM
Hi James,
I am not able to access the link given by you - but is the project "ETHCAT_SSC_XMC43" => ?
Have you followed the steps provided in the "Getting Started - XMC4300_Relax_EtherCat_APP_Slave_SSC Example_V3.3.pdf"? Here is the attachment of the PDF => .
This document provides the detailed steps in getting started with the code example. Before proceeding ahead with building, make sure the pre-requisite steps are performed.
Best regards,
Nikhil
I am not able to access the link given by you - but is the project "ETHCAT_SSC_XMC43" => ?
Have you followed the steps provided in the "Getting Started - XMC4300_Relax_EtherCat_APP_Slave_SSC Example_V3.3.pdf"? Here is the attachment of the PDF => .
This document provides the detailed steps in getting started with the code example. Before proceeding ahead with building, make sure the pre-requisite steps are performed.
Best regards,
Nikhil
Sep 16, 2021
02:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 16, 2021
02:07 AM
HI Nikhil,
Thanks for the response. I can confirm "ETHCAT_SSC_XMC43" => ETHCAT_SSC_XMC43.zip is the project, and have followed the instructions lain out by the V3.3 pdf. Still getting the same issue unfortunately.
Best
James
Thanks for the response. I can confirm "ETHCAT_SSC_XMC43" => ETHCAT_SSC_XMC43.zip is the project, and have followed the instructions lain out by the V3.3 pdf. Still getting the same issue unfortunately.
Best
James
Sep 16, 2021
04:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 16, 2021
04:11 AM
Hi James,
I think that the generated sources aren't getting generated properly.
Could you delete the generated files, and then generate code by DAVE > generate code, and then try to build your project?
Regards,
Nikhil
I think that the generated sources aren't getting generated properly.
Could you delete the generated files, and then generate code by DAVE > generate code, and then try to build your project?
Regards,
Nikhil
Sep 16, 2021
07:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 16, 2021
07:45 AM
Hi Nikhil, unfortunately that's also not solved the problem. Is there an example project available that is already configured for the XMC4300 without the declaration issue?
Regards,
James
Regards,
James