Comments (6)
There were 2 problems for you:
- About USB issue, pre-patch fixed about 80% but another fix is needed if you are using 4GB RAM version. In that case open /boot/config.txt file and add at around its beginning this line: total_mem=3072
- With PiCAT, I didn't upload rpi4-xeno version yet, rpi3-xeno may not work for you. Wait for a while.
from soem-w5500-rpi.
Thank you for the quick reply!
- Actually i have limited the ram to 3072Mb by the command, exactly as you described on simple robot. could the connected touchscreen be the cause of the error?
- So "Xenomai for Raspberry pi 4" on simple robot is just to make the RPI4 real-time capable without PiCAT or in my case wiz550io. Nice to know!
is there a reason why you prefer xenomai over rt? or is this a wrong assumption on my part? Otherwise i would try to switch to the rt kernel, if this does not have a significant negative effect and i don't have the described issues.
Thanks a lot for your help!
from soem-w5500-rpi.
Hi,
- Could you share me your cmdline.txt and config.txt files? Also, output from kernel log dmesg? The touchscreen or any usb device won't be cause.
- There are many aspects that Xenomai is better choice compared to preempt-rt kernel, first is about latency and deterministic. For some simple applications you may think latency, jitter of preempt-rt kernel is acceptable but those may become worst with high CPU load, network load or UI display. The 2nd reason for me is realtime device driver model (rtdm) of Xenomai which is absent in preempt-rt kernel. However I don't think Xenomai is always best choice, if you think preempt-rt is suitable for you then just give it a try.
from soem-w5500-rpi.
-
cmdline.txt, config.txt files and output from kernel log dmesg:
cmdConfDmesg.txt -
Thank you very much for the detailed answer to this question, as I am only just getting into the subject of EtherCAT, Linux and real-time applications for the construction of a test bench.
from soem-w5500-rpi.
As I suggested, you made several mistakes in both cmdline.txt and config.txt files.
- Fist about cmdline.txt file, all texts written to this file must be in a SINGLE line, if you make a break all settings after 1st line won't be updated. So your cmdline.txt must looks like this:
...rootwait quiet splash plymouth.ignore-serial-consoles dwc_otg.fiq_enable=0 dwc_otg.fiq_fsm_enable=0 dwc_otg.nak_holdoff=0 isolcpus=0,1 xenomai.supported_cpus=0x3
- Second, you MUST put total_mem=3072 to config.txt instead of cmdline.txt, your config.txt will like this:
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
total_mem=3072
Update these stuffs and Xenomai will work, You should read instruction on http://www.simplerobot.net/ more carefully!
Goodluck,
from soem-w5500-rpi.
This solved my USB issues, Thank you very much!
from soem-w5500-rpi.
Related Issues (20)
- How to use it to control 2 slaves? HOT 1
- can it work on beaglebone black? HOT 4
- Map script gets stuck with 100% CPU HOT 5
- raspberry pi 4 HOT 1
- About the shift_time = 380000; HOT 2
- PDO mapping for Ezi-Servo Fastech Drive HOT 1
- Segmentation Fault with c++ HOT 1
- RPI 4 built-in NIC
- Xenomai task/thread APIs HOT 2
- Usage with a cython wrapper. HOT 4
- w5500 connect to ethercat io board
- I have a question about the CSP
- 64 bit version
- 64 bit version
- Awesome work!
- Can U add some delay for link? HOT 3
- How to get an EtherCAT slave? HOT 2
- Is the Beckhoff PLC necessary? HOT 2
- The way using w5500 spi ? HOT 9
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 soem-w5500-rpi.