Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

System Workbench for STM32


Register definition in System Workbench disagrees with ST Reference Manual

Hello everyone,

I’m using STM32 System Workbench for an STM32F373CB chip, and I’ve noticed that the SDADCx_JDATAR register in the debugger does not match the definition in RM0313 (the reference manual for this chip). The debugger shows the JDATACH field as being bits 28:25, whereas in the reference manual it’s 27:24. The ST-provided header files also say 27:24, and the chip behaviour seems to match that, so I believe this is just a mistake in System Workbench or whatever data files it extracts that data from. As the STM32F37x chips are the only ones that include the SDADC hardware, this problem will not affect the vast majority of STM32 chips.

I’m not sure how to get the exact System Workbench version. Eclipse version is 4.6.3.

From this I have two questions:
- Are these values hard-coded in System Workbench, or does it extract the register positions from some header or datasheet provided by ST?
- If they’re hard-coded, how do I go about contacting the System Workbench developers to request a bugfix?

Thanks
Evan

France

Hi Evan,

This is the right place to contact System Workbench for STM32 development team :-)

The register definitions are provided by ST, in a standard SVD file, that is embedded in Sytem Workbench for STM32, in directory C:\Ac6\SystemWorkbench\plugins\fr.ac6.mcu.debug_2.1.2.201709081530\resources\cmsis\STMicroelectronics_CMSIS_SVD (if you installed in the default C:\Ac6 location).

I just checked and, indeed, the SVD file locates the SDADCx_JDATAR[JDATACH] field in bits 28..25; I will inform ST of the problem. If this is a problem for you you can correct the file in place waiting for an update.

Thanks for the heads up.

Bernard (Ac6)


Hi Bernard,

Thanks for the reply! I’ll make that modification just to avoid waiting.

I also noticed that when you right-click on one of the active I/O registers in the debugger it gives you the option to “desactivate” (probably should have been “deactivate”) - presumably just a spelling mistake there.

Cheers,
Evan


Hi Evan,

Thank you we have corrected this issue :-)
The correction will be available in the next version of System Workbench, in few days.

Best regards
Christelle


Hi Christelle,

Thanks very much for the reply. I’ll keep an eye out for the next version.

Cheers,
Evan