Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating clone #6

Open
mean00 opened this issue Oct 28, 2022 · 10 comments
Open

Updating clone #6

mean00 opened this issue Oct 28, 2022 · 10 comments

Comments

@mean00
Copy link
Owner

mean00 commented Oct 28, 2022

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
Copy link
Owner Author

mean00 commented Oct 28, 2022

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
Copy link

FiusRa commented Oct 29, 2022

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
Copy link

FiusRa commented Oct 29, 2022

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
Copy link

FiusRa commented Oct 29, 2022

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
Copy link

FiusRa commented Oct 29, 2022

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

@mean00
Copy link
Owner Author

mean00 commented Oct 29, 2022

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

  • Connect only 3 pins of the stlinkv2 to the board (they are easy to access & labeled ) : GND, SWDIO, SWCLK
  • Install & run openocd (you'll have to change the path) :
    openocd -f /usr/share/openocd/scripts/interface/stlink-v2.cfg -f /usr/share/openocd/scripts/target/stm32f1x.cfg

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
Copy link
Owner Author

mean00 commented Oct 29, 2022

swd

@mean00
Copy link
Owner Author

mean00 commented Oct 29, 2022

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

@FiusRa
Copy link

FiusRa commented Oct 29, 2022

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
Copy link
Owner Author

mean00 commented Oct 29, 2022

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants