view wiki/Make Firmware File.md @ 952:33e24b77cc6c Evo_2_23 tip

Bugfix ppo2 high/low check in OC mode: The fallback option which is used in CC mode was applied to the OC mode as well. As result the check could be deactivated depending on the fallback state, even if a OC dive is performed. now the check will always be performed if the dive mode is OC. Added vibration warning: The internal buzzer of the GPIO_V2 may now be used as additional warning notificator. It can be activated using the check button in the customer view menu. The vibration will be active while the warning message is displayed in the dive window. In case the diver is in the menu then the warning will be active for a shorter duration.
author Ideenmodellierer
date Sun, 29 Dec 2024 18:33:02 +0100
parents 0e7c16dd774d
children
line wrap: on
line source

# How to Make an Uploadable Firmware File for the OSTC4 #

Generated BIN files from the SMT32 Workbench need modification in order to be installed via the OSTC Companion onto the OSTC4. 

## Build Command Line Tools ##

These can be found in /ostc4pack (For Windows, CPP sources available)

## Run the Tools Manually ##

1. Copy generated BIN files (From the Release or debug directory) into /ostc4pack. Or: Modify .bat files to point to your Release or debug directory.
2. run step1_create_OSTC_RTE_upload.bat and/or step1_create_OSTC4_firmware_upload_bin.bat (Depending on which part you made changes)
3. run step2_create_OSTC4update_bin.bat to create final OSTC4update_xxxxxx.bin, with xxxxxx being the current date in YYMMDD format. This will add important checksums required for the OSTC4's bootloader to accept the file.

## Upload this file with the OSTC Companion software to the OSTC4 ##

See http://forum.heinrichsweikamp.com/read.php?7,19186 on how to get and use the "OSTC companion"