biemster / FindMy

Query Apple's Find My network
225 stars 39 forks source link

Lenze ST17H66 custom firmware #5

Closed biemster closed 1 year ago

biemster commented 1 year ago

Most budget friendly iTag bluetooth trackers nowadays have the Lenze st17h66 mcu (some old stock comes with the st17h26, which is an entirely different architecture, discussed in another issue #?) The SDK is available: ST17H66_SDK or BLE5_ST17H66 with a nice optimized example st17h66_fw_power_consumption. Also doc.lenze.club has a lot of material.

Flashing the chip proved difficult, according to the docs P09 and P10 should be the UART, but on the tags I have one of them is attached to the buzzer. Also the mcu should be reset just before the UXTDWU command is sent, but the chip does not have a reset pin. However, @vadimkozhin managed to successfully flash this chip with custom firmware as detailed here

olivluca commented 1 year ago

Thank you both, I just did that, I hope I'm not bothering you.

biemster commented 1 year ago

@vadimkozhin https://github.com/biemster/st17h66_blinky compiles and runs now in GCC!

Smartaco commented 2 months ago

Hello to the engineers. I want to set up a Bluetooth circuit using ST17H26 but I don't know about Keil programming, is it possible to send me a test code so I can extend the circuit design using it?

Smartaco commented 2 months ago

Can any of you give me a way to ask and answer a call, such as email or any other messaging software?

biemster commented 2 months ago

@Smartaco I have a lot of st17h26 tags but never found a way to reprogram them, or know of anyone who did. Also, they are marketed to be OTP, so I gave up on them.

Smartaco commented 2 months ago

@biemster Can I use ST17H66 in this project? Do you know anything about programming it, or do you have a source code ready to give me?

biemster commented 2 months ago

@biemster Can I use ST17H66 in this project? Do you know anything about programming it, or do you have a source code ready to give me?

I'm not sure what you are referring to with "this project", but there are plenty of references to lots of st17h66 code and how to program it throughout this repo.