Closed 3Dgraf64 closed 8 months ago
the GD32 has been the MCU I've worked with most so far. The only one I know requires a different .config is the Nation branded ones.
Can you share some photos of your soldering? A clear view of both ends of each wire would be most helpful. Can you also confirm that your LCD remains off during all of this, with no backlight or splash screen?
Yes. The display stays blank. The fans too.
The white screen is making me think that the MediaTek chip is interfering with the UART. Maybe the RST in the diagram I have is insufficient to prevent this? You can try the following jumper instead, which will definitely get the MediaTek system out of the way and we'll know for sure if this is the cause. This just bridges the chip select and data output pins (pins 1 and 5) of the NOR chip that contains the bootloader to ensure that the 7688 cannot boot.
Definitively. The Mediatek seems to interfere. After installing this jumper and sending the flash command many times I get random massages: "Failed to read ACK byte", "Got byte 0x01 instead of ACK Unexpected reply from device on command 0x02", "Failed to init device.", "GET returns unknown commands (0x79) Failed to read ACK byte". This time the buzzer make some clicks while executing the command.
Definitively. The Mediatek seems to interfere. After installing this jumper and sending the flash command many times I get random massages: "Failed to read ACK byte", "Got byte 0x01 instead of ACK Unexpected reply from device on command 0x02", "Failed to init device.", "GET returns unknown commands (0x79) Failed to read ACK byte". This time the buzzer make some clicks while executing the command.
I was able to replicate this issue and solved it in my case. Could you run the following commands on your Pi and see if it fixes the issue for you as well?
sudo sed -e s/ console=serial0,115200//g -i /boot/cmdline.txt
sudo stm32flash -w ~/klipper/out/klipper.bin -R -i -18,23,18:-18,-23,18 /dev/ttyAMA0
I copied an pasted the first line and this is the response to the sed command: "sed: -e expression #1, char 2: unterminated `s' command". There must be something wrong. Edit: I redid all the procedure ending with the same random message results. Is it possible I bricked my controller?
I copied an pasted the first line and this is the response to the sed command: "sed: -e expression #1, char 2: unterminated `s' command". There must be something wrong.
My bad, typo'd that line. try sudo sed -e s/\ console=serial0,115200//g -i /boot/cmdline.txt
then reboot sudo reboot
before you use stm32flash.
Edit: I redid all the procedure ending with the same random message results. Is it possible I bricked my controller?
The controller is definitely "bricked" (no working program is written to the storage), but both the MediaTek board and the Pi flash the entirety of the onboard storage every time it needs an update anyway. A microcontroller like these can never truly be bricked as their bootrom is burned into the silicon. If you remove your Pi and all wiring, the FlashForge firmware would reinstall the original MCU binary and you'd be back to stock.
if you're still having issues and it won't flash after a few attempts, can you do cat /boot/cmdline.txt
and cat /boot/config.txt
and give me the output of those?
So. What I did: Remove all wires and reboot the printer letting it "repairs" itself at least 5 times without success. Now all wires are back. Tried again the flash command without success. Display's backlight is off now. First cat command returns: "console=serial0,115200 console=tty1 root=PARTUUID=eb41f98d-02 rootfstype=ext4 fsck.repair=yes rootwait cfg80211.ieee80211_regdom=CA" Second cat command returns: "# For more options and information see
dtparam=audio=on
camera_auto_detect=1
display_auto_detect=1
dtoverlay=vc4-kms-v3d max_framebuffers=2
disable_overscan=1
[cm4]
otg_mode=1
[all]
[pi4]
arm_boost=1
[all] enable_uart=1 dtoverlay=miniuart-bt dtoverlay=disable-bt".
Looks like the Pi is still outputting its serial console to the UART, so it’s interrupting the flashing process. Try sudo raspi-config
then interfaces>serial. Turn off console output and turn on serial, then reboot. Hopefully this will do the trick.
We did a step! The flash works! Now I have to do the config files. This should be a formality Thanks again! How can I donate?
We did a step! The flash works! Now I have to do the config files. This should be a formality Thanks again! How can I donate?
Great to hear! Have you had success printing with Klipper yet? Let me know if you need any additional assistance, I'm happy to help 😄
We're waiting to hear back from GitHub to be able to accept direct donations. I really appreciate your willingness to donate, all donations go toward helping us get unsupported printers to port the project to.
See yourself! https://youtube.com/shorts/udvLeUi6mUE?feature=share https://youtube.com/shorts/5JvzBNBNM6Y?feature=share I did the E3D mod from u/Br0kenScreen (Reddit). Now I can PID tune the hotend. Both bed and hotend can't be pre-heated simultaneously because of the weakness of the power supply. Still tweaking the Orca's profile. Maybe a linear rail mod for the Y axis in the future...
See yourself! https://youtube.com/shorts/udvLeUi6mUE?feature=share https://youtube.com/shorts/5JvzBNBNM6Y?feature=share I did the E3D mod from u/Br0kenScreen (Reddit). Now I can PID tune the hotend. Both bed and hotend can't be pre-heated simultaneously because of the weakness of the power supply. Still tweaking the Orca's profile. Maybe a linear rail mod for the Y axis in the future...
Looking good! Is that hotend getting you much more flow than the original or are you still bottlenecked by the extruder?
A linear rail mod would be amazing! Dual linear rails may be possible, maybe with a drilling jig to mount them nice and parallel? That may even free up space underneath for dual Y motors if you really want to push the speeds.
I'm currently planning to release a Stealthburner / Dragon Burner mount for this printer as well as a bracket that uses the extruder mounting holes for a reverse Bowden tube and BTT U2C. Dual linear rails may be possible, maybe with a drilling jig to mount them nice and parallel? That may even free up space underneath for dual Y motors if you really want to push the speeds.
Update on the donations situation: We're still waiting to hear back from GitHub about the GitHub Sponsors program, but in the meantime we've opened a Ko-Fi page for anyone who wants to support the project. It's live now on the main repo page or at https://ko-fi.com/synthread ❤️
Bottlenecks are the fans. Only 3010. Cooling is an issue but better than the orginal toolhead. A mini Stealthburner or Dragonburner would be great. Next, the extruder. I raised the current by 100ma. Have to test with a CHT nozzle.
Before getting into linear rails I have to do some test printing the same part in each corner of the bed since it's driven from the left side.
ko-fi done!
Thanks again!
Bottlenecks are the fans. Only 3010. Cooling is an issue but better than the orginal toolhead. A mini Stealthburner or Dragonburner would be great. Next, the extruder. I raised the current by 100ma. Have to test with a CHT nozzle.
Before getting into linear rails I have to do some test printing the same part in each corner of the bed since it's driven from the left side.
ko-fi done!
Thanks again!
Did you swap out your extruder spring for a stiffer one or print the spacer? If not I’m impressed you’re managing to need more torque. I thought my motor was skipping originally but upon closer inspection, it was actually the idler, the motor wasn’t losing any steps on mine until I put so much tension on it I was squashing PLA till it looked like linguine.
Yes, I installed the spacer. The motor is skipping. I realized that the extruder motor is heating enough to melt the filament. Causing blockages. I got linguine too. I had set the running current to 0.9 but I brought it back to 0.8. I’m toying with the idea of building a Voron M4 extruder now.
Yes, I installed the spacer. The motor is skipping. I realized that the extruder motor is heating enough to melt the filament. Causing blockages. I got linguine too. I had set the running current to 0.9 but I brought it back to 0.8. I’m toying with the idea of building a Voron M4 extruder now.
That'd be a fantastic upgrade! BTW, are you in our Discord server? If you use Discord I'd like to add you to our list of supporters in our server.
Yes! I use it as gravel3170. Just give me the link.
Yes! I use it as gravel3170. Just give me the link.
Also, could you go to https://ko-fi.com/Discord/Settings and add your Discord user? I want to make sure automatic roles are working.
Hi! Thank you for your work on this project. I'm a totally noob in Linux. That's why I rely on you. Adventurer3 machine here. A note on your readme.md instruction: The command "git clone https://github.com/synthread/Klippventurer.git ~" doesn't work as it is. Linux gives an error as it tries to overwrite the "pi" directory. You must remove the "~" (tilde) at the end of the command.
Next when flashing the controller I got the following response:
http://stm32flash.sourceforge.net/
Using Parser : Raw BINARY Interface serial_posix: 115200 8E1
GPIO sequence start setting gpio 18 to 0... OK delay 100000 us setting gpio 23 to 1... OK delay 100000 us setting gpio 18 to 1... OK GPIO sequence end
Got byte 0x01 instead of ACK Unexpected reply from device on command 0x02
GPIO sequence start setting gpio 18 to 0... OK delay 100000 us setting gpio 23 to 0... OK delay 100000 us setting gpio 18 to 1... OK GPIO sequence end
Then fluid won't connect to the controller. I verified my wiring more than twice. Any tip to resolve this? GD32F103RCT6 controller Anything in the make menuconfig command specific to this controller? Is it better to remove the Mediatek board?
Thanks! Francis