Access Restricted
This page contains internal documentation that is not publicly available.
DHWCtrl.FlashActivate
Apply the pin configuration named Pinset and bring up
the flash slot on Index. Returns the slot geometry
(SectorSize, SectorCount) so the host can size
FlashRead / FlashWrite / FlashErase calls without
carrying the geometry out-of-band.
Properties
- Command code: 0xE130
- Command timeout: 100 ms
- Possible status codes: General status codes, DHWCtrl.ErrInvalidIndex, DHWCtrl.ErrAlreadyActive, DHWCtrl.ErrInvalidParam, DHWCtrl.ErrHardware
Parameters (request frame)
| Name | Type/Size | Description | |
|---|---|---|---|
| Index | Integer (8 bits) | Zero-based instance index within this peripheral category. The valid range is firmware / hardware-variant specific; discoverable via ListPeripherals. | |
| Pinset | Enumeration (8 bits) |
Ordinal index into the firmware's per-peripheral pinset
array (mirrors a pinctrl-names entry). The valid set per
peripheral instance is discoverable via
ListPeripherals.
Values (8):
|
|
Returned values (response frame)
| Name | Type/Size | Description |
|---|---|---|
| SectorSize | Integer (16 bits) | Size of one sector in bytes. All FlashRead / FlashWrite / FlashErase transfers are expressed in whole sectors of this size. |
| SectorCount | Integer (32 bits) | Total number of sectors in the slot. Valid Sector indices are 0 .. SectorCount - 1. |