makerbase-mks / MKS-Robin-E3-E3D

MKS Robin E3 E3D 32Bit Control Board 3D Printer parts with tmc2209 Uart mode driver For Creality Ender 3 CR-10
https://www.aliexpress.com/item/4000781744682.html
GNU General Public License v3.0
118 stars 97 forks source link

Bootloader update to remove power up beep #107

Closed aabeuge closed 3 years ago

aabeuge commented 3 years ago

I see the bootloader folder contains a .jflash file. I have an ST-Link dongle, can I push the .HEX file with ST link utility or do I have to use J-flash programmer with those hex files?

mks-viva commented 3 years ago

Hi! You can use ST-Link.

aabeuge commented 3 years ago

Hi! You can use ST-Link.

I tried connecting to the J1 header and the ST link utility could not find the target. Does Boot0 have to be pulled high even for SWD programming? If so I saw that I will need to cut the trace line from permanent ground.

mks-viva commented 3 years ago

Like this: https://github.com/makerbase-mks/MKS-Robin-E3-E3D/issues/43 But i recommend you to use J-LINK and use it have not change hardware.

aabeuge commented 3 years ago

Success! I took another look at stm32cubeprogrammer and the default memory address needed to change from 0x80000000 to 0x00000000. Once I made the change it connected using the ST-Link V2 dongle and I was able to save the original bootloader and upload the new bootloader without the beep and boot message.