chineese STM32 based control board for 3D printer

Anything not related to STM32
lewiss66
Posts: 7
Joined: Thu Dec 01, 2016 6:42 am

Re: chineese STM32 based control board for 3D printer

Post by lewiss66 » Sun May 14, 2017 7:58 pm

Look at this link that gives you good info to start builing your own printer:
https://www.youtube.com/watch?v=_NSxGRMPjOA
Personally I've also heard that the delta are faster until I watched this video:
https://www.youtube.com/watch?v=XIk-w5OSVh8&t=501s
If you build a good 3D printer you have to consider all parts.
The problems with delta printer is that you loose a bunch of room with the circular heatbed...


victor_pv
Posts: 1864
Joined: Mon Apr 27, 2015 12:12 pm

Re: chineese STM32 based control board for 3D printer

Post by victor_pv » Fri Jan 12, 2018 9:03 pm

Goran, nice page with lots of details.
Only thing I didn't completely understand, did you load the Malyan firmware bin file but using our bootloader, is that right?
That's interesting, I would think their firmware had to be compiled for the addresses where our bootloader load the sketches, so perhaps their bootloader takes the same 8KB?

About Marlin, it's already working fine in that board. And you can replace the ESP8266 firmware with ESP3d from Luc, it's in github. As far as I know, that one doesn't make any connection to the internet.

The current Marlin Bugfix 2.0 branch includes the STM32 files, and we added the Malyan as a board option, you can modify the config file to match your bluepill pins and compile it.

goran.mahovlic
Posts: 52
Joined: Fri May 26, 2017 9:01 pm

Re: chineese STM32 based control board for 3D printer

Post by goran.mahovlic » Fri Jan 12, 2018 9:23 pm

Tnx :)
Only thing I didn't completely understand, did you load the Malyan firmware bin file but using our bootloader, is that right?
Yes I have used maple bootloader to put malyan firmware into bluepill, that was only way it worked.
maple bootloader is a bit smaller so it all started to work, but without serial :)

And then I have found a way to get serial working -- just check few last lines I have added to my blog :)

Greeeat, tnx, we already edited firmware for ESP but yeees we want it to be opensource and your link is the way we want to go.
The current Marlin Bugfix 2.0 branch includes the STM32 files, and we added the Malyan as a board option, you can modify the config file to match your bluepill pins and compile it.
I have already send Marlyn Bugfix 2.0 repo link to my college and he will try to build it for this board.
My work will now be to replace onboard STM32 with my cloned one and to test if all is working.
Then I can use STLINK to upload Marlyn ;)

goran.mahovlic
Posts: 52
Joined: Fri May 26, 2017 9:01 pm

Re: chineese STM32 based control board for 3D printer

Post by goran.mahovlic » Sat Jan 13, 2018 12:08 am

Ok my college already compiled Marlyn and I got something on serial.
We did not manage to compile USB-serial.

And I can easy switch back to original fw with sd update :)
GotSerial.png
GotSerial.png (67.26 KiB) Viewed 182 times

goran.mahovlic
Posts: 52
Joined: Fri May 26, 2017 9:01 pm

Re: chineese STM32 based control board for 3D printer

Post by goran.mahovlic » Sat Jan 13, 2018 1:53 pm

Here is just a bit better picture
I will now go to workshop and try to run it on my printer ;)
GotSerial2.png
GotSerial2.png (139.69 KiB) Viewed 171 times

goran.mahovlic
Posts: 52
Joined: Fri May 26, 2017 9:01 pm

Re: chineese STM32 based control board for 3D printer

Post by goran.mahovlic » Sun Jan 14, 2018 5:24 pm

After loading code if I am fast I can get Serial from USB - Repetier connects, but reports "No start signal detected"
ciniSeDaRadi.png
ciniSeDaRadi.png (54.87 KiB) Viewed 142 times

victor_pv
Posts: 1864
Joined: Mon Apr 27, 2015 12:12 pm

Re: chineese STM32 based control board for 3D printer

Post by victor_pv » Sun Jan 14, 2018 5:28 pm

Is that in the bluepill or in the Malyan board?
The Malyan one has watchdog enabled in the config bits. The watchdog should be reset every second or so, but perhaps something is not going well and not resetting it on time.

Did you try any other host application.

goran.mahovlic
Posts: 52
Joined: Fri May 26, 2017 9:01 pm

Re: chineese STM32 based control board for 3D printer

Post by goran.mahovlic » Sun Jan 14, 2018 6:08 pm

This is on bluepill with Marlin fw and maple bootloader.
If I try to connect it with Repetier but only straight after start I got this and then it blocks...
Like SerialRead on bluepill is not working.
SerialWorkingOnlyOnStart.png
SerialWorkingOnlyOnStart.png (128.85 KiB) Viewed 134 times

goran.mahovlic
Posts: 52
Joined: Fri May 26, 2017 9:01 pm

Re: chineese STM32 based control board for 3D printer

Post by goran.mahovlic » Sun Jan 14, 2018 7:53 pm

Ok it seams that idle() in main is not blocking code.
If I just remove idle() it is working

I will check idle - probably some interrupt needs to happen to exit it.
GOT_IT.png
GOT_IT.png (48.29 KiB) Viewed 127 times

Post Reply