GithubHelp home page GithubHelp logo

Comments (7)

halfmanbear avatar halfmanbear commented on August 23, 2024

You could try a full wipe

dd if=/dev/zero bs=1 count=262144 | tr "\000" "\377" > empty.bin

stm32flash -w empty.bin -v -g 0x0 /dev/ttyS0

Then try flash again

from opennept4une.

PapaSchlumpf70 avatar PapaSchlumpf70 commented on August 23, 2024

You could try a full wipe

dd if=/dev/zero bs=1 count=262144 | tr "\000" "\377" > empty.bin

stm32flash -w empty.bin -v -g 0x0 /dev/ttyS0

Then try flash again

Unfortunately, this did not help. Wiping MCU and flashing the created firmware did always result in no connectivity. I had to flash the firmware provided here and afterwards the created firmware from kiauh. After starting Klipper everything was working. Rebooting did work fine as well, but once I switch off the printer klipper can't connect to MCU anymore :-(
Once I reflash the created FW again it's working untill I switch off the printer.

from opennept4une.

halfmanbear avatar halfmanbear commented on August 23, 2024

What method are you using? The main or alt-method?

if you wipe the flash and re build the MCU Firmware in kiauh with no bootloader (instead of 32kb) then try.

stm32flash -w /home/mks/klipper/out/klipper.bin -v -g 0x8008000 /dev/ttyS0

from opennept4une.

PapaSchlumpf70 avatar PapaSchlumpf70 commented on August 23, 2024

What method are you using? The main or alt-method?

if you wipe the flash and re build the MCU Firmware in kiauh with no bootloader (instead of 32kb) then try.

stm32flash -w /home/mks/klipper/out/klipper.bin -v -g 0x8008000 /dev/ttyS0

First of all, thanks for your support.
Unfortunately, I didn't make any progress.
I tried both methods without success. The only advantage of investigating the alt method is that I don't need to touch the printer for flashing anymore :-)
The only process working for me is flashing the temp FW provided here and flashing the kiauh generated one afterward. Neither the one with 32kb Bootloader nor without generated FW survives a power cycle. Both survive a sudo reboot.
None FW did work flashing after wiping. I always have to go via the GIT-provided one.
What concerns me is the fact that even my backed-up stock FW is not working anymore.
As the printer is still working with the specific method I have the feeling(hope) that only a small piece is missing.

from opennept4une.

PapaSchlumpf70 avatar PapaSchlumpf70 commented on August 23, 2024

from opennept4une.

PapaSchlumpf70 avatar PapaSchlumpf70 commented on August 23, 2024

Not sure what I've done differently, but the last standard flash (stm32flash -w /home/mks/klipper/out/klipper.bin -v -S 0x08008000 -g 0x08000000 /dev/ttyS0) of the Kiauh generated FW did solve the issue.
The FW is now working after power cycles.
Maybe it was your aura :-)

Thanks a lot for your good work, the printer is working better than ever with your image.
Keep up the good work

from opennept4une.

halfmanbear avatar halfmanbear commented on August 23, 2024

Glad you got it sorted! Enjoy

from opennept4une.

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.