Git Product home page Git Product logo

Comments (5)

peteasa avatar peteasa commented on June 12, 2024

This problem seems to have been introduced in commit ddfeebd - Cleaning up read response logic

from oh.

peteasa avatar peteasa commented on June 12, 2024

Updated the test code to use WAIT and can see several places where the access freeze can occur. One has been committed that makes a lot of difference to this issue. #30

from oh.

peteasa avatar peteasa commented on June 12, 2024

Well the simulations work ok now, but the latest simulation fix is not good enough to fix the fpga. Still works with simple hello world but as soon as you start to use the mailbox the receive config register gets corrupted, every now an then, with what appears to be contents of the mailbox... odd because this also occurs when not using the interrupt and just polling for messages... about 20% of the time my test runs without any problems and completes without any bus errors and all memory checks seem to work... but about 10% of the time I get the hanging problem and 70% of the time the test runs and you get a bus error. The bus error is best because then you can read the registers with simple memory accesses and each time I see the contents of the mailbox in the config register. When the test hangs there is nothing to do but reboot the board so you loose any logging or chance of investigation.

from oh.

peteasa avatar peteasa commented on June 12, 2024

I sorted out the mess in #30 and created a single simple pull request for the fixes so far for this issue. See #32. This new pull request replaces #30 that ended up as a bit of a mess because it was always work in progress!

The comments in the hdl and the commit should explain the fixes. As far as I can tell this is complete and should stop corruption during and after applying wait.... except that somehow my software test of the fpga still results in ERX_CFG getting corrupted about 70% of the time. Now looking else where for corruption and or using the onboard logic analyser to see exactly what is happening in the fpga when corruption occurs!

Here are some test results using #32
testresults160110.txt

from oh.

peteasa avatar peteasa commented on June 12, 2024

Just tried out the very latest and it seems like this is now working. I have not tried out all the tests yet but so far so good! Well done!

from oh.

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.