Giter Club home page Giter Club logo

Comments (7)

terjeio avatar terjeio commented on May 26, 2024

Working fine but the only issue is once in awhile I'll get
error:7 - A settings read failed. Auto-restoring affected settings to default values.

This happens at random on bootup? Or while running and on writing to the flash? Note that writing to flash is also done when changing offsets, not only when changing settings.

Is there a setting to prevent restoring the defaults?

No, restoring defaults happens when a checksum check fails due to data beeing corrupted. So disabling restore is not a good idea. A way around it will be to change the defaults to match your configuration.

See this discussion for more.

from stm32f1xx.

jimfong1 avatar jimfong1 commented on May 26, 2024

It happens mostly on initial boot up. Error message again this morning when connected with iosender. I'll get the error when saving settings in iosender sometimes too. I check the console screen and save again to make sure it was written to flash.

This maybe a clone STM32 processor that was remarked and not authentic? Bad flash??? I had another mach3bob user reach out to me with the same problem. ST-Link flash utility seems to think this is a real chip with proper chip ID code.

All i/o pins works as expected. Nice clean jitter free step pulse on my scope. No complaints about performance.

I haven't really used offsets yet.

I can do a custom firmware once I lock down the settings. That's easy to do.

from stm32f1xx.

terjeio avatar terjeio commented on May 26, 2024

This maybe a clone STM32 processor that was remarked and not authentic? Bad flash???

Well, this board is the only one that I have had reports about settings failures - so a clone issue? The BOB I have at home has a genuine STM32, I fried the clone so I had to replace the MCU. When I am back I will run tests with it to see if I can replicate the issue and if it is possible to add a workaround.

But it is really odd if a read fails on startup if there was no failed write before the previous shutdown. This since reading is just a memcpy from flash to the RAM buffer.

from stm32f1xx.

jimfong1 avatar jimfong1 commented on May 26, 2024

Ok great, Thanks for looking into this.

from stm32f1xx.

terjeio avatar terjeio commented on May 26, 2024

This comment might indicate that it is a clone issue.

from stm32f1xx.

terjeio avatar terjeio commented on May 26, 2024

I have now tested with my MACH3BOB that has a genuine STM MCU and I have yet to see a settings read or write failure. Will continue testing...

from stm32f1xx.

jimfong1 avatar jimfong1 commented on May 26, 2024

Thank for looking into this Terje

Ill probably order a STM32 chip from digikey and replace mine when I get a chance.

from stm32f1xx.

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.