This website requires JavaScript.
Explore
Help
Sign In
Firmware
/
hpsg5-controller_v2-stm32g4
Watch
1
Star
1
Fork
0
You've already forked hpsg5-controller_v2-stm32g4
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
5e20601eebcd130e763bfdea892ddacaeafeed31
hpsg5-controller_v2-stm32g4
/
Core
/
Src
History
LucianoDev
5e20601eeb
Fixed the closed loop oscillation, PI integrator was to hard, also wrong interpolation algo. Its being tested in car, supposedly should be validated and put into release. 504012
2026-04-27 22:03:00 +02:00
..
ee_manager.c
Dfi now works and all vpdiag compatible, also cleaned up a bit CMDs
2026-03-31 10:15:27 +02:00
ee.c
Initial port
2026-03-30 18:36:35 +02:00
fuel_map.c
Fixed the closed loop oscillation, PI integrator was to hard, also wrong interpolation algo. Its being tested in car, supposedly should be validated and put into release. 504012
2026-04-27 22:03:00 +02:00
injection.c
Changed pump ident definition into id.h, kline data and fuelmaps should build from there. Updated write ram exception to always print ack, for less errors in custom software. Added read ram data for 815 mid verification test command
2026-04-15 17:54:42 +02:00
main.c
Fixed the closed loop oscillation, PI integrator was to hard, also wrong interpolation algo. Its being tested in car, supposedly should be validated and put into release. 504012
2026-04-27 22:03:00 +02:00
pre_injection.c
Initial port
2026-03-30 18:36:35 +02:00
stm32g4xx_hal_msp.c
Full kline refactor, passes 815 verification initialization
2026-04-10 12:19:58 +02:00
stm32g4xx_it.c
Whole advance control system overhaul. Target angle is now calculated entirely like OEM firmware. Calibration data is fully parsed from a rom dump and a proper file is created with a python extraction tool. Open loop is tested and generates same values as original. In car PID testing has not been done.Voltage compensation is not active as we dont have that parameter's acquisition. 0130 used as flag couldnt be properly decompiled, but logging the ram shows its never blocking the closed loop state. Bench testing is required for verification. Some parameter called setpoint_offset hasnt yet been decompiled, and extractin is through RAM reading. Also modified can_db for T06301 cfgs to include proper FBNW acquisiton
2026-04-17 23:32:40 +02:00
sync_pulse.c
Changed pump ident definition into id.h, kline data and fuelmaps should build from there. Updated write ram exception to always print ack, for less errors in custom software. Added read ram data for 815 mid verification test command
2026-04-15 17:54:42 +02:00
syscalls.c
Initial port
2026-03-30 18:36:35 +02:00
sysmem.c
Initial port
2026-03-30 18:36:35 +02:00
system_stm32g4xx.c
Initial port
2026-03-30 18:36:35 +02:00
tein_detection.c
Initial port
2026-03-30 18:36:35 +02:00
temperature.c
Initial port
2026-03-30 18:36:35 +02:00
timeouts.c
Whole advance control system overhaul. Target angle is now calculated entirely like OEM firmware. Calibration data is fully parsed from a rom dump and a proper file is created with a python extraction tool. Open loop is tested and generates same values as original. In car PID testing has not been done.Voltage compensation is not active as we dont have that parameter's acquisition. 0130 used as flag couldnt be properly decompiled, but logging the ram shows its never blocking the closed loop state. Bench testing is required for verification. Some parameter called setpoint_offset hasnt yet been decompiled, and extractin is through RAM reading. Also modified can_db for T06301 cfgs to include proper FBNW acquisiton
2026-04-17 23:32:40 +02:00
timing_manager.c
Initial port
2026-03-30 18:36:35 +02:00
toothed_wheel.c
Fixed the closed loop oscillation, PI integrator was to hard, also wrong interpolation algo. Its being tested in car, supposedly should be validated and put into release. 504012
2026-04-27 22:03:00 +02:00