Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


bitfield insert instruction contains "invalid" in .lst file

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?

Thanks!

 

Newest Forum Posts

  1. reservation car service Seattle by Jamesprede, 10:06
  2. Last day: drone bonus by Danielrug, 2025-04-19 16:55
  3. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  4. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  5. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  6. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  7. Insightful Perspectives on This Subject by davidsycle, 2025-03-04 05:45
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  10. Build a project in "release" mode by tang, 2025-02-20 10:36

Last-Modified Blogs