bitdump / BLHeli

BLHeli for brushless ESC firmware
GNU General Public License v3.0
1.95k stars 1.09k forks source link

No Mapping for the Unicode character exists in the target multi-byte code page #567

Closed jongell closed 2 years ago

jongell commented 2 years ago

8F83F412-F725-48B7-9A12-E78C316C7C11

I get this Message over and over again. It is a Tekko32 F4 ESC flashed with 32.8 from factory. All the motors spin fine when raising slider in Betaflight motor's tab.

jongell commented 2 years ago

I only get this message when Motor 4 is connected to the Flight controller. But all Motors turn just fine, when I spin them up. + I get no second sets of beeps on Motor 4, but it still spins up fine. That's the weird part

jongell commented 2 years ago

I do have a ST-Link, if that's gonna help

4712 commented 2 years ago

@jonasbouchraiet For sure it's an issue of the BLHeliSuite32xm app... when does the error message exactly occur? Always if you "Read Setup", or even if start the app and wait? What is exactly your OS version?

jongell commented 2 years ago

I made a little video: https://www.youtube.com/watch?v=2-PTUOss39I

I get no beeps from Motor Number 4. No startup beep and no signal beep. But the motor spins up fine.

I don't think it is a problem with the App or my OS version. My OS version is: 11.6 Big Sur

4712 commented 2 years ago

Thanks for the video! Please try "?... Check for BLHeliSuite32xm update" and see if there is any error? Then, please turn on the log function "Options... Enable Log", produce the error, then switch to log tab and save log to file (Ctrl + Mousebutton) and post here as zip. I suspect, that there is a memory corruption in the parameter section and the app cannot read the content, because of character mapping issues.

jongell commented 2 years ago

When I hit the check button I get the exact same error

jongell commented 2 years ago

Log.zip Here is the log

4712 commented 2 years ago

Thanks, I will look at it.

4712 commented 2 years ago

I will get back soon with a version of the BLHeliSuite32xm , which let you store the parameter section to a file. This will hopefully help to analyze the issue.

4712 commented 2 years ago

@jonasbouchraiet Please download this beta version and try to read ESC4. This beta version will hopefully create a file in the documents folder named ESC4.txt. Please post it here as zip. Thank you!

jongell commented 2 years ago

Here is the file: ESC4.txt.zip

Hopefully you can identify it!

4712 commented 2 years ago

@jonasbouchraiet Thanks a lot, very helpful!!! Now, I can work on it and get back with a fix.

4712 commented 2 years ago

@jonasbouchraiet Please download a beta with a fix here and retry. There happened a memory corruption when the bootloader restored the settings area, maybe due to power loss. So there where unknown characters in the ESC name field. The macos version reacted with the encoding exception. Now it should read the ESC as unknown, invite to erase the settings area and reflash. Thanks for your patience and for bringing this up here!

jongell commented 2 years ago

https://www.youtube.com/watch?v=1FD5EeqgzHk

Problem solved. I can't thank you enough!

mrh666 commented 2 years ago

I'm experiencing absolutely the same issue with 1.0.3.2 BLHeli Suite and Tekko 32 f4 4-in-one ESC with default factory setting. How to fix it guys? Where to get beta version (link is not working anymore)?

4712 commented 2 years ago

@mrh666 sorry, link is active again now.

mrh666 commented 2 years ago

I just installed this beta and I'm not sure that new ESC should be recognized like this: Screen Shot 2021-12-05 at 23 44 36 And ESC fully functional from Betaflight motors or armed by Radio:

Screen Shot 2021-12-05 at 23 47 08

Any idea how can I fix it?

4712 commented 2 years ago

@mrh666 It might be the result of too fast production process. Please reflash ESC1 and 4.