Hi, The issue I mentioned in the previous post got solved by changing the time period of high resolution timer. But now I am observing an SOA packet between Preq and Pres. What could be the issue? I am attaching the wireshark log with this post for your reference.
Hi, I am porting openPOWERLINK 2.6.1 to TI real time operating system - sysbios on AM335x processor. I am porting the MN. During the communication of ported MN with Windows demo CN, MN is sending NMTEnableReadyToOperate command and CN is entering the ReadyToOperate state, after that a cycle error is occurring in the CN and CN goes to Pre-Operational1 state. The following is the demo CN log. ------------------------------- Press Esc to leave the program Stack entered state: NmtGsInitializing Press...
Hi, I am porting openPOWERLINK 2.6.1 to TI real time operating system - sysbios on AM335x processor. I am porting the MN. During the communication of ported MN with Windows demo CN, MN is sending NMTEnableReadyToOperate command and CN is entering the ReadyToOperate state, after that a cycle error is occurring in the CN and CN goes to Pre-Operational1 state. The following is the demo CN log. ------------------------------- Press Esc to leave the program Stack entered state: NmtGsInitializing Press...
Due to some reason I am not able to attach the wireshark file. I am attaching some screenshots of the wireshark file for your reference.Sorry for the inconvenience caused. Regards Paramesh
Hi, I am porting openpowerlink to TI platform in linux. I am having the driver in the userspace. I am using the demo MN to communicate with the CN. I am using the UIO driver concept for interrupt mapping. My CN is communicating properly with the demo MN by sending Pollresponse and SDO packets until the MN sends NMTResetConfiguration command . According to my understanding , when the CN receives this NMTResetConfiguration command it changes state from pre-operational 2 to Reset Configuration, to CS...
Hi, Is there any update on this issue ? Looking forward for your support at the earliest. Regards Paramesh
Hi, Is there anything specific that I must do because my Openmac driver is in the userspace ? Is the above scenario occurring because I have missed something when I am having my Openmac driver in the userspace ? Looking forward for your guidance. Regards Paramesh
Hi, I am porting openpowerlink to TI platform in Linux. My Openmac driver is in the userspace. During the porting process I am facing some difficulty. I will explain my scenario here:- I am having 6 threads in our application. Listed below is the priorities given to these threads. Thread A- Thread waits for Rx interrupt 99 Thread B- Thread waits for Tx interrupt 90 Thread C- Fimrware load thread 15 Thread D- Openmac Initiliasing 10 Thread E – Powerlink 1 Thread F - Timer 49 In this scenario, please...
Hi, Thanks for the support.I will get back to you for further support. Regards Paramesh
Hi, I did a modification in the mnobd.cdc file where I have increased the pres timeout value to 2ms. When I replace this mnobd.cdc file in the <powerlink dir=""> / bin/linux/x86_64/demo_mn_console and try to build the powerlink stack , the following error is generated. make[2]: Warning: File '/home/paramu/POWERLINK/powerllink_v2.6.1/apps/common/openCONFIGURATOR_projects/Demo_3CN/output/mnobd.cdc' has modification time 19485 s in the future [ 4%] Generating mnobd.cdc make[2]: warning: Clock skew detected....
Hi, Thanks for your support. I will check this and get back to for further support if needed. Regards Paramesh
Hi, Thanks for your support. The procedure I followed is as follows :- 1) I added the CONFIG_INCLUDE_VETH macro in the oplkcfg.h file that I am using , i.e stack/proj/linux/liboplkcn which I assume is the one used for userspace driver. 2) I verified that CONFIG_INCLUDE_VETH macro is included in the two files you have mentioned * stack/proj/linux/liboplkcnapp-userintf * stack/proj/linux/liboplkcndrv-pcap 3) I copied the VEth.patch file you have shared to the folder stack/src/kernel/veth . 4) I run...
Hi, I added the CONFIG_INCLUDE_VETH macro in the oplkcfg.h file . Before I added this macro I was getting the error "WARNING: oplk_setNonPlkForward() failed with "The called instance does not exist" (Error:0x1!) But when I added the macro this is the error that is being generated. oplk_create() failed with "Xxx_addInstance was called but no free instance is available" (Error:0x3!) I am attaching the generic.c file and oplkcfg.h file with this post. How can I solve this issue ? Regards Paramesh
Attaching the mnobd.cdc file here. Regards Paramesh
Hi, Thanks for the support. I am using Linux user space daemon MN. I am attaching the openCONFIGURATOR project and cdc file with this post. Looking forward for your further support. Regards Paramesh
Hi, I was able to install openCONFIGURATOR in windiws10 and modify the mnodb.cdc file and have modified the PresTimeout value to 2ms . But still the issue persists where the CN is sending the PollResponse but there is a delay and the MN is sending reset command with the error code (E_NMT_NO_STATUS_RES). The CN is also sending status reponse for the status request.I am unable to find out why there is a delay in sending the response.Can you help on the same.I am using a Linux Demo MN to communicate...
Also when I referred to the User Manual , it said Double click on the “TestProject.xml” in the project explorer to open the “Industrial Network Project Editor”. But when I am double clicking on my Demo_3CN.xml the Project Editor is not getting opened. Regards Paramesh
HI, I was able to setup the openCONFIGURATOR in a windows10 PC. Can I build the project from here and replace the generated mnobd.cdc in my linux work location ? Steps I have followed :- 1) In the Eclipse IDE - File-> Open Projects from filesystem ->"<openPOWERLINK stack="">/apps/common/openCONFIGURATOR_projects/Demo_3CN And I was able to see the Project Explorer tab. But in the POWERLINK network tab I am unable to see any node to proceed further. I think I am missing out something. Can you please...
Hi, When I am trying to install the openconfigurator in my ubuntu16.04LTS system the following error is occurring :- "An error occurred while collecting items to be installed session context was:(profile=epp.package.cpp, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). No repository found containing: osgi.bundle,com.ti.cc2538,2.0.1.00 " Procedure I followed is :- 1) Eclipse MarketPlace -> OpenConfigurator download 2) I tried the plugin installation but that also gave...
Hi, I am porting openpowerlink to TI platform in linux. I am having the driver in the userspace. I am using the demo MN to communicate with the CN. I am facing two issues currently:- 1) The MN is sending reset command with the reason (E_NMT_NO_STATUS_RES).According to my understanding this error code is because the MN is not receiving any status response from the CN. But when I check my wireshark file I can find the status response packet in it send by the CN. 2) The MN is sending reset command with...
Hi, I am sorry for the lack of clarity in my previous post. The following are my observations :- 1) My identresponse packet is being sent in the pre-operational 2 state. Is the state in which the identresponse is being sent significant ? 2) I am able to send status response in the pre-operational2 state but the RS(Request to Send) bit is not set. But I am able to see a status request in my wireshark file. Looking forward for your support. Regards Paramesh
Hi, I am porting openpowerlink to TI platform in linux. I am having the driver in the userspace. I am able to send and receive identrequest amd response and status request response. But I not getting the right state Change in my CN application. I am using demo MN for testing my CN. What could be the issue? Regards Paramesh
Hi, Thanks for the support. Regards Paramesh
Hi, Thanks for the support. I will get back to you for further support soon. Regards Paramesh
Hi, Thanks for the support.Will get back to you for further support. Regards Paramesh
Hi, Thanks for the support. I now understand the handling of non powerlink frames. Can I get one final confirmation on whether CONFIG_INCLUDE_VETH should be enabled or disabled, not in the context of nonpowerlink frames but for anyother situations ? Regards Paramesh
Hi, I am trying to port openpowerlink to TI platform in linux with driver in userspace. The MN is sending a SDO initreq packet, but I am unable to find the codeflow where the response for this packet is being sent from.Can you help me on this issue ? Regards Paramesh
Hi, By doubt is in the <openpowerlink dir="">/stack/src/user/api/generic.c file , there is the definition of oplk_setNonPlkForward() which I understand handles the non powerlink frames. In that API , if the CONFIG_INCLUDE_VETH macro is not define it just returns a error code. Am I doing something wrong ? What should be done to handle this issue ? Attaching the above mentioned file for your reference. Regards Paramesh
Hi, I am porting the openpowerlink to a TI platform in Linux.I am using the stack from the following link :- http://openpowerlink.sourceforge.net/web/openPOWERLINK/Download.html . I am using 2.6.1 stack. I am using the driver in the userspace. The oplkcfg.h file I am using is in the following path :- <openpowerlink dir="">/stack/proj/linux/liboplkcn . Is this the one I am supposed to use ? CONFIG_EDRV_AUTO_RESPONSE CONFIG_INCLUDE_VETH I cannot find the above two macros defined in the oplkcfg.h file...
Hi, Thanks for the support. I have run the test cases and the test result is attached here. Some of the object codes are unavailable in the object dictionary. What other steps should be done so that the demo windows application is able to pass all the basic test performed by the conformance tool. The issue with object 1050 has been resolve .Thanks for that as well. Attaching the latest test report with this post. Looking forward for your support. Regards Paramesh
Hi, Thanks for the support. I couldnt validate the XDD file that you have attached with above reply. Attaching the validation report with this post. I havent done anyother modifications except that I imported this xdd file into the conformance tool. Looking forward for your support. Regards Paramesh
Hi, Thanks for the support. The objdict.h I am referring is the one in the following directory:- "<openPOWERLINK stack="">/apps/common/objdicts/CiA401_CN/objdict.h". Is this the objdict.h I have to refer ? I am also explaining my test setup here:- (1) A Windows 10 PC in which the demo CN application is being run. All packets have been disabled except IPv4 packets and the ip is set to 192.168.0.1 (2) A Windows10 PC in which the conformance tool is run .Here all packets are disabled including IPv4....
Hi, Thanks for the support. My understanding is that the demo application uses the same objdict.h. Why is then that the demo application in windows is failing in some of the tests performed by the conformance tool ? As I have attached my test report in the previous post, referring to that , it says some of the objects does not exist in the OD. Why is it so ? what changes should I make , so that the demo application passes all the tests performed by the conformance tool ? Regards Paramesh
Hi, I have not been able to resolve the issue yet. Waiting for your response at the earliest. Regards Paramesh
What am I doing wrong ? What could be the possible reason for the tests to fail ? Regards Paramesh
Hi, I am using the prescribed XDD file to run the basic tests for CN using openCONFORMANCE tool. The XDD is validated properly. But some basic tests are being failed. Procedure that I followed for conducting the basic test :- 1) Running demo windows CN application in PC1. The ip address is set to 192.168.100.1 . 2) Running openCONFORMANCE tool(CTT) in PC2. 3) In the CTT , File-> ImportXDD. 4) Connected the two PC using cable and chose the correct network interface. 5) The basic tests was selected...
Thanks for the support. I will get back to you soon. Regards Paramesh
Thanks for the support. I will get back to you for further clarifications if required. Regards Paramesh
Thanks for the support.Will get back to you shortly after going through the porting guide. Regards Paramesh
Hi, I have downloaded the stack for openPOWERLINKv2.6.1 from the following link :- https://sourceforge.net/projects/openpowerlink/files/openPOWERLINK/V2.6.1/openPOWERLINK_V2.6.1.tar.gz/download?use_mirror=excellmedia I have downloaded the windows sample application from the following link :- https://sourceforge.net/projects/openpowerlink/ I am trying to test the demo application using openCONFORMANCE tool. From where will I get the necessary XDD file for validation in the conformance tool?? Regards...
Hi, Can I use the same powerlink stack in Linux when the driver is in the user space ? Is there any modifications I need to make if I am using driver in the user space ? I have downloaded the openpowerlink v2.6.1 stack from the following link :- https://sourceforge.net/projects/openpowerlink/files/openPOWERLINK/V2.6.1/openPOWERLINK_V2.6.1.tar.gz/download?use_mirror=excellmedia Regards Paramesh
Hi, I am trying to implement the openPowerlink network in RTOS.My understanding is there is no separate kernel and user space in RTOS (Real Time Operaing System).Is there any separate steps that I should follow for the implementation ? Regards Paramesh
Hi, OS :- Windows10 I am trying to test CN using the openCONFORMANCE tool. I have run CN in one PC and openCONFORMANCE tool in another PC. ip has been set correctly. The following tests have failed (1) TEST 3.2.1.T1 Error (3.2.1.T1.F5) Value of filed[mtu] invalid (2) TEST 3.2.1.T1 Error (3.2.1.T1.F8) Value of field[rst] invalid (3)TEST 3.2.1.T1 Error (3.2.1.T1.F12) Value of field[rno] invalid When I checked the wireshark packet , Identresp packet in specific , I found the following values mtu- 1500...
Hi, I am trying to install openCONFIGURATOR by following the steps mentioned in the link below. OS:- Windows 10 and Windows 7 Eclipse IDE :- Neon file:///C:/Users/KALKI/Downloads/openconfigurator-plugin-user-manual_V2.2.0.pdf I am receiving an error message as follows :- "Unable to read repository at http://sourceforge.net/projects/eclipse-plugin.openconf.p/files/update-site/content.xml. Received fatal alert: handshake_failure ". What could be the issue ?? Thanks Paramesh