2024-08-21 01:26 AM
I have a software update project and I have two different codes. I want to combine the hex files of these two codes into a single file and finally lock the processor with the help of Option bytes. How can I do this?
2024-08-21 02:39 AM
Hello,
Refer to this thread and see if it can answer your question:
2024-08-21 02:46 AM
I am currently using STM32Cube IDE. I'm not sure if it will work the same as KEil. Additionally, the file does not download from the link.
2024-08-21 02:50 AM
srec_cat.exe is not related to keil.
Refer to its documentation: https://srecord.sourceforge.net/man/man1/srec_cat.1.html
2024-08-21 03:27 AM
Google does not find the site safe. I removed all firewalls but it still refuses to download. There was another way to download it. Any chance of sharing via email or github?
2024-08-21 03:35 AM
The project is a high-volume project and we need to speed up the coding stages in mass production, so your support is very important to us.
2024-08-21 04:09 AM - edited 2024-08-21 04:09 AM
Basically this is how the command works: srec_cat.exe FIRST_HEX.hex -Intel SECOND_HEX.hex -Intel -o OUTPUT_HEX.hex -Intel
You need to install SRecord utility (in the attachement) and follow the same procedure provided by GHolc.1 in https://community.st.com/t5/stm32-mcus-boards-and-hardware/production-flash-tool-for-dual-core-stm32h745/m-p/640740 to create .bat file and call if in Post-Build as shown here:
I didn't test the procedure. If It doesn't work, please contact your local FAE as you have a high-volume project.