~aleteoryx/muditaos

ref: 8883bf2df5dc6c01103e5c638f14ab9c7a9ca38a muditaos/module-bsp d---------
8883bf2d — Dawid Wojtas 2 years ago
[BH-1717] Fix no clock update

The secure RTC can lock and the clock is not updated.
To prevent this situation we reset LP registers (except for
timestamps and alarms) and clear the LVD flag. Then we
enable again LP SRTC.
2643d9a9 — Lefucjusz 2 years ago
[MOS-997] Fix failing sync with Mudita Center

Fix of the issue that sync with Mudita Center
would fail often after changes introduced in
CP-1968.
90b02520 — Dawid Wojtas 2 years ago
[BH-1708] Fix buttons behavior

When the button is pressed/released we get an interrupt
which falls or rises edge. We read the gpio state a bit
later so in case of debouncing we can register
the wrong pin state.
After the debounce interval the state is stable.
3ba86634 — Dawid Wojtas 2 years ago
[BH-1718] Add extra logs to the RTC module

Add extra logs when the RTC timeout error occurs.
In that, we can find reason in registers of what happened.
2620191e — Lefucjusz 2 years ago
[MOS-238] Use on-chip hardware TRNG as an entropy source

Use hardware TRNG integrated into RT1051 MCU
as an entropy source for builds complied
for RT1051.
783ebcbb — Lefucjusz 2 years ago
[MOS-183] Fix RT1051 debug build

Fix of multiple issues that resulted
in debug build failing.
3193f6fa — Lefucjusz 2 years ago
[MOS-230] Print last instruction address before RTWDOG reset

Added mechanism that stores address of last
executed instruction before RTWDOG timeout
to enable some basic debugging in such cases,
as such resets do not create crashdumps and
leave no information in logs.
da838b8c — Lefucjusz 2 years ago
[BH-1706] Fix inaccessible MTP on Harmony

Fix of the issue that Harmony's MTP
was constantly locked after MOS-686
fix, as the mechanics of unlocking
was not handled for Harmony at all.
1b03981b — Maciej-Mudita 2 years ago
[BH-1701] Add extended user heap statistics for debugging

Added extended statistics to help track potential memory leaks:
* used user heap size per task
* number of successful allocations
* number of successful frees
92d9902b — Lefucjusz 2 years ago
[BH-1702] Fix RTWDOG main DCDC reset

Fix of the issue that RTWDOG performed
only CPU reset in case of timeout due
to IRQ misconfiguration resulting in
RTWDOG handler not being called.
e1d3862f — Lefucjusz 2 years ago
[BH-1673] Fixes for Harmony random resets

Next part of Harmony random resets fixes:
* added RC OSC startup delay as in newest lpm.c;
* changed order of clock source, oscillator and
LDO switching;
* removed connecting internal DCDC load resistor,
as it is only required to speed up converter
startup after it was turned off completely;
* changed DCDC operation mode to continuous
conduction;
* set low VDD_SOC_IN voltage back to 950mV as
suggested in RM.
* added switching DCDC converter mode to
discontinuous conduction for two lowest CPU
clock frequencies, as using CCM mode resulted
in very high current consumption that would
shorten Harmony's life on battery
significantly.
ff18f17e — Dawid Wojtas 2 years ago
[BH-1700] Add date and time to logs at the startup

Save date and time at the startup of the system for analysis purposes.
3e1170da — Lefucjusz 2 years ago
[BH-1673] Harmony random resets fixes

* Switching VDD_SOC_IN only after PLL2 is turned off.
* Weak LDO stabilization delay.
* Removed switching to 1.275V before frequency change.
* Cleanups in LDO switching.
* Removed switching PeriphClk2Div for fCPU <= 24MHz,
using AhbDiv instead.
* Removed log from _exit that caused logger mutex deadlock
c96dc7dc — rrandomsky 2 years ago
[MOS-686] Fixed MTP availability only after phone unlocked

Fixed file access via MTP even when phone is not unlocked.
Now access is granted when the phone is unlocked by the user entering
a passcode. If the phone is not passcode protected (passcode is nor set)
then access to the files is always possible via MTP.
3c2728e5 — Lefucjusz 2 years ago
[BH-1695] Fix Harmony crash on startup

Fix of the bug in PWM driver that
resulted in accessing array out of
bounds, what caused occasional
system crash on startup.
205fedb9 — Mateusz Piesta 2 years ago
[BH-1595] USB reset procedure

* Fixed incorrect reset procedure
* Minor refactor
be8521bd — Lefucjusz 2 years ago
[BH-1694] Increase CPU core voltage from 900mV to 975mV

Previous voltage setting was lower than the one
suggested in RT1051 RM and would lead to CPU
instability in certain conditions.
3a5f668c — Lefucjusz 2 years ago
[BH-1583] Fix SNVS LP lockup after debugging

* Fix of the issue that manifested after
running MuditaOS on Harmony via JLink,
which resulted in OS freezing when
trying to set time in normally booted
(via the bootloader) device.
* Minor RTC code cleanup.
* Partial T6 JLink script cleanup.
558dd345 — Dawid Wojtas 2 years ago
[BH-1689] Turn off charging for CDP and SPD

Due to high current consumption the device
will be charging only for DCP mode and if the timeout
will occur.
b6235923 — Mateusz Piesta 2 years ago
[BH-1595] USB charger detection issues

* Fixed issues with USB charging port detection
* Fixed memory leak in usb_stack/OS integration layer
* Fixed incorrect handling of software timer
* Minor cleaning/refactor.

[BH-1595] Turned off USB/PC charging

Charging enabled only for a dedicated charger. Users won't be able
to charger while connected to the PC.
Next