Giter Site home page Giter Site logo

Comments (9)

patrickdowling avatar patrickdowling commented on August 22, 2024

Are you using a pre-compiled .hex? While it might be related to the latest changes that type of display corruption has been reported when compiling using any version of arduino/teensyduino higher than (IIRC) 1.8.1/1.35. It seems independent of the actual app that's running.

There seems to be some kind of timing issue or interaction with the libraries that's hard to diagnose and I've never been able to reproduce it.

from o_c.

Triscus avatar Triscus commented on August 22, 2024

At first I used self-complied v1.3.6a from the dev136 branch (Arduino 1.8.8 and Teensyduino 1.4.5 on Windows 10) but I was able to reproduce the behaviour with the latest v1.3.6 pre-compiled release.

from o_c.

timchurches avatar timchurches commented on August 22, 2024

I think Max mentioned that he was now using the latest version of Arduino/Teensyduino to compile the hex for releases and no issues had been encountered. But seems like that may not be the case. As Patrick says, it is very non-deterministic, and seems to happen randomly. Try compiling with Arduino 1.8.1 and Teensyduino 1.35 as Patrick suggests. On past experience, that will solve the problem. Hopefully the latest code still fits when compiled like that.

from o_c.

mxmxmx avatar mxmxmx commented on August 22, 2024

mmh, yeah, i was secretly hoping that issue had disappeared. i've now replaced the hex compiled with the older gcc: https://github.com/mxmxmx/O_C/releases/tag/1.3.6 ...

had to disable a bunch of preset scales to make it compile; not sure how they compile the "VOR" branch (in as much that won't compile without disabling even more scales)

from o_c.

timchurches avatar timchurches commented on August 22, 2024

Just BTW, the earlier versions of Arduino such as v1.8.1 as required by o_C don’t run under macOS 10.15 (Catalina), so think twice before upgrading. I didn’t. Luckily I also have an ancient MacBook Air running macOS 10.13...

from o_c.

mxmxmx avatar mxmxmx commented on August 22, 2024

ah, good to know ... (i haven't yet).

@Triscus can you let us know if that was it? thanks

from o_c.

patrickdowling avatar patrickdowling commented on August 22, 2024

Yeah, it'd be good to know if it goes away again with 1.8.1.
I'm kind of torn on the issue... I'd really like to know what's causing it, but the turn-around times and clunky tooling mean there's a lot of inertia to overcome.

Arduino isn't the only victim of 10.15, it's also older versions of avr-gcc and other compilers.

from o_c.

Triscus avatar Triscus commented on August 22, 2024

The latest per-compiled version works. I was able to reproduce the issue with an older version right away.

I also compiled the latest version with Arduino 1.8.1 and Teensyduino 1.3.5 . The Optimization Option in Arduino needed to be 'Smallest Code' as the code was about 500 Bytes too large when set to 'Faster'. I ran it for a couple of minutes and it seems to work.

from o_c.

mxmxmx avatar mxmxmx commented on August 22, 2024

ok, thanks for trying ...

re optimization, this branch does/should compile with "faster" (-O2); i haven't pulled this over into the master branch (but you can simply use the pre-release hex, that's the same thing). interesting to know though that it seems to worked with -Os ...

from o_c.

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.