flash_erase_sector
Erase specified flash sectors by providing bank index and sector range. Clear target memory segments for firmware updates or data cleanup.
Instructions
Erase a range of flash sectors. bank : flash bank index (usually 0) first : first sector number to erase last : last sector number to erase (inclusive)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"bank": "<bank>",
"first": "<first>",
"last": "<last>"
},
"name": "flash_erase_sector"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bank | Yes | ||
| last | Yes | ||
| first | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |