Code Monkey home page Code Monkey logo

Comments (5)

rsta2 avatar rsta2 commented on May 28, 2024

A short delay in the main loop in CKernel::Run() also mitigates the problem but does not solve it.

from circle.

rsta2 avatar rsta2 commented on May 28, 2024

I think I have found the problem. After doing some traces using the CTracer class I found a very strange system behaviour occurring. There were nested USB interrupts which should not happen and cannot be handled. The problem could not reproduced on the Raspberry Pi 2.

After checking the relevant paths in the source code (not a lot) I was guessing a side effect and changed the data cache clean and invalidate operation before/after an USB slave DMA operation from touching the entire data cache to the DMA data buffer range only which was already the case on the Raspberry Pi 2.

Now I cannot reproduce the problem in a ping test running one hour. It occurred after some seconds before the change. So I suppose the problem is fixed now. But such problems are difficult and further testing may be needed.

from circle.

jsanchezv avatar jsanchezv commented on May 28, 2024

Hi,

This afternoon I've tested the patch sending near 10.000 packets from two
sessions on same IP and a third session from another IP. Around two
uninterrupted hours, without packets lost and a keyboard and a mouse
working correctly.

Great work again!. :)

Thanks by your efforts.
José Luis

2015-09-27 15:10 GMT+02:00 rsta2 [email protected]:

I think I have found the problem. After doing some traces using the
CTracer class I found a very strange system behaviour occurring. There were
nested USB interrupts which should not happen and cannot be handled. The
problem could not reproduced on the Raspberry Pi 2.

After checking the relevant paths in the source code (not a lot) I was
guessing a side effect and changed the data cache clean and invalidate
operation
before/after an USB slave DMA operation from touching the
entire data cache to the DMA data buffer range only which was already the
case on the Raspberry Pi 2.

Now I cannot reproduce the problem in a ping test running one hour. It
occurred after some seconds before the change. So I suppose the problem is
fixed now. But such problems are difficult and further testing may be
needed.


Reply to this email directly or view it on GitHub
#10 (comment).

from circle.

rsta2 avatar rsta2 commented on May 28, 2024

That sounds very good. Thanks for this valuable testing work!

from circle.

rsta2 avatar rsta2 commented on May 28, 2024

This problem should have been fixed.

from circle.

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.