Seite 14 von 29

Re: Tromox Mino

Verfasst: Di 11. Okt 2022, 19:20
von deadropine
Thanks!

Re: Tromox Mino

Verfasst: Mi 12. Okt 2022, 14:22
von vlad_vy
deadropine hat geschrieben: Mo 10. Okt 2022, 16:56 I have seen that Niu has a handheld diagnostic tool which (Niu handheld H1) they connect to the charging port in order to change settings. Can the CAN bus system of the controller be used for programming?
If controller software support it. I have seen two *.bin files for NIU, they look like encrypted, so can be flashed over CAN (NIU use RS485) bus only.

Re: Tromox Mino

Verfasst: Mi 12. Okt 2022, 20:23
von deadropine
@vlad_vy
I am not really familiar with ultra edit and foc files. How did you open or convert the foc file to something readable? I only see strange symbols. £¥$¿•¡*£{}$??????

Re: Tromox Mino

Verfasst: Do 13. Okt 2022, 06:45
von vlad_vy
We have different settings or different versions of UltraEdit. My old UltraEdit-32 (v12.00) open *.foc file always in binary mode. Try open *.foc file, then "Edit"->HEX Functions->HEX Edit. You have to see something like:

00000000h: 31 32 33 34 35 36 37 38 39 70 72 66 0D 0A 06 07 ; 123456789prf...
...
...

Probably you will need switch to "Edit"->HEX Function->HEX Edit\EBCDIC and back to "Edit"->HEX Functions->HEX Edit. Or try use binary compare, you can do binary edit at result windows.

To binary compare two files use: "File"->Compare Files, select two files to compare, select "Compare Options" -> Binary, "Editor Tiling" -> Tile Vertical.

Re: Tromox Mino

Verfasst: Do 13. Okt 2022, 09:21
von deadropine
@vlad_vy
Thanks for your support. I will give my best!

Re: Tromox Mino

Verfasst: Do 13. Okt 2022, 15:50
von vlad_vy
My "Start" button is not waterproof. :(
image01.jpg
image02.jpg
image03.jpg

Re: Tromox Mino

Verfasst: Do 13. Okt 2022, 16:28
von vlad_vy
Tromox MIno "Start" button.
image04.jpg

Re: Tromox Mino

Verfasst: Do 13. Okt 2022, 20:33
von deadropine
@vlad_vy
I have opened the foc file and see all the lines. My problem is the part on the right side next to the semicolon. There I cannot see the parameters you have found. There are just strange letters. How did you convert them into the usable information you have posted? Especially the 0000h -0100h lines.
Screenshot 2022-10-13 202827.png

Re: Tromox Mino

Verfasst: Fr 14. Okt 2022, 05:49
von vlad_vy
You don't need the third column, it a pure binary file without any comments and structure. At first assume it consist from 16 bit values (two bytes, left MSB and right LSB), then try to convert the value to decimal. Use Windows Calculator at programmer view. Select hexadecimal, select 2 bytes, enter value, then switch to decimal and write the value.
image001.jpg
image001.jpg (113.22 KiB) 715 mal betrachtet
image002.jpg
image002.jpg (110.46 KiB) 715 mal betrachtet
Any value started from F (bit 16 = 1), for example FF 9C, most likely is negative, FF 9C = -100
image003.jpg
image003.jpg (113.5 KiB) 715 mal betrachtet
image004.jpg
image004.jpg (110.52 KiB) 715 mal betrachtet
If you did not get reasonable value, most likely it is 1 byte value, for example:
0106h: 6E : High-Speed Percent (110)
0107h: 43 : Middle-Speed Percent (67)
0108h: 3C : Low-Speed Percent (60)
0109h: 32 : Fourth-Speed Percent (50)
010Ah: 32 : Speed Limit Percent (50)
010Bh: 00 : ???

Re: Tromox Mino

Verfasst: Fr 14. Okt 2022, 06:01
von deadropine
@vlad_vy
Respect! Thanks for your lesson in informatics.