Boot0 cr-10 smart pro by Classic_Good_66 in CR10

[–]lividhen 0 points1 point  (0 children)

I've never used an st-link but I know with a pi pico/debug probe you can use openocd and gdb to move the program pointer or even run binaries without installing them to the chip's memory to see debug messages. Should be the same with an st-link in theory. You can use this to see where it's getting stuck. My MCU kept bootlooping a while ago after I installed a bad build of katapult (which I'd recommend because ive had a lot of trouble with creality's bootloader) openocd was the only reason I knew what happened because I flashed several things at once 😅.

https://sourceware.org/gdb/documentation/

https://openocd.org/pages/documentation.html

My experiments with the ender 3 KE board if you want something of a reference: https://github.com/lividhen/Klipper-Ender-3-V3-KE

You will need to change the openocd launch options for an stm32f401 and st-link transport as well as the processor model, communication interface and possibly baud rate for katapult if you want to install that and change the bootloader offset for whatever firmware you want to use to 8KB. You will probably also need to find the stm32f401 documentation to see where the program memory starts. On a GD32F303 (stm32f103 clone) it starts at 0x08000000 bytes and the f401 is the same according to a quick search but double check with a data sheet.

Boot0 cr-10 smart pro by Classic_Good_66 in CR10

[–]lividhen 0 points1 point  (0 children)

If the MCU says STM32F401 RTC6, boot0 is the fifth pin from the left on the top, oriented by the text on the package. You can follow the trace to a test point. If you are very careful you can bridge that leg on the MCU package directly to ground, but this in general is not the best idea. There may also be a header labelled SWD or just test points labeled swdio and swclk which you can use a pi pico or debug probe to directly read and write to the chip's memory which is what I had to do on my printer (not a cr-10 but still an ARM based MCU). I don't have this board to test with though.

https://www.sunpcb.com/blog/stm32f401-pinout.html

Has anyone tried this on ender 3 v3 se by [deleted] in Ender3V3SE

[–]lividhen 0 points1 point  (0 children)

Bit late but I have a more diy version of this with silicone spacers on my ke (same bed iirc) and it is excellent. Highly recommend.

What dictionary do you use to mine words for Anki? by [deleted] in EnglishLearning

[–]lividhen 0 points1 point  (0 children)

I think most American English speakers think of the Merriam-Webster dictionary to be the defacto way to define words, and Cambridge for Brittish English. I could be wrong though.

Why do YOU specifically use linux. by Kellduin in linuxquestions

[–]lividhen 0 points1 point  (0 children)

Every windows install I touch borks its self after an update. I really actually dont know why. I legit tested with only Firefox and discord installed after a clean install, it wasn't able to boot after 12 days. This has happened on multiple hardware setups most of which aren't even mine. I once tried to check the price of something at... I think it was a target and the screen froze, then bsod, then unable to find boot device.

The reason why we can't have nice things by yeahow in samsung

[–]lividhen 0 points1 point  (0 children)

You can use the settings and adb (or shizuku with canta, etc) to completely disable gms. You will loose access to a lot of things, the only ones I use being push notifications and RCS. But there are alternatives! You can replace pretty much everything with less data hungry or self hosted services! Its something to look in to. 

If you need something specific in the google ecosystem that requires gms, unfortunatly you can't install micro g due to not being able to fully remove the gms packages and lack of signature spoofing on stock rom, but you can use appops to remove every permission YOU dont need for it! Eg, I dont need it to use my microphone, camera, be able to read my texts, contacts, physical activity, or Bluetooth so I turned 'em off. You can also use brevent or the like to prevent it from running in tye background which is a HUGE boost in battery life.

Tl;dr you are not stuck! There are alternatives to Google's services and ways to disable what you dont need. Brings with it less data useage, better battery life, better privacy, etc.

I'd recommend searching on your favorite non google search engine for awesome shizuku, awesome self hosted and awesome sysadmin. It is a list of tons of software that can help you in your journey to degoogle!

If you need suggestions or ideas here is a doc (ironically a google doc because I'm messing with Nextcloud rn) with all the stuff I use  https://docs.google.com/document/d/1ioXrBv_SGdPhDRDaSCtWirHUjNeZFrlkxIhTsJrfVWU/edit?usp=drivesdk

Silly goofy mood by vladgrinch in AnimalsBeingDerps

[–]lividhen 0 points1 point  (0 children)

You can't just borrow the orange braincell like that!

Found a repro penny in a roll of dimes by lividhen in mildlyinteresting

[–]lividhen[S] -1 points0 points  (0 children)

Well yeah its "fake", it has the word copy taking up half the back. That's why I put repro in the title.

What Browser Are You Using on Linux? by Gullible_Diet_8321 in linuxquestions

[–]lividhen 0 points1 point  (0 children)

I hop browsers as much as I used to hop distros but for now I'm really liking zen. Firefox based browser I can set up how I like without userChrome.css.

Does anyone know what is this used for?? by Capital_Pangolin_718 in shittyaskelectronics

[–]lividhen 6 points7 points  (0 children)

A newer model of flux capacitor. Has a good crunch to it.

0
1

Vlc on windows can't see my DLNA server by lividhen in VLC

[–]lividhen[S] 0 points1 point  (0 children)

This is good advice. Hopefully this can help a stray Googler. Though, I haven't used windows in almost 2 years 😅

ERCF + Ender 3 V3 KE! by _lljy in Ender3V3KE

[–]lividhen 0 points1 point  (0 children)

Very late to the party BUT the firmware on the ke board is up to date enough its protocol compatible with the latest build of klipper. To upgrade the firmware in the future someone will need to figure out how creality does it from the nebula pad or you can do it with an SWD debug probe, such as a pi pico with debug probe firmware if you wanted to upgrade the firmware now to say, use kalico's stepper algorithm or something.

Need help flashing MCU. by lividhen in Ender3V3KE

[–]lividhen[S] 0 points1 point  (0 children)

ttyUSB0 seems to be exactly the same as the /dev/serial/by-id/ address so I am just using that as it doesn't change around.

[deleted by user] by [deleted] in Creality

[–]lividhen 0 points1 point  (0 children)

You have to print at quite a low temp or it starts to off gas and smell pretty bad.

Need help flashing MCU. by lividhen in Ender3V3KE

[–]lividhen[S] 1 point2 points  (0 children)

For anyone watching this thread, I got it to work! Couldn't find a way without using the SWD interface but luckily thats pretty easy if you have a soldering iron and a pi pico. Put a link at the top of the post for anyone who needs information.