-
Notifications
You must be signed in to change notification settings - Fork 0
/
revision.txt
379 lines (255 loc) · 12 KB
/
revision.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
#####################################################################################
Revision history
#####################################################################################
================================================================================
CRPS GUI Ver 1.12 update
================================================================================
GitHub
https://github.com/RPC-MaxVision/CRPS-gui/raw/main/release/crpsgui.exe
requires:
CRPS GUI Ver 1.12 requires firmware build 569
https://github.com/RPC-MaxVision/CRPS/raw/main/CRPS41-bootloader-167-production-569.zip
Performance
Refactor
restructured several functions for better maintainability
Fixed
Added
automated app versioning during build process
ToDo
*) detect outdated firmware and ask to update. include small update button
*) Allow gui to control the bootloader 'safe' commands
*) add app info to display dependency versions and memory usage
have button to show up-to-date memory usage
dont send anything unless gui owns the port and in correct mode [firmware, bootloader]
add timeouts for
bootload program failure, no file written
timeout expries. .. can not talk to port
*) get charger ramp voltage working
save user scripts to JSON file
load user scripts from JSON file
*) edit firmware to accept charge ramp voltage commands
*) added eeprom user error detection
fields can only accept [0-9, a-F, A-F]
on blur, only the first 2 charactors are accepted
*) in bootloader mode,
show MCU signature, block size
bootloader version
firmware zize
bootloader size
ram size
================================================================================
CRPS GUI Ver 1.11 update
================================================================================
GitHub
https://github.com/RPC-MaxVision/CRPS-gui/raw/main/release/crpsgui.exe
requires:
CRPS GUI Ver 1.11 requires firmware build 569
https://github.com/RPC-MaxVision/CRPS/raw/main/CRPS41-bootloader-167-production-569.zip
Performance
Refactor
restructured several functions for better maintainability
Fixed
Front panel I/O radio check boxes to be more clearer
Problem not programming firmware only on initial launch.
Added
Add relaunch button to gui
add System State to detect Power-up from battery and invalid power-up
these would probably never be seen but included to be complete
ToDo
*) detect outdated firmware and ask to update. include small update button
*) look for a way to automate app versioning
*) Allow gui to control the bootloader 'safe' commands
dont send anything unless gui owns the port and in correct mode [firmware, bootloader]
add timeouts for
bootload program failure, no file written
timeout expries. .. can not talk to port
*) get charger ramp voltage working
save user scripts to JSON file
load user scripts from JSON file
*) edit firmware to accept charge ramp voltage commands
*) added eeprom user error detection
fields can only accept [0-9, a-F, A-F]
on blur, only the first 2 charactors are accepted
*) in bootloader mode,
show MCU signature, block size
bootloader version
firmware zize
bootloader size
ram size
================================================================================
CRPS GUI Ver 1.10
================================================================================
GitHub
https://github.com/RPC-MaxVision/CRPS-gui/raw/main/release/crpsgui.exe
requires:
CRPS GUI Ver 1.10 requires firmware build 569
https://github.com/RPC-MaxVision/CRPS/raw/main/CRPS41-bootloader-167-production-569.zip
Performance
Refactor
restructured several functions for better maintainability
Fixed
bootload button to to not gives errors when programming firmware
mouse over effect for bootload buttons
Added
an 'abort' button (big red 'X') to abort from bootloader mode and relaunch gui
an icon to install EXE file
ToDo
Add relaunch button to gui
dont send anything unless gui owns the port and in correct mode [firmware, bootloader]
add timeouts for
bootload program failure, no file written
timeout expries. .. can not talk to port
*) get charger ramp voltage working
save user scripts to JSON file
load user scripts from JSON file
*) edit firmware to accept charge ramp voltage commands
*) added eeprom user error detection
fields can only accept [0-9, a-F, A-F]
on blur, only the first 2 charactors are accepted
*) in bootloader mode,
show MCU signature, block size
bootloader version
firmware zize
bootloader size
ram size
================================================================================
CRPS GUI Ver 1.9
================================================================================
Github
https://github.com/RPC-MaxVision/CRPS/raw/main/CRPS41-bootloader-167-production-569.zip
requires:
CRPS GUI Ver 1.9 requires firmware build 569
Performance
Refactor
restructured several functions for better maintainability
added
auto detect Bootload mode
program with latest firmware
option for user to browse to firmware
auto detect when programming has finished
remembers last COM port and auto connects
ToDo
*) get charger ramp voltage working
save user scripts to JSON file
load user scripts from JSON file
*) edit firmware to accept charge ramp voltage commands
*) added eeprom user error detection
fields can only accept [0-9, a-F, A-F]
on blur, only the first 2 charactors are accepted
*) in bootloader mode,
show MCU signature, block size
bootloader version
firmware zize
bootloader size
ram size
================================================================================
CRPS GUI Ver 1.8
================================================================================
CRPS Development build 569
Github
https://github.com/RPC-MaxVision/CRPS/raw/main/CRPS41-bootloader-167-production-569.zip
requires:
CRPS GUI Ver 1.8 requires firmware build 569
Performance
*) completely automated the way the project is compiled, built and archived.
Doing it manually took about 10 minutes. now takes less than a minute.
*) refactored a structural problem in the way html modules are loaded.
The more code added to project the slower it loads. Occasionally it
will hang and not load. Completely rewrote the code that loads modules.
Now it loads in 46ms instead of 3.6 secs and smaller code.
added
*) Ability to control front panel leds, beeper and GPIO control.
now the buttons in "system state" do their intended purpose.
*) A new firmware command.
set gpio "port" <bit> <state>
where:
port is a single character representing port name
'a','b','c','d','e','f','h','j','k','r','q'
bit is the I/O bit
7, 6, 5, 4, 3, 2, 1, 0
state is the Boolean value for the I/O bit
1, 0
Example: sets PORTD bit 5 to true, turns on FP green led
set gpio d 5 1
================================================================================
CRPS GUI Ver 1.7
================================================================================
Github
https://github.com/RPC-MaxVision/CRPS/raw/main/CRPS41-bootloader-167-production-566.zip
requires:
CRPS firmware build 566
added Decoded charger status bits 7-6-5 ( PG, OTP, OTW)
added eeprom erase all
changed firmware to boot into debug/chatty mode when eeprom is empty
================================================================================
CRPS GUI Ver 1.6
================================================================================
Github
https://github.com/RPC-MaxVision/CRPS/raw/main/CRPS41-bootloader-167-production-565.zip
requires:
CRPS firmware build 565
feature:
added send manual command to gui
added charger status bit 4 (CV / CC)
add indicator on main charger panel
added new firmware command to set voltage
set voltage <ctrl> a|b <float voltage>
added to gui 'set voltage' to charger utilities
added new firmware command to read all charger registers
get chargerreg <ctrl> a|b
added read charger registers to charger utilities
================================================================================
CRPS GUI Ver 1.5
================================================================================
requires:
CRPS firmware build 559
feature:
added code to firmware
if (PSON.ChangesState()) { Charger.SetCurrent(); }
to make production mode set charger current based on system on/off
================================================================================
CRPS GUI Ver 1.4
================================================================================
requires:
CRPS firmware build 558
feature:
added. auto refresh feature. updates every 1 second.
can't really have any faster update rate without getting out of
sync with the hardware
improved. timeout if hardware fails to respond within 6 seconds
added. bootloader mode / CRPS firmware mode auto-detect.
requires firmware build 558
added. two new buttons under 'Diagnostic mode'
'CRPS mode' and 'Bootload mode'. Clicking on them puts the processor
in the respective mode.
added. outdated firmware detection.
it now reports the required firmware and build number.
It will still be compatible with older firmware but will be feature limited.
added auto detect of windows system font and the ability to auto scale.
Press CTRL and '+' or CTRL and '-' increases or decreases font scaleing.
Pressing CTRL and '0' restores normal scaling.
No longer need to adjust scaling using windows display settings.
It will remember the scale factor the next time app is opened.
within windows. Tested on windows 1920 resolution with display scaled to
100%, 150%, 175%. main gui and eeprom utility still look great.
fix:
fixed bug in CRPS gui header causing display not to format properly
for 'port error' and 'port message' sections
fixed display of bootloader revision and firmware revision titles not
displaying
fixed displaying of eeprom section when display is enlarged.
================================================================================
CRPS GUI Ver 1.3
================================================================================
reqires:
CRPS firmware build 555
feature:
added reading eeprom, editing eeprom and saving entire eeprom.
added version number to GUI title bar
added in error detection and recovery should the MPS processor not
response for 6 seconds.
fix:
improved charger info section. voltage, status, expander data is
now easier to see.
improved gui loading response under the hood. each section and
sub sections are now modular. should be easier to maintain.