STM32H745ZI-Q cube support
Hi,
Recently I got nucleo board with mentioned MCU. I've had numerous troubles with generating properly project and finding any sources how to flash the device so few things:
- Is CubeMX generating code properly for dual core for any toolchain? I've tried Makefile(preferable), SW4STM32 and MDK-ARM and my experiences are as follow:
- Makefile - some files are added twice to C_SOURCES, so one has to generate project and manually edit the Makefile in order to get rid of mutiple definition linker errors.
- SW4STM32(regarding examples from cube H7 repo) - no target for flashing at all from the IDE perpective, at least builds pass and can populate flash using st-link utility
- SW4STM32(generated cube project) - suppose code is not generated properly (refer point 2. below).
- MDK-ARM - flashing generated code with blinky funtionality results in nothing but 'error 129: MapMem - map size truncated to 128MB'
- GPIO labels are not generated by the cube... seems like gpios are also not initialized at the generated code(gpio init structures are not populated, just enabling gpio clks). Didn't try for other peripherals since I was focused on flashing any working FW build from generated project.
I could really take tamplates from the repo and modify them for my needs, but still they have different structure of the code and I really got used to one generated by the Cube (and tbh it is this tool's purpose). In the readmes it is mentioned that the code was generated using it but really doubt it.
Please let me know if there are any solutions to get Cube working properly. Hope issues rised here could be helpfull for Cube dev team.
