Write memory
memory_writeWrite raw bytes to target RAM/registers at a specified address, blocking flash writes unless explicitly permitted.
Instructions
Writes raw bytes to target RAM/registers at an address. Blocked for addresses inside the flash window (use flash_standalone / flash_load_in_session for flash) unless STMCP_ALLOW_FLASH_ADDRESS_WRITE is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Hex address (0x...) or a gdb expression evaluating to an address | |
| bytesHex | Yes | Bytes to write, as a hex string, e.g. 'deadbeef' | |
| sessionId | Yes |