Mercurial > public > ostc4
annotate Documentations/dump-rte.cfg @ 475:4b000e2386c2 Improve_Button_Sleep
Changed default values:
Invalid pressure was signalled using the float 100.0 causing the OSTC to enter dive mode if for some I2C communication was disturbed during startup.
The default value for button responsitivness was set to 85% without considering the needed HWOS transformation calculation. Applying that the value for 85% is 51
PowerOnReset is state is now identified using the same functionality as already introduced for the battery charge handling.
Initialization of pressure sensor in case of I2C problems only if the initialization was not successfull before:
The pressure sensor is reset via a I2C commend in case of a I2C error. A reset might be helpfull in case of a "hanging" ADC operation but that would not be indicated by a I2C problem => resetting the sensor in case of a I2C problem might cause (small) change of pressure value
author | ideenmodellierer |
---|---|
date | Tue, 12 May 2020 22:52:05 +0200 |
parents | 01cc5959f199 |
children |
rev | line source |
---|---|
34 | 1 #! openocd -f |
2 # Define the prob used: | |
3 source [find interface/stlink-v2.cfg] | |
4 set WORKAREASIZE 0x8000 | |
5 transport select hla_swd | |
6 | |
7 # Reset options | |
8 set ENABLE_LOW_POWER 1 | |
9 set STOP_WATCHDOG 1 | |
10 reset_config srst_only srst_nogate connect_assert_srst | |
11 | |
12 # Seelct the right chip | |
13 set CHIPNAME stm32f411RETx | |
14 set CONNECT_UNDER_RESET 1 | |
15 source [find target/stm32f4x.cfg] | |
16 | |
17 # Allow to continue execution after a connection: | |
18 init_reset run | |
19 | |
20 #puts "Flash banks:" | |
21 #flash banks | |
22 | |
23 #puts "Reading..." | |
24 #flash dump_image CPU2-RTE-dump.hex 0x00000000 0x8000 | |
25 | |
26 #puts "Done." | |
27 #exit |