Skip to content

Commit dd41a75

Browse files
committed
Code cleanup
- Update documentation - update schemaVersion
1 parent d560c80 commit dd41a75

4 files changed

Lines changed: 8 additions & 58 deletions

File tree

Keil.STM32N6xx_DFP.pdsc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<package schemaVersion="1.7.36" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="https://raw.githubusercontent.com/Open-CMSIS-Pack/Open-CMSIS-Pack-Spec/v1.7.36/schema/PACK.xsd">
2+
<package schemaVersion="1.7.36" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="https://raw.githubusercontent.com/Open-CMSIS-Pack/Open-CMSIS-Pack-Spec/v1.7.56/schema/PACK.xsd">
33
<vendor>Keil</vendor>
44
<name>STM32N6xx_DFP</name>
55
<description overview="Documents/OVERVIEW.md">STMicroelectronics STM32N6 Series Device Support</description>
@@ -40,7 +40,6 @@ High-performance STM32N6 MCUs with Arm Cortex-M55 core, MVE, MPU, cache, DSP, DP
4040
<compile define="STM32N657xx"/>
4141
<book name="https://www.st.com/resource/en/reference_manual/rm0486-stm32n647657xx-armbased-32bit-mcus-stmicroelectronics.pdf" title="STM32N647/657xx Reference Manual"/>
4242
<book name="https://www.st.com/resource/en/datasheet/stm32n657a0.pdf" title="STM32N6x5xx STM32N6x7xx Data Sheet"/>
43-
<feature type="NPU" n="ST Neural-ART Accelerator" m="288MACs"/>
4443

4544
<!-- BootROM copies the FSBL binary into the internal AXISRAM2 -->
4645
<memory name="FSBL_CODE_NS" access="rwx" start="0x24180400" size="0x0003FC00" alias="FSBL_CODE_S" />
@@ -112,7 +111,6 @@ High-performance STM32N6 MCUs with Arm Cortex-M55 core, MVE, MPU, cache, DSP, DP
112111
<compile define="STM32N647xx"/>
113112
<book name="https://www.st.com/resource/en/reference_manual/rm0486-stm32n647657xx-armbased-32bit-mcus-stmicroelectronics.pdf" title="STM32N647/657xx Reference Manual"/>
114113
<book name="https://www.st.com/resource/en/datasheet/stm32n657a0.pdf" title="STM32N6x5xx STM32N6x7xx Data Sheet"/>
115-
<feature type="NPU" n="ST Neural-ART Accelerator" m="288MACs"/>
116114

117115
<!-- BootROM copies the FSBL binary into the internal AXISRAM2 -->
118116
<memory name="FSBL_CODE_NS" access="rwx" start="0x24180400" size="0x0003FC00" default="1" init="0" startup="1" />
@@ -184,7 +182,6 @@ High-performance STM32N6 MCUs with Arm Cortex-M55 core, MVE, MPU, cache, DSP, DP
184182
<compile define="STM32N645xx"/>
185183
<book name="https://www.st.com/resource/en/reference_manual/rm0486-stm32n647657xx-armbased-32bit-mcus-stmicroelectronics.pdf" title="STM32N647/657xx Reference Manual"/>
186184
<book name="https://www.st.com/resource/en/datasheet/stm32n657a0.pdf" title="STM32N6x5xx STM32N6x7xx Data Sheet"/>
187-
<feature type="NPU" n="ST Neural-ART Accelerator" m="288MACs"/>
188185

189186
<!-- BootROM copies the FSBL binary into the internal AXISRAM2 -->
190187
<memory name="FSBL_CODE_NS" access="rwx" start="0x24180400" size="0x0003FC00" default="1" init="0" startup="1" />
@@ -254,7 +251,6 @@ High-performance STM32N6 MCUs with Arm Cortex-M55 core, MVE, MPU, cache, DSP, DP
254251
<compile define="STM32N655xx"/>
255252
<book name="https://www.st.com/resource/en/reference_manual/rm0486-stm32n647657xx-armbased-32bit-mcus-stmicroelectronics.pdf" title="STM32N647/657xx Reference Manual"/>
256253
<book name="https://www.st.com/resource/en/datasheet/stm32n657a0.pdf" title="STM32N6x5xx STM32N6x7xx Data Sheet"/>
257-
<feature type="NPU" n="ST Neural-ART Accelerator" m="288MACs"/>
258254

259255
<!-- BootROM copies the FSBL binary into the internal AXISRAM2 -->
260256
<memory name="FSBL_CODE_NS" access="rwx" start="0x24180400" size="0x0003FC00" default="1" init="0" startup="1" />

Templates/FSBL/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,14 +160,14 @@ Configure `target` in STM32CubeMX
160160
- **FLASH MODE:**
161161
- Set the boot mode configuration in **flash mode** and reset board
162162
> To flash an unprogrammed (virgin) `target`, ensure that the board is in development mode.
163-
- Open .vscode\launch.json file and modify configuration named "STLink@pyOCD (launch)" under **initCommands** and **customResetCommands** commands:
164-
- Modify the command name from **tbreak main** to **thbreak main**
163+
- Open `.vscode\launch.json` file and modify configuration named "STLink@pyOCD (launch)" under **initCommands** and **customResetCommands**:
164+
- Modify the command from **tbreak main** to **thbreak main**
165165
- Click **Load & Debug application** button and now program should wait in main function to start debug
166166
- With Continue (F5) button, LED should blink in flash mode
167167

168168
- **DEVELOPMENT MODE:**
169169
- Set the boot mode configuration in **development mode** and reset board
170-
- Open .vscode\launch.json file and modify configuration named "STLink@pyOCD (launch)"
170+
- Open `.vscode\launch.json` file and modify configuration named "STLink@pyOCD (launch)"
171171
- Comment line
172172

173173
```jsonc

Templates/FSBL_LRUN/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,14 +189,14 @@ Configure `target` in STM32CubeMX
189189
- **FLASH MODE:**
190190
- Set the boot mode configuration in **flash mode** and reset board
191191
> To flash an unprogrammed (virgin) `target`, ensure that the board is in development mode.
192-
- Open .vscode\launch.json file and modify configuration named "STLink@pyOCD (launch)" under **initCommands** and **customResetCommands** commands:
193-
- Modify the command name from **tbreak main** to **thbreak main**
192+
- Open `.vscode\launch.json` file and modify configuration named "STLink@pyOCD (launch)" under **initCommands** and **customResetCommands** commands:
193+
- Modify the command from **tbreak main** to **thbreak main**
194194
- Click **Load & Debug application** button and now program should wait in main function to start debug
195195
- With Continue (F5) button, LED should blink in flash mode
196196

197197
- **DEVELOPMENT MODE:**
198198
- Set the boot mode configuration in **development mode** and reset board
199-
- Open .vscode\launch.json file and modify configuration named "STLink@pyOCD (launch)"
199+
- Open `.vscode\launch.json` file and modify configuration named "STLink@pyOCD (launch)"
200200
- Comment line
201201

202202
```jsonc

Templates/FSBL_XIP/README.md

Lines changed: 1 addition & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ Configure `target` in STM32CubeMX
189189
- **FLASH MODE:**
190190
- Set the boot mode configuration in **flash mode** and reset board
191191
> To flash an unprogrammed (virgin) `target`, ensure that the board is in development mode.
192-
- Open .vscode\launch.json file and modify configuration named "STLink@pyOCD (launch)"
192+
- Open `.vscode\launch.json` file and modify configuration named "STLink@pyOCD (launch)"
193193
- Comment line
194194

195195
```jsonc
@@ -233,50 +233,4 @@ Configure `target` in STM32CubeMX
233233
- Click **Load & Debug application** button and now program should wait in main function to start debug
234234
- With Continue (F5) button, LED should blink in flash mode
235235

236-
- **DEVELOPMENT MODE:**
237-
- Set the boot mode configuration in **development mode** and reset board
238-
- Open .vscode\launch.json file and modify configuration named "STLink@pyOCD (launch)"
239-
- Comment line
240-
241-
```jsonc
242-
// "preLaunchTask": "CMSIS Load",
243-
```
244-
245-
- add commands into initCommands
246-
247-
```json
248-
"initCommands": [
249-
"monitor reset halt",
250-
"symbol-file \"out/FSBL/<target>/Debug/FSBL.axf\"",
251-
"load out/FSBL/<target>/Debug/FSBL.hex",
252-
"set $pc = Reset_Handler",
253-
"set $sp = (int) &Image$$ARM_LIB_STACK$$ZI$$Limit",
254-
"thbreak JumpToApplication",
255-
"continue",
256-
"symbol-file \"out/Appli/<target>/Debug/Appli.axf\"",
257-
"tbreak main"
258-
```
259-
260-
- add commands into customResetCommands
261-
262-
```json
263-
"customResetCommands": [
264-
"monitor reset halt",
265-
"maintenance flush register-cache",
266-
"maintenance flush dcache",
267-
"symbol-file \"out/FSBL/<target>/Debug/FSBL.axf\"",
268-
"load out/FSBL/<target>/Debug/FSBL.hex",
269-
"set $pc = Reset_Handler",
270-
"set $sp = (int) &Image$$ARM_LIB_STACK$$ZI$$Limit",
271-
"thbreak JumpToApplication",
272-
"continue",
273-
"symbol-file \"out/Appli/<target>/Debug/Appli.axf\"",
274-
"tbreak main",
275-
"continue"
276-
```
277-
278-
- Save launch.json
279-
- Click **Load & Debug application** button and now program should wait in main function to start debug
280-
- With Continue (F5) button, configured LED should blink in development mode
281-
282236
> [STM32N6570-DK board](https://github.com/Open-CMSIS-Pack/STM32N6570-DK_BSP/blob/main/Examples/FSBL_XIP#build-and-load-in-vscode) Build, Load and Debug configuration

0 commit comments

Comments
 (0)