xobs / fernly

Fernvale research OS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"FERNLY_USB_LOADER_ADDR" is wrong for the MT6261 branch.

userse31 opened this issue · comments

Well, at the very least it's wrong for my two specimens.

"FERNLY_USB_LOADER_ADDR" should be defined as $1000a5b0, not $7000c000. How do I know this?

Well, I spent the entirety of last night messing with these two smart watches. What I SHOULD have been doing was inspecting the inside of my eyelids but whatever...

Anyway, I had my CH431a hooked up to one of them, so I got to capture the serial output from the bootloader.

F1: 0000 0000
V0: 0000 0000 [0001]
00: 0000 0000
U0: 0000 0001 [0000]
G0: 0002 0000 [0000]
T0: 0000 00BB
Jump to BL

**===================================================**

Bye bye bootloader, jump to=0x1000a5b0
-

I read your reply to another issue regarding the MT6261 and addresses. Sure enough, the boot process progresses somewhat farther!

Still hangs though, but I think I can fix that.

WAIT! NONONONONO! DON'T DO THIS!

WRITING THERE OVERWRITES THE FIRMWARE!

...Maybe. My watch still boots.

It's been a while, but I thought 7000c000 was the address of PSRAM or something along those lines. Perhaps your device hasn't initialized it yet.

I hope the device hasn't been bricked. Please do keep us updated.

Turns out I was accidentally using the wrong branch oops! Watch wasn't bricked, so that's nice!

Alright, I think I'll close my mistake.