STM32CubeProgrammer (Win64) has problem to read .HEX file with multiple dot
Due to Company policy, one must use Windows. (board is seen by Windows)
Due to ARM, development is Linux based.
Therefore: WSL / WSL2
- Please don't tell me to run Linux tools inside WSL2, many Linux GUI tools crash
- Please don't tell me to export Win USB devices into WSL2, the driver doesn't support all protocols yet.
The developing environment are in WSL2. I have output files
\\wsl.localhost\Ubuntu\home\user\stm32h757i\build\
|-- cm4/ # cm4 files
`-- cm7/ # cm7 files
stm32h757i_eval.cm4.bin / stm32h757i_eval.cm7.bin <-- No problem to program those files
stm32h757i_eval.cm4.hex / stm32h757i_eval.cm7.hex <-- BAD00001 not aligned error
stm32h757i_eval_cm4.hex / stm32h757i_eval_cm7.hex <-- No problem to program those files.
Note
- The contain in the .HEX file has no problem
- It seems the STM32CubeProgrammer has problem to handle multiple dot '.' .hex file
- Symbolic won't work (STM32CubeProgrammer won't recognize it)
Workaround
- Copy stm32h757i_eval.cm4.hex to stm32h757i_eval_cm4.hex get it to work.
