IAR and Engineering Mode
I have a STM32MP157c-DK2, programming on Windows-10.
What works:
- Build Yocto, adapt it, flash the image to the SD-Card.
- Use STM32CubeIDE to program and debug code on CM4
My goal is to setup a proper workflow of the project, where I can integrate our standard build environment, using cmake, build scripts, IAR (not yet sure I want/need that).
Couple of issues I faces:
Setup and generate code for an empty project for the DK2 with CubeMX for IAR. Running the example code it tells me 'no MCU device found' (Using CN11 'ST-Link').
a) Do I miss some configurations?
b) Is it engineering or production mode?
c) Do I need to set the boot pins? According en.DM00591354.pdf there is no engineering mode possible with the boot pins. Is this correct? If I use Bootpins = 0x100 it behaves same way.
d) Are there reasons not to use IAR (except costs)?
Alternative would be, to work with STM32CubeIDE. But I not yet fully happy with it (still a bit buggy). And it will be difficult to integrate our continous integration build environment.
