diff options
Diffstat (limited to 'src/ethosu_device.c')
-rw-r--r-- | src/ethosu_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ethosu_device.c b/src/ethosu_device.c index 935ec9e..273496d 100644 --- a/src/ethosu_device.c +++ b/src/ethosu_device.c @@ -422,7 +422,7 @@ enum ethosu_error_codes ethosu_get_shram_data(int section, uint32_t *shram_p) #if !defined(ARM_NPU_STUB) int i = 0; uint32_t address = NPU_REG_SHARED_BUFFER0; - write_reg(NPU_REG_DEBUG, section * BYTES_1KB); + write_reg(NPU_REG_DEBUG_ADDR, section * BYTES_1KB); while (address <= NPU_REG_SHARED_BUFFER255) { |