mean00 / lnDSO150

Newer alternative firmware for the DSO150/DSO shell small oscilloscope
Other
52 stars 5 forks source link

Updating clone #6

Open mean00 opened 2 years ago

mean00 commented 2 years ago

Hello. Haven't been here in a while. With past experiments, I burned a few stones and abandoned the dso. Let me remind you that I have a fake fee. one of the first. without stabilizers 7905 and 7805. at the moment I have finalized the entire analog part according to your posts. with the replacement of 084 and 082 with 074 and 072. the signal has become better. now firmware 064a/ for fake. I read here that with the installation of ad8066 in dso 138, the device began to see up to 1mgz. perhaps a remake is also suitable for 150. the question is how to spill the firmware on a fake with a stm stone. filled with the help of STMicroelectronics flash loade with a cp341 progromator. White screen. last time with dino firmware, Dso150STM32F103_vanilla came up to me. I want to try a new one. can you help me get started? https://drive.google.com/file/d/1lzQlFXOq2Z_5uclFOH2eR5vWNjiQjaSW/view?usp=sharing https://drive.google.com/file/d/13z6JRWlvq_LokcrmemqqMT7vMMrT6OBl/view?usp=sharing

mean00 commented 2 years ago

If i got it correctly, the question is how to upload a test fw into your device 1- are you 100% sure it is a stm32f103 ? 2- can you use instead a st link v2 over the SWD pins to flash ? I'm unsure flashing over serial is doing all that is needed.

Now regarding the issue : Usually a white screen is a sign it crashed early, it should not. 1- Did you flash the bootloader first ? 2- If you can get the serial output while it boots it would help also

FiusRa commented 2 years ago

Hi. yesterday I found a way to hack the original dso 150 firmware. you need to download the firmware 113-15001-120.hex from the official site and edit it in a text editor. and use KeyGenDSO150 to generate a password. and all. Now I have the latest official firmware. Here is a link to YouTube but it is in Russian. "https://www.youtube.com/watch?v=_JccGIqhuIc"

FiusRa commented 2 years ago

patch1 disable fake serial number check (this changes the 2 fake serial numbers in the flash to fZn6IX2r,u2uvGy8a) change the file line number 2954 from :10B880004F205368656C6C006 5 5A6E3649583272A 9 to : 10B880004F205368656C6C006 6 5A6E3649583272A 8 change the file line number 2955 from :10B89000007 4 3275764779386100000000000000B E to : 10B890000075 3 275764779386100000000000000B D

  1. patch 2 disable the required activation code. This changes the ARM branch instruction BEQ to BNE and invert the test of the right unlock code change line 1616 from :1064E000063013D 0 214C63895A1C022B62810AD8D 2 to : 1064E000063013D12 1 4C63895A1C022B62810AD8D 1 activation key under video. need to rename from txt to exe. try to make a video of how you perform the firmware. makes it easier to repeat.
FiusRa commented 2 years ago

If i got it correctly, the question is how to upload a test fw into your device 1- are you 100% sure it is a stm32f103 ? yes original stone 2 I didn't understand how to use stlink. The wiki has unclear instructions. rather a translation. make a video on how to flash it. I tried to flash a white screen using ch341.

FiusRa commented 2 years ago

I don't want to burn anything again. tired of buying new stones. ))) shoot a video on the firmware

mean00 commented 2 years ago

Just in case (you can use a cheap chinese stlinkv2 clone), they work fine with openocd:

It should display it has detected a stm32f103 and it is listening on port xxxx, normally 3333

Then start arm-none-eabi-gdb.exe

target extended-remote :3333 (it should connect to openocd) mon halt (may not be mandatory) file THE_ELF.elf load compare-sections

No need to solder anything

mean00 commented 2 years ago

swd

mean00 commented 2 years ago

i think you can reflash the hex file also that way load foo.hex but not 100% sure

FiusRa commented 2 years ago

somewhere lay a Chinese clone. I'll take a look. If I find I'll try to flash it. unsubscribe about the result. where are the files THE_ELF.elf and foo.hex

mean00 commented 2 years ago

https://github.com/mean00/lnDSO150/releases You can try the jytech 2.2 elf one, should work for you DONT FORGET TO FLASH THE BOOTLOADER FIRST!