2023-01-06 17:10:33 -08:00
# HOWTO nDBANK
2021-05-10 16:11:56 -07:00
Some chips like STM32F767 are bringing nDBANK drama into our life.
2023-01-06 17:10:33 -08:00
## New way, Windows command line DFU scripts
2021-12-21 17:19:13 -08:00
2021-12-20 18:42:48 -08:00
We have Windows batch scripts in ``console\STM32_Programmer_CLI\bin`` folder
2021-12-20 18:39:28 -08:00
2021-12-20 18:43:56 -08:00
step 1) switch to DFU mode with button or rusefi_console.exe or TS "reboot to DFU"
2021-12-20 18:39:28 -08:00
step 2) invoke ``stm32-reset-nDBANK.bat``
step 3) ``stm32-full-erase.bat``
step 4) ``stm32-flash-dfu.bat``
2023-01-06 17:10:33 -08:00
## Old way - GUI application via DFU or SWD
2021-12-21 17:19:13 -08:00
2022-01-24 15:40:21 -08:00
TODO: try [https://github.com/danielinux/stm32f7-dualbank-tool ](https://github.com/danielinux/stm32f7-dualbank-tool )
2021-05-28 09:05:02 -07:00
2021-05-10 16:48:12 -07:00
At the moment we only know how to deal with it via Stm32CubeProgrammer
2021-05-10 16:48:05 -07:00
2021-05-10 16:47:27 -07:00
![x ](HOWTO/nDBANK/stm32prog-steps.png )
![x ](HOWTO/nDBANK/stm32prog-result.png )
2023-01-02 11:22:23 -08:00
[https://github.com/rusefi/rusefi_external_utils/ ](https://github.com/rusefi/rusefi_external_utils/ ) has a backup copy of en.stm32cubeprg-win64_v2-7-0.zip