Comments (6)
I think you might be right. With the current code I get problems with a "Reset Communication" command. I just tried your suggestion and replaced "canopen_app_resetCommunication()" with "canopen_app_init()". As a result the "Reset Communication" command works now. I also think that this is the most logical way. Personally, I would expect a "Reset Communication" command to reset the communication. Sounds silly, but deleting the instance and recreating it with the given parameters would meet that expectation exactly.
from canopenstm32.
I will check that and update you here . Reset Comm should reset the communication. Maybe I missed something...
from canopenstm32.
Hi Hamed. Have you had a chance to verify the issue?
from canopenstm32.
Hi @midiwidi,
Yes, I had a look today and you are right. The way that CO_RESET_COMM handled is wrong. I will mark this as a bug and fix it in the next release.
from canopenstm32.
Thanks for checking Hamed.
from canopenstm32.
Compared with the main_black.c in the CANopenNode example it seems there is no CO_Delet() necessary
from canopenstm32.
Related Issues (20)
- Remove the dependency on TICK timer
- Timer interrupt needs to be stopped during reset communication procedure
- Overflow flag in STM32L4xx HOT 5
- TPDO not working on STM32F1 HOT 3
- Issue with running on STM32H735-DK HOT 1
- STM32F4DISCOVERY CAN port cannot communicate HOT 3
- More just as request for help than an actual issue. HOT 1
- SDO download fails with message flood HOT 2
- connectivity issue with Nucleo-F103RB HOT 6
- node ID is not added to COB ID in EDS file HOT 4
- error handling requirement HOT 1
- STM32H735 Example Nothing after bootup Message HOT 2
- Configuring the micro as MASTER problem, CO_NMT_sendCommand() not defined. HOT 3
- STM32H735_DK Example Issue With SDO HOT 1
- How can I detect that an slave node is connected to the CAN bus before the HeartBeat message HOT 2
- Trying to communicate with CAN 500kbps HOT 9
- Trying to receive SDO messages in SDO client over CO_SDOclient_receive HOT 2
- Need to use other CAN thats not CANopen
- How to enable (so that they work) interrupts on tx and rx HOT 3
- SDO and NMT simulation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from canopenstm32.