BIGTREETECH-S42B-V1.0 icon indicating copy to clipboard operation
BIGTREETECH-S42B-V1.0 copied to clipboard

How to update the firmware?

Open tiagomaricate opened this issue 4 years ago • 11 comments

Hi people! I was reading tome topics related but the documentation itself is very minimum. I'd like to know if there is some kind of tutorial or similar to help me on how to update the S42b. So far, the only thing I know is the need for an adapter.

tiagomaricate avatar Nov 03 '20 13:11 tiagomaricate

A starting point can be found here: https://github.com/bigtreetech/BIGTREETECH-S42B-V1.0/issues/3#issuecomment-691197566 A working adapter would be a stlink v2 clone, or any other stm32 programmer that can be found on Amazon.

Setting up the development environment consiting of Visual Studio Code and platform.io can be found on youtube, e.g. https://www.youtube.com/watch?v=cmHQxd_qGl8

Hope this gets your running.

Quas7 avatar Nov 03 '20 14:11 Quas7

A starting point can be found here: #3 (comment) A working adapter would be a stlink v2 clone, or any other stm32 programmer that can be found on Amazon.

Setting up the development environment consiting of Visual Studio Code and platform.io can be found on youtube, e.g. https://www.youtube.com/watch?v=cmHQxd_qGl8

Hope this gets your running.

Tks!!! I will give a check.

tiagomaricate avatar Nov 03 '20 14:11 tiagomaricate

Platform.io was not able to upload firmware here (" OpenOCD init failed"). Solution: use STM32 ST-LINK Utility. Open firmware there and upload it via "Target"-"Program"

imperator-maximus avatar Mar 04 '21 15:03 imperator-maximus

After uploading TrueStep firmware via ST-LinkUtility, you can upload firmware via serial port using TrueStepTerminal NG

vc avatar Mar 22 '21 16:03 vc

@vc is TrueStep compatible with S42B v1.1? I assume so since the processor is the same and I THINK it's just a tweak to the layout, but maybe not?

paulrbeers81 avatar May 03 '21 16:05 paulrbeers81

@vc is TrueStep compatible with S42B v1.1? I assume so since the processor is the same and I THINK it's just a tweak to the layout, but maybe not?

You are right. TrueStep firmware specifically for S42B v1.1

vc avatar May 03 '21 17:05 vc

Hello everyone, After reading topics about True Stepper, I decided to give it a try. I have managed to upload firmware.bin via ST-Link utility and it's working fine. However, when I try to connect via true step terminal, I get "could not connect" message no matter what baudrate is set. Also I have tried connecting my S42b v1.0 to TS-terminal on 2 different laptops and pc (win 10 and win7) and still got the same error. Can anyone give me any clue what could be the reason of this error?

ravx4 avatar May 25 '21 08:05 ravx4

Can anyone give me any clue what could be the reason of this error?

I think you'd better ask a question in the repository from which you took the firmware and the TS-terminal program. There are already several varieties of these components.

vc avatar May 25 '21 10:05 vc

Thank you for reply @vc, although I don't quite understand how to ask in original repository (I'm using files from @swanepoeljan repo) as there's no possibility to open an issue there.

ravx4 avatar May 25 '21 12:05 ravx4

although I don't quite understand how to ask in original repository (I'm using files from @swanepoeljan repo) as there's no possibility to open an issue there.

Yes, you are right, the issue section has been closed in @swanepoeljan's repository. You can try using my build of s42b firmware and TrueStepNG software. I forked from @swanepoeljan repository and did some tweaks. If it is interesting, you can look here: https://github.com/vc/TrueStep

vc avatar Jun 01 '21 14:06 vc

Ok, I'll try your repo, maybe can manage to get board comunicating with my pc, Big thanks again :)

ravx4 avatar Jun 13 '21 14:06 ravx4