Skip to content

Commit

Permalink
mb.20beta1.B
Browse files Browse the repository at this point in the history
  • Loading branch information
emmebrusa committed May 2, 2020
1 parent 762181c commit fed1383
Show file tree
Hide file tree
Showing 39 changed files with 8,378 additions and 2,607 deletions.
Binary file modified JavaConfigurator.jar
Binary file not shown.
21 changes: 21 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
List of changes mb.20beta1.B
1 - added cadence sensor calibration in advanced mode.
2 - added calibration of maximum torque value (torque sensor range).
3 - added ADC conversion factor calibration of the torque sensor (with weight).
4 - added ADC offset adjustment of the torque sensor.
5 - added choice to display, standard or advanced mode for cadence and torque sensors.
6 - added data display in automatic sequence when the lights are turned on.
7 - added other data that can be shown on the display.
8 - added ability to view data with miles setting.
9 - access to parameters and data also with error code present.
10 - separate definitions, TARGET_MAX_BATTERY_POWER and TARGET_MAX_BATTERY_CAPACITY.
11 - with WALK_ASSIST_DEBO UNCE_TIME, the brake sensors in addition to the motor now also stop time.
12 - CRUISE mode now also operable with walk assist command.
13 - at level 0 = OFF the accelerator is disabled.
14 - moved the parameters for error E04 "motor blocked" to the config.h file.
15 - modified " fix overrun " for a quick stop of the motor when you stop pedaling.
16 - modified the manual reset of the residual battery percentage.
17 - fixed data saving problem in eeprom.
18 - fixed display battery residual percentage problem at startup.
19 - fixed problem displaying error E06 "over temperature".
20 - Stancecoke Java Parameter Configurator completed.
14 changes: 14 additions & 0 deletions compile_and_flash_20.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
@ECHO OFF

SET home_dir=%~dp0
SET release_folder=releases\20.1

CD src\controller
CALL compile_and_flash.bat || GOTO :error
CD %home_dir%
COPY .\src\controller\main.ihx %release_folder%\TSDZ2-mb.20beta1.B-PROGRAM.hex

ECHO:
EXIT /b %errorlevel%

@ECHO ON
15 changes: 0 additions & 15 deletions experimental settings/20200204-193325MEZ.ini

This file was deleted.

120 changes: 120 additions & 0 deletions experimental settings/20200430-103034CEST.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
true
false
false
25
false
20
67
160
500
2
30
20
0
15
500
500
10
196
29
100
100
4.35
4.05
3.95
3.70
3.45
3.25
3.85
3.70
3.55
3.40
3.25
2.90
2280
45
true
true
false
true
false
false
true
true
true
false
false
0
true
false
false
false
1
6
7
true
500
25
false
false
47
176
65
80
false
false
true
false
true
false
false
50
true
30
true
false
50
50
50
250
250
50
1
2
5
4
8
0
70
120
210
300
70
100
130
160
70
100
130
160
6
9
12
15
30
40
50
60
6
false
60
15
18
21
24
false
10
0
3
true
false
Binary file removed manuals/EN-Configuration-guide-TSDZ2-mb.20beta1.pdf
Binary file not shown.
Binary file not shown.
Binary file removed manuals/EN-Configurator -TSDZ2-mb.20beta1.A.pdf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
115 changes: 110 additions & 5 deletions proven settings/Default_Settings.ini
Original file line number Diff line number Diff line change
@@ -1,15 +1,120 @@
true
false
false
25
false
false
true
20
67
25
17
630
160
500
2
30
20
0
15
500
500
10
196
29
100
100
4.35
4.05
3.95
3.70
3.45
3.25
3.85
3.70
3.55
3.40
3.25
2.90
2280
45
true
true
false
true
false
false
true
true
true
false
false
0
true
false
false
false
1
6
7
true
500
25
false
false
47
176
65
80
false
false
true
false
true
false
false
50
true
30
true
false
50
50
50
250
250
50
1
2
5
4
8
0
70
120
210
300
70
100
130
160
70
100
130
160
6
9
12
15
30
40
50
60
6
false
60
15
18
21
24
false
10
0
3
true
false
4 changes: 4 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* from an idea of marcoq (Jobike forum)
* Author: mbrusa
* Version mb.20beta1.A
* Version mb.20beta1.B
* Completed Java Parameter Configurator.

Warning
Before compiling, flashing and using the firmaware:
Expand All @@ -19,6 +21,8 @@

To compile use compile_20.bat (SDCC_Compiler required, install in C:)
To flash use program_20.bat (ST_Visual_Programmer required, install in C:)
 To use JavaConfigurator.jar (Java Runtime Environment required)


Attenzione
  Prima di compilare, programmare e utilizzare il firmaware:
Expand Down
32 changes: 32 additions & 0 deletions readmeJava.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
========================
BUILD OUTPUT DESCRIPTION
========================

When you build an Java application project that has a main class, the IDE
automatically copies all of the JAR
files on the projects classpath to your projects dist/lib folder. The IDE
also adds each of the JAR files to the Class-Path element in the application
JAR files manifest file (MANIFEST.MF).

To run the project from the command line, go to the dist folder and
type the following:

java -jar "JavaConfigurator.jar"

To distribute this project, zip up the dist folder (including the lib folder)
and distribute the ZIP file.

Notes:

* If two JAR files on the project classpath have the same name, only the first
JAR file is copied to the lib folder.
* Only JAR files are copied to the lib folder.
If the classpath contains other types of files or folders, these files (folders)
are not copied.
* If a library on the projects classpath also has a Class-Path element
specified in the manifest,the content of the Class-Path element has to be on
the projects runtime path.
* To set a main class in a standard Java project, right-click the project node
in the Projects window and choose Properties. Then click Run and enter the
class name in the Main Class field. Alternatively, you can manually type the
class name in the manifest Main-Class element.
33 changes: 0 additions & 33 deletions releases/20.1/TSDZ2-mb.20beta1.A-DATA.hex

This file was deleted.

10 changes: 0 additions & 10 deletions releases/20.1/TSDZ2-mb.20beta1.A-OPTION.hex

This file was deleted.

Loading

0 comments on commit fed1383

Please sign in to comment.