Giter Club home page Giter Club logo

Comments (6)

thanhtam-h avatar thanhtam-h commented on June 16, 2024

There were 2 problems for you:

  1. 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
  2. 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.

AlSa-91 avatar AlSa-91 commented on June 16, 2024

Thank you for the quick reply!

  1. 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?
  2. 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.

thanhtam-h avatar thanhtam-h commented on June 16, 2024

Hi,

  1. 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.
  2. 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.

AlSa-91 avatar AlSa-91 commented on June 16, 2024
  1. cmdline.txt, config.txt files and output from kernel log dmesg:
    cmdConfDmesg.txt

  2. 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.

thanhtam-h avatar thanhtam-h commented on June 16, 2024

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.

AlSa-91 avatar AlSa-91 commented on June 16, 2024

This solved my USB issues, Thank you very much!

from soem-w5500-rpi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.