Git Product home page Git Product logo

Comments (7)

terjeio avatar terjeio commented on July 21, 2024 1

This version is now thought to have issues.

It has been confirmed 1.53 has issues, it caused random delays in grblHAL and who knows what else. 1.54 fixed the random delay issue.

If we change the SD card library to the source listed in this repositories README.md - https://github.com/WMXZ-EU/uSDFS (and drop the MSC library) - then I think we can get rid of this 4.12/1.53 dependency.

The problem with this is that this library is buggy. I submitted a PR with a fix that was rejected, and the maintainer then tried to fix it himself - and that did not work. I guess the only way forward is to include the libary in the download.

BTW if you get around to write a driver for the STM32H7 then the bug is related to syncing a cache version of data with the RAM version.

So wait a bit with this - until the USB issue is fixed.

from imxrt1062.

terjeio avatar terjeio commented on July 21, 2024 1

Is this issue resolved

Yes, 1.54+ fixes the random delay issue.

Is using https://github.com/WMXZ-EU/uSDFS a viable solution?

Yes, my patched version works - but not the official one.

Does this preclude SD card support?

No - recent builds even works with WebUI v3.

from imxrt1062.

cmidgley avatar cmidgley commented on July 21, 2024

Hi - I also just downloaded and hit that problem. I found a discussion over on core that said it's an issue with Teensy libraries - you need to back out to version 4.12. I did that, and it compiles now. See this issue for details.

The instructions in that issue change the library from 4.13 to 4.12 globally, but the steps aren't totally clear (but can be figured out). However, I found a much easier way that works for me. In the platform.io file (in your grblHAL_Teensy4 folder), locate the [env:teensy41] section (for Teensy 4.1, if using 4.0 use the other section) and then change this line:

platform = ${common_teensy.platform}

to

platform = ${common_teensy.platform}@4.12

from imxrt1062.

Tiktiki avatar Tiktiki commented on July 21, 2024

Yup, the platform update broke something.

fix in platformio.ini solves the issue for now.

from imxrt1062.

dresco avatar dresco commented on July 21, 2024

platformio.ini is pinning the teensy platform to 4.12, which pulls in teensyduino 1.53. This version is now thought to have issues.

This was done to avoid build errors with the SD card library, which is currently pointing at;

https://github.com/wwatson4506/uSDFS#uSDFS-non-blocking
https://github.com/wwatson4506/MSC#MSC-non-blocking

If we change the SD card library to the source listed in this repositories README.md - https://github.com/WMXZ-EU/uSDFS (and drop the MSC library) - then I think we can get rid of this 4.12/1.53 dependency.

We could then either pin the teensy platform to 4.13 (teensyduino 1.54), or let it use the latest - which is currently 4.14 (teensyduino 1.55).

Thoughts? I can make a PR for the ini file changes if in agreement..

from imxrt1062.

dresco avatar dresco commented on July 21, 2024

BTW if you get around to write a driver for the STM32H7 then the bug is related to syncing a cache version of data with the RAM version.

Thanks, I've got it building for H7 now (based off your F7 driver, just needed a few register & peripheral changes). Now just have to wait for hardware to arrive for testing - may be some time!

from imxrt1062.

andrewmarles avatar andrewmarles commented on July 21, 2024

Is this issue resolved? Is using https://github.com/WMXZ-EU/uSDFS a viable solution? Does this preclude SD card support?

from imxrt1062.

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.