Hex, bin and ELF Files
Hello community members,
I’m a newcomer to the STM32 embedded world and am having some trouble trying to understand the real basics.I’ve spent years working on the PIC microcontrollers but do not seem to grasp the basics of this change.
I’ve installed System Workbench due to the unrestricted use. I believe the compiler is the ARM GNU. I have installed the STM32CubeL4 package which has a folder full of examples and demos.
Issue 1: If I browse that using my Windows File Explorer is see an icon for a SW4 project file. Out of interest at this point, browsing the same project seems to find other SW4 projects and SW4 CProjects - does anyone know why there are so many?
If I click on the top root project the project opens in SW4.
Issue 2: There seems to be many folders and some projects have HEX files, some BIN files and some ELF files. I’m not quite sure which to utilise to send to the ST-LINK program.
Issue 3: Sometimes in these projects I think I need to compile them first however there are also projects in the Cube folder where the BUILD button is greyed out.
I can drag the HEX and BIN files to the ST-LINK program.
I would be really grateful for any snippets of information that explain these basics to be (in simple terms as I’m quite old ! ) or good online references.
thanks you for reading,
regards,
Rod