Skip to content

Commit b877845

Browse files
committed
Add information how to update the BMS, Add Links to Images, spelling fix, moved stuff.
1 parent 1245c6e commit b877845

File tree

1 file changed

+55
-33
lines changed

1 file changed

+55
-33
lines changed

README.md

Lines changed: 55 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ This Chip features 512Megabits (64 Megabytes) of Flash capacity.
88
[https://github.com/Omegaice/go-xmodem/blob/master/ymodem/ymodem.go](https://github.com/Omegaice/go-xmodem/blob/master/ymodem/ymodem.go)
99
[https://pkg.go.dev/github.com/sandacn/ymodem/ymodem](https://pkg.go.dev/github.com/sandacn/ymodem/ymodem)
1010
[https://unix.stackexchange.com/questions/273178/file-transfer-using-ymodem-sz](https://unix.stackexchange.com/questions/273178/file-transfer-using-ymodem-sz)
11+
[Hardware Images](https://github.com/ciborg971/VanmoofX3RE/tree/master/OG)
12+
[Battery Images](https://github.com/dtngx/VMBattery)
1113

1214
If you need Firmware, bms Tools or general assistance contact me on Discord or Telegram
13-
If you need in-dept Information about the Firmware (ex: Enable Offroad aka. :) Mode again) i recommend [chwdt/vanmoof-tools](https://github.com/chwdt/vanmoof-tools)
15+
If you need in-depth Information about the Firmware (ex: Enable Offroad aka. :) Mode again) i recommend [chwdt/vanmoof-tools](https://github.com/chwdt/vanmoof-tools)
1416

1517
### Features
1618
- ble keys (read/write)
@@ -198,7 +200,6 @@ READ AND DECODE LOGS
198200
1723060261 iccid 89314404000913371337
199201
1723060261 Modem ready
200202
1723060261 GSM_CMD_IDLE
201-
1723060280
202203
```
203204

204205
### Some Communication from the Bike to the VanMoof Backend via self-signed Certs.
@@ -448,7 +449,7 @@ Motorware BMSWare 0.00 RSOC 0 Cycles 0 HW 0.00
448449
Shifterware 0.0 stored: 0.237
449450
BLEWare 1.4.01
450451
GSMWare
451-
CMD_BLE_MAC F8:8A:5E:4F:9E:CB
452+
CMD_BLE_MAC F8:8A:5E:FF:FF:FF
452453
```
453454

454455
```console
@@ -468,7 +469,7 @@ Fb coil det 0
468469
Simcard 1
469470
LiPo STAT 1
470471
LiPo Status LIPO_UNKNOWN
471-
Serial 2043538395
472+
Serial 2043531337
472473
Error Flags: 0x00000040 00000000
473474
APP DISCON
474475
Ibat 20.0A
@@ -571,6 +572,34 @@ MOTP 0
571572
SCP 0
572573
```
573574

575+
```console
576+
shipping
577+
Set shipping mode
578+
01/00:24:53 BIKE_SHIPPING
579+
01/00:24:53 SOUND_SO vol 26
580+
Lights P2c
581+
CMD_AUDIO_STOPPED
582+
01/00:25:02 BIKE_SET_SHIPPING
583+
01/00:25:02 BIKE_CPU_STOP_MODE
584+
01/00:25:02 BIKE_SPECIAL_GEAR_OPERATION
585+
01/00:25:07 Shipping mode sets gear:2
586+
01/00:25:07 BIKE_END_SPECIAL_OPERATION
587+
01/00:25:09 BIKE_CPU_STOP_MODE
588+
01/00:25:09 Wake counter 254 of 168, type 10
589+
01/00:25:09 Force Lights Off
590+
01/00:25:09 BMS off
591+
01/00:25:09 BIKE_CPU_STOPPED
592+
No MOTOR_SLEEP_MODE from motor 0x0404
593+
01/00:25:09 EnterSTOPMode 0 min Wake:Shipping
594+
```
595+
596+
```console
597+
factory-shipping
598+
Set factory shipping mode
599+
BLE remove id 112 nr 5C
600+
01/00:27:36 EnterSTOPMode 0 min Wake:Shipping
601+
```
602+
574603
### Bluetooth Low Energy (bledebug) Shell
575604

576605
Enter the BLE Chip shell with bledebug then execute reset to get this output:
@@ -585,7 +614,7 @@ Thu Dec 31 23:00:00 2020: This image is not provisioned
585614

586615
BLE MAC Address: "f8:8a:5e:4f:9e:cb"
587616

588-
Device name ................ : ES3-F88A5E4F9ECB
617+
Device name ................ : ES3-F88A5EFFFFFF
589618
Firmware version ........... : 1.04.01
590619
Compile date / time ........ : Mar 29 2021 / 14:20:30
591620
BIM firmware version ....... : 1.00.00
@@ -719,7 +748,10 @@ Disable Advertise
719748
01/02:15:50 LiPo state changed to LIPO_ERROR
720749
```
721750

722-
### Update mainware by updating shadow
751+
### GSM Modem (gsmdebug)
752+
See Chris Repo. U need to use AT Commands. The Modem is dirrectly attached to the UART Output.
753+
754+
### Update mainware Firmware by updating shadow
723755
```console
724756
'MT' (@) 2019 STM32F4, Stop
725757
top
@@ -770,36 +802,26 @@ Wake Reason: WAKE_SRC_BUTTON_1 WAKE_SRC_MEMS WAKE_KICKLOCK
770802
ES3 v1.01.15
771803
```
772804

773-
```console
774-
shipping
775-
Set shipping mode
776-
01/00:24:53 BIKE_SHIPPING
777-
01/00:24:53 SOUND_SO vol 26
778-
Lights P2c
779-
CMD_AUDIO_STOPPED
780-
01/00:25:02 BIKE_SET_SHIPPING
781-
01/00:25:02 BIKE_CPU_STOP_MODE
782-
01/00:25:02 BIKE_SPECIAL_GEAR_OPERATION
783-
01/00:25:07 Shipping mode sets gear:2
784-
01/00:25:07 BIKE_END_SPECIAL_OPERATION
785-
01/00:25:09 BIKE_CPU_STOP_MODE
786-
01/00:25:09 Wake counter 254 of 168, type 10
787-
01/00:25:09 Force Lights Off
788-
01/00:25:09 BMS off
789-
01/00:25:09 BIKE_CPU_STOPPED
790-
No MOTOR_SLEEP_MODE from motor 0x0404
791-
01/00:25:09 EnterSTOPMode 0 min Wake:Shipping
792-
```
805+
806+
807+
### Update BMS Firmware to 1.17
808+
I use minicom on the Mac.
809+
**Make sure that both the Battery and the Module are somewhat charged AND that there are NO Errors related to the Battery**.
810+
PLEASE. Do not try to update the BMS when the Fuse is OL (Open Line). It will not fix any BATtery error you have!
811+
812+
1. Go into muco Bootloader via pressing ESC
813+
2. Type "vi" (version), Enter. If the version v1.17.1 is not installed we need to upload it first.
814+
1. Type "eb" (erase batteryware), Enter
815+
2. Type "ub" (upload batteryware), Enter
816+
3. CONTROL-A S (On Mac) in minicom shell, select batteryware_1.17.1.bin
817+
4. Type "vi" (version), Enter. Verify that the Version shown is v1.17.
818+
3. Type "st" (start), Enter. Mainware should start.
819+
4. Type "batware", Enter.
820+
5. After the Update use "battery" to verify that the BMS was sucessfully Updated.
821+
793822

794823
### To save the distance i put the bike into shipping. That saved the distance into eeprom.
795824
```console
796825
distance 0
797826
Set 0.0 Km
798827
```
799-
800-
```console
801-
factory-shipping
802-
Set factory shipping mode
803-
BLE remove id 112 nr 5C
804-
01/00:27:36 EnterSTOPMode 0 min Wake:Shipping
805-
```

0 commit comments

Comments
 (0)