2020-03-20 03:50 AM
I have a STM32MP157c-DK2, programming on Windows-10.
What works:
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.
Solved! Go to Solution.
2020-03-26 01:16 PM
I did not know about the 'attach to running target'. Using the ST Example ADC_SingleConversion, I could execute all the described steps. The own code does not yet work so well, but I'm confident to find the issue.
Thanks again a lot for this support!
Led