Using SW4STM32 I’ve ported over a working application for the STM32F769 to a STM32H743 part as I’ve done before with several other projects with success. This is an ST AudioWeaver board support project.
This time the code appears to work except for certain operations. In tracking this down I have found the .lst file contains strange bit field insert instructions with key word “invalid” as below:
bfieq sp, sl, (invalid: 22:11)
there are about 20 instances of this in new project - and if I inspect .lst file for other target, there are none. I’ve spent hours searching for any similar issues and can not find anything.
The only changes to working STM32F769 project are that all the HAL files were replaced with the files for STM32H series, and the target was changed. The odd thing is that it “fundamentally” works except when trying to call the functions in AudioWeaver to load a schematic. It returns but does not load the schematic and audio processing continues - no hard fault or other indication...
Does anyone have any idea what the issue is and what can cause this? Why would the instruction contain invalid bitfield?