Skip to content

boards: infineon: kit_pse84_ai: fix QSPI size in qspi_config.cfg#110587

Merged
nashif merged 1 commit into
zephyrproject-rtos:mainfrom
billwatersiii:infineon/kit-pse84-ai-qspi-size
Jun 9, 2026
Merged

boards: infineon: kit_pse84_ai: fix QSPI size in qspi_config.cfg#110587
nashif merged 1 commit into
zephyrproject-rtos:mainfrom
billwatersiii:infineon/kit-pse84-ai-qspi-size

Conversation

@billwatersiii

Copy link
Copy Markdown
Contributor

The board file support/qspi_config.cfg was copied from kit_pse84_eval without updating the SMIF bank size. kit_pse84_eval hosts an S25FS128S (16 MB / 0x1000000 bytes), while kit_pse84_ai hosts an S25HS512T (64 MB / 0x4000000 bytes) -- see the infineon,s25hs512t compatible and reg = <0x08000000 DT_SIZE_M(64)> in kit_pse84_ai_memory_map.dtsi.

Update the SMIF_BANKS entry so the cmsis_flash banks registered by cat1d's define_flash_banks (cat1d.cm33.smif1_ns @ 0x60000000 and cat1d.cm33.smif1_s @ 0x70000000 via the virtual mirror) cover the full 64 MB device. Without the fix, writes to QSPI offsets beyond 0x1000000 are rejected by OpenOCD as out-of-bank.

Verified on PSE846GPS2DBZC4A: after the update, flash banks reports the smif banks at size 0x04000000 and west flash programs adc_dt (61440 bytes) and the enable_cm55 signed image (49152 bytes) through PSE84_SMIF.FLM without errors.

Assisted-by: GitHub Copilot (Claude Opus 4.7)

The board file support/qspi_config.cfg was copied from kit_pse84_eval
without updating the SMIF bank size. kit_pse84_eval hosts an S25FS128S
(16 MB / 0x1000000 bytes), while kit_pse84_ai hosts an S25HS512T
(64 MB / 0x4000000 bytes) -- see the infineon,s25hs512t compatible and
reg = <0x08000000 DT_SIZE_M(64)> in kit_pse84_ai_memory_map.dtsi.

Update the SMIF_BANKS entry so the cmsis_flash banks registered by
cat1d's define_flash_banks (cat1d.cm33.smif1_ns @ 0x60000000 and
cat1d.cm33.smif1_s @ 0x70000000 via the virtual mirror) cover the full
64 MB device. Without the fix, writes to QSPI offsets beyond 0x1000000
are rejected by OpenOCD as out-of-bank.

Verified on PSE846GPS2DBZC4A: after the update, flash banks reports
the smif banks at size 0x04000000 and west flash programs adc_dt
(61440 bytes) and the enable_cm55 signed image (49152 bytes) through
PSE84_SMIF.FLM without errors.

Assisted-by: GitHub Copilot (Claude Opus 4.7)

Signed-off-by: Bill Waters <bill.waters@infineon.com>
@billwatersiii billwatersiii force-pushed the infineon/kit-pse84-ai-qspi-size branch from 4fa99ab to 7262118 Compare June 4, 2026 23:52
@sonarqubecloud

sonarqubecloud Bot commented Jun 4, 2026

Copy link
Copy Markdown

@nashif nashif merged commit a327e8b into zephyrproject-rtos:main Jun 9, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Boards/SoCs platform: Infineon Infineon Technologies AG size: XS A PR changing only a single line of code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants