Skip to content

Commit e075569

Browse files
danieldegrassemmahadevan108
authored andcommitted
boards: nxp: add documentation for SEGGER SystemView support with ECC
SOCs using ECC require the SEGGER RTT control block address to be provided to the tooling, as the SEGGER tools will not scan the memory range of ECC ram. Add documentation making this clear to boards with these SOCs. Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
1 parent 99b7080 commit e075569

File tree

5 files changed

+41
-0
lines changed

5 files changed

+41
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
:orphan:
2+
3+
.. segger-ecc-systemview
4+
5+
Using Segger SystemView and RTT
6+
-------------------------------
7+
8+
Note that when using SEGGER SystemView or RTT with this SOC, the RTT control
9+
block address must be set manually within SystemView or the RTT Viewer. The
10+
address provided to the tool should be the location of the ``_SEGGER_RTT``
11+
symbol, which can be found using a debugger or by examining the ``zephyr.map``
12+
file output by the linker.
13+
14+
The RTT control block address must be provided manually because this SOC
15+
supports ECC RAM. If the SEGGER tooling searches the ECC RAM space for the
16+
control block a fault will occur, provided that ECC is enabled and the RAM
17+
segment being searched has not been initialized to a known value.

boards/nxp/frdm_mcxa156/doc/index.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,12 @@ should see the following message in the terminal:
175175
*** Booting Zephyr OS build v3.6.0-4478-ge6c3a42f5f52 ***
176176
Hello World! frdm_mcxa156/mcxa156
177177
178+
Troubleshooting
179+
===============
180+
181+
.. include:: ../../common/segger-ecc-systemview.rst
182+
:start-after: segger-ecc-systemview
183+
178184
.. _MCX-A156 SoC Website:
179185
https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/mcx-arm-cortex-m/mcx-a-series-microcontrollers/mcx-a13x-14x-15x-mcus-with-arm-cortex-m33-scalable-device-options-low-power-and-intelligent-peripherals:MCX-A13X-A14X-A15X
180186

boards/nxp/frdm_mcxn236/doc/index.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,12 @@ should see the following message in the terminal:
197197
*** Booting Zephyr OS build v3.6.0-4478-ge6c3a42f5f52 ***
198198
Hello World! frdm_mcxn236/mcxn236
199199
200+
Troubleshooting
201+
===============
202+
203+
.. include:: ../../common/segger-ecc-systemview.rst
204+
:start-after: segger-ecc-systemview
205+
200206
.. _MCX-N236 SoC Website:
201207
https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/mcx-arm-cortex-m/mcx-n-series-microcontrollers/mcx-n23x-highly-integrated-mcus-with-on-chip-accelerators-intelligent-peripherals-and-advanced-security:MCX-N23X
202208

boards/nxp/frdm_mcxn947/doc/index.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,12 @@ should see the following message in the terminal:
257257
*** Booting Zephyr OS build v3.6.0-479-g91faa20c6741 ***
258258
Hello World! frdm_mcxn947/mcxn947/cpu0
259259
260+
Troubleshooting
261+
===============
262+
263+
.. include:: ../../common/segger-ecc-systemview.rst
264+
:start-after: segger-ecc-systemview
265+
260266
.. _MCX-N947 SoC Website:
261267
https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/mcx-arm-cortex-m/mcx-n-series-microcontrollers/mcx-n94x-54x-highly-integrated-multicore-mcus-with-on-chip-accelerators-intelligent-peripherals-and-advanced-security:MCX-N94X-N54X
262268

boards/nxp/frdm_mcxw71/doc/index.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,12 @@ For more details:
192192
.. _blhost Website:
193193
https://www.nxp.com/search?keyword=blhost&start=0
194194

195+
Troubleshooting
196+
===============
197+
198+
.. include:: ../../common/segger-ecc-systemview.rst
199+
:start-after: segger-ecc-systemview
200+
195201
References
196202
**********
197203

0 commit comments

Comments
 (0)