Skip to content

Commit e41c1c3

Browse files
committed
More spelling fixes
1 parent 97e25a7 commit e41c1c3

File tree

1 file changed

+28
-25
lines changed

1 file changed

+28
-25
lines changed

README.md

Lines changed: 28 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ If you need in-depth Information about the Firmware (ex: Enable Offroad aka. :)
2525
- 'guid':'%s','statistics':{'batt':%d,'mac':'%s','swv':'%s','dist':%d}
2626
- /bike-message
2727
- fmna key
28-
- fmna-rework (if you happen to have access to Apples FMNA API)
28+
- fmna-rework (if you happen to have access to Apple's FMNA API)
2929
- all Firmwares
3030
- mucoboot (STM32F413VGT6 Bootloader)
3131
- Mainware (STM32F413VGT6 LQFP100)
@@ -53,40 +53,40 @@ If you need in-depth Information about the Firmware (ex: Enable Offroad aka. :)
5353

5454
You can apply 12Vdc via a DC Plug (the normal charging Port) and it will only charge the Module Battery even if the main Battery is connected.
5555

56-
### Module is going into shipping mode outside Bike?
56+
### Module is going into shipping mode outside bike?
5757

58-
Connect the 42Vdc Charger from the Toolbox you got with the Bike. 12Vdc also wakes to Module on the normal charging Plug.
58+
Connect the 42Vdc Charger from the Toolbox you got with the bike. 12Vdc also wakes the Module on the normal charging plug.
5959

6060
### Longevity
6161
#### Battery
6262

6363
First verify that your BMS is actually running V1.17.1!
6464

65-
Limit the Charge your Bike gets.
65+
Limit the charge your bike gets.
6666

67-
Since Charging is physically basically only the product of equilizing the Voltage. If you limit the Voltage on the Charger to the minimum, the Bike only charges to 85-90% without any external Plug. Some (including me) monitored the Wattage used by the Charger to stop the charge process. This is even better since it will still charge the Battery in the Module. Only downside is that you always get Error 21 since the Bike detects this Hack as an error. When you disconnect the Charger the Error is gone.
67+
Since charging is physically basically only the product of equalizing the voltage. If you limit the voltage on the charger to the minimum, the bike only charges to 85-90% without any external plug. Some (including me) monitored the wattage used by the charger to stop the charge process. This is even better since it will still charge the battery in the module. Only downside is that you always get Error 21 since the bike detects this hack as an error. When you disconnect the charger the error is gone.
6868

69-
- Connect the Bike to the Charger like you normaly do.
70-
- Disconnect the Charger Input, then the Bike.
71-
- Wait for the next Day to completely discharge the Charger from any Voltage.
72-
- Remove the rubber feet and remove the Screews. You need a special Screwbit for this. The iFixit Kit does include it.
73-
- When you open the Charger, there is a cut-out at the top where the LED is.
74-
- There you will find a potentiometer. Use a normal screwdriver and twist the poti all the way to the right.
69+
- Connect the bike to the charger like you normally do.
70+
- Disconnect the charger input, then the bike.
71+
- Wait for the next day to completely discharge the charger from any voltage.
72+
- Remove the rubber feet and remove the screws. You need a special screw bit for this. The iFixit Kit does include it.
73+
- When you open the charger, there is a cut-out at the top where the LED is.
74+
- There you will find a potentiometer. Use a normal screwdriver and twist the potentiometer all the way to the right.
7575
- Close everything back up and screw it together. Make sure the attached cable is sitting correctly in the plastic housing.
7676

7777
## How to get started?
7878
### Getting Firmware, Bike Keys, Logs from the SPI Flash
79-
You need the backside of the PCB from the Module to dump the SPI Flash.
79+
You need the backside of the PCB from the module to dump the SPI Flash.
8080

8181
Tools needed: Torx Screw set. I used my iFixit Kit.
8282

83-
1. Unlock bike and remove Module from the Frame
84-
2. If you do not unlock the bike, the Alarm stays on and will annoy you. I used duct tape to cover the speaker if I forgot it.
85-
2. Open Module and unscrew all internal screws of the PCB to remove the PCB. Make sure you unplug the Matrix LCD Cable carefully! You can replace the cable if you break it.
83+
1. Unlock bike and remove module from the frame
84+
2. If you do not unlock the bike, the alarm stays on and will annoy you. I used duct tape to cover the speaker if I forgot it.
85+
2. Open module and unscrew all internal screws of the PCB to remove the PCB. Make sure you unplug the Matrix LCD cable carefully! You can replace the cable if you break it.
8686
3. On the backside of the PCB is the Macronix 16 Pin SPI Flash Chip near the port for the back light.
8787
4. Dump that Flash with a 16 Pin! SPI Flash Chip clamp and a Pi
88-
1. I used an Raspberry Pi Zero v1.1. There you have to enable the SPI Interface with raspi-config
89-
5. When you screw it back together, make sure to use 99% Alcohol to clean the contacts and some threadlocker like Loctite. The (in)rush current from/to the battery and the AC voltage to the Motor is high especially if the battery has low charge thus low voltage. If a screw gets loose while you ride you would create little sparks.
88+
1. I used a Raspberry Pi Zero v1.1. There you have to enable the SPI Interface with raspi-config
89+
5. When you screw it back together, make sure to use 99% alcohol to clean the contacts and some threadlocker like Loctite. The (in)rush current from/to the battery and the AC voltage to the motor is high especially if the battery has low charge thus low voltage. If a screw gets loose while you ride you would create little sparks.
9090

9191
```console
9292
# sudo flashrom -p linux_spi:dev=/dev/spidev0.0 -r rom.rom
@@ -99,10 +99,10 @@ Found Macronix flash chip "MX66L51235F/MX25L51245G" (65536 kB, SPI) on linux_spi
9999
Reading flash... done.
100100
```
101101

102-
### Getting Console Access to my Bike
102+
### Getting Console Access to my bike
103103

104-
You can use a Pi Debug Probe, a Pi, for portable Access a Pi Pico 1/2 (WH), a cheap or expensive USB to UART Adapter.
105-
I prefer the Pico Probe because I can easily upload Firmware with my Mac.
104+
You can use a Pi Debug Probe, a Pi, for portable access a Pi Pico 1/2 (WH), a cheap or expensive USB to UART Adapter.
105+
I prefer the Pico Probe because I can easily upload firmware with my Mac.
106106
[https://github.com/raspberrypi/debugprobe](https://github.com/raspberrypi/debugprobe/releases/tag/debugprobe-v2.2.3)
107107

108108
JTAG 115200 Baudrate
@@ -111,10 +111,10 @@ Green - TX
111111
Orange - RX
112112
Yellow - NC (Not Connected)
113113

114-
### Important caveats.
114+
### Important caveats
115115

116116
This is all based on reverse engineering. So there might be some version differences between firmwares.
117-
So make a backup of your Flash Dump, save it in a safe place like 1Password. If you compress the dump, the file gets very small.
117+
So make a backup of your Flash dump, save it in a safe place like 1Password. If you compress the dump, the file gets very small.
118118

119119
## Fixing some Errors
120120
### Err missing DiSPlay
@@ -127,7 +127,7 @@ you cannot really login..
127127

128128
### Err 54 (no/bad SIM Card)
129129

130-
The Module is looking for a SIM Card with a specific ICCID (Integrated Circuit Card Identifier).
130+
The module is looking for a SIM Card with a specific ICCID (Integrated Circuit Card Identifier).
131131

132132
The Prefix of that is
133133
```console
@@ -774,16 +774,19 @@ See Chris Repo. You need to use AT Commands. The Modem is directly attached to t
774774

775775
### Reading the Console Values
776776

777-
Interesting for me is LiPOSOC and BMSSOC
777+
Interesting is LiPOSOC and BMSSOC
778778

779779
```
780780
TIME; LiPOSOC; BMSSOC; BATTEMP; BATVOLTAGE; BATCURRENT; MOTORCURRENT; MOTORTMP; DRIVERTMP; SPEED; ODO; BOOST; LUX; BATDSG
781781
01/00:11:04; 0.0; -1; -247.-6; 0.00; 0.00; 0.0; 0; 0; 0.0; 4119.5; 0; 0; 0
782782
```
783783

784-
### Update mainware Firmware by updating shadow
784+
### Update mainware Firmware
785785
Make sure that it is either an original Firmware or if modified the CRC32 and Magic Values are correct.
786786

787+
To update or downgrade the Mainware (this is the Firmware Version you see in the App) you update the shadow.
788+
DO NOT update the Mainware directly.
789+
787790
```console
788791
'MT' (@) 2019 STM32F4, Stop
789792
top

0 commit comments

Comments
 (0)