/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/an552/native_drivers/ |
D | emulated_flash_drv.c | 82 static int32_t is_flash_ready_to_write(const uint8_t *start_addr, uint32_t cnt) in is_flash_ready_to_write() argument 88 if(start_addr[i] != EMULATED_FLASH_DRV_ERASE_VALUE) { in is_flash_ready_to_write() 101 uint32_t start_addr = 0; in emulated_flash_read_data() local 113 start_addr = dev->memory_base_s + addr; in emulated_flash_read_data() 116 start_addr = dev->memory_base_ns + addr; in emulated_flash_read_data() 120 memcpy(data, (void *)start_addr, cnt); in emulated_flash_read_data() 128 uint32_t start_addr = 0; in emulated_flash_program_data() local 142 start_addr = dev->memory_base_s + addr; in emulated_flash_program_data() 145 start_addr = dev->memory_base_ns + addr; in emulated_flash_program_data() 149 rc = is_flash_ready_to_write((const uint8_t*)start_addr, cnt); in emulated_flash_program_data() [all …]
|
/trusted-firmware-m-3.4.0/platform/ext/target/arm/rss/common/cmsis_drivers/ |
D | Driver_Flash.c | 121 static int32_t is_flash_ready_to_write(const uint8_t *start_addr, uint32_t cnt) in is_flash_ready_to_write() argument 127 if(start_addr[i] != ARM_FLASH_DRV_ERASE_VALUE) { in is_flash_ready_to_write() 204 uint32_t start_addr = FLASH0_DEV->memory_base + addr; in ARM_Flash_ReadData() local 217 memcpy(data, (void *)start_addr, cnt); in ARM_Flash_ReadData() 228 uint32_t start_addr = FLASH0_DEV->memory_base + addr; in ARM_Flash_ProgramData() local 243 rc = is_flash_ready_to_write((const uint8_t*)start_addr, cnt); in ARM_Flash_ProgramData() 249 memcpy((void *)start_addr, data, cnt); in ARM_Flash_ProgramData() 259 uint32_t start_addr = FLASH0_DEV->memory_base + addr; in ARM_Flash_EraseSector() local 269 memset((void *)start_addr, in ARM_Flash_EraseSector()
|
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/corstone310/common/cmsis_drivers/ |
D | Driver_Flash.c | 122 static int32_t is_flash_ready_to_write(const uint8_t *start_addr, uint32_t cnt) in is_flash_ready_to_write() argument 128 if(start_addr[i] != ARM_FLASH_DRV_ERASE_VALUE) { in is_flash_ready_to_write() 205 uint32_t start_addr = FLASH0_DEV->memory_base + addr; in ARM_Flash_ReadData() local 218 memcpy(data, (void *)start_addr, cnt); in ARM_Flash_ReadData() 229 uint32_t start_addr = FLASH0_DEV->memory_base + addr; in ARM_Flash_ProgramData() local 244 rc = is_flash_ready_to_write((const uint8_t*)start_addr, cnt); in ARM_Flash_ProgramData() 250 memcpy((void *)start_addr, data, cnt); in ARM_Flash_ProgramData() 260 uint32_t start_addr = FLASH0_DEV->memory_base + addr; in ARM_Flash_EraseSector() local 270 memset((void *)start_addr, in ARM_Flash_EraseSector()
|
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps2/an521/cmsis_drivers/ |
D | Driver_Flash.c | 115 static int32_t is_flash_ready_to_write(const uint8_t *start_addr, uint32_t cnt) in is_flash_ready_to_write() argument 121 if(start_addr[i] != ARM_FLASH_DRV_ERASE_VALUE) { in is_flash_ready_to_write() 198 uint32_t start_addr = FLASH0_DEV->memory_base + addr; in ARM_Flash_ReadData() local 218 memcpy(data, (void *)start_addr, cnt); in ARM_Flash_ReadData() 229 uint32_t start_addr = FLASH0_DEV->memory_base + addr; in ARM_Flash_ProgramData() local 244 rc = is_flash_ready_to_write((const uint8_t*)start_addr, cnt); in ARM_Flash_ProgramData() 247 memcpy((void *)start_addr, data, cnt); in ARM_Flash_ProgramData() 257 uint32_t start_addr = FLASH0_DEV->memory_base + addr; in ARM_Flash_EraseSector() local 267 memset((void *)start_addr, in ARM_Flash_EraseSector()
|
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps2/an519/cmsis_drivers/ |
D | Driver_Flash.c | 117 static int32_t is_flash_ready_to_write(const uint8_t *start_addr, uint32_t cnt) in is_flash_ready_to_write() argument 123 if(start_addr[i] != ARM_FLASH_DRV_ERASE_VALUE) { in is_flash_ready_to_write() 200 uint32_t start_addr = FLASH0_DEV->memory_base + addr; in ARM_Flash_ReadData() local 213 memcpy(data, (void *)start_addr, cnt); in ARM_Flash_ReadData() 224 uint32_t start_addr = FLASH0_DEV->memory_base + addr; in ARM_Flash_ProgramData() local 238 rc = is_flash_ready_to_write((const uint8_t*)start_addr, cnt); in ARM_Flash_ProgramData() 244 memcpy((void *)start_addr, data, cnt); in ARM_Flash_ProgramData() 254 uint32_t start_addr = FLASH0_DEV->memory_base + addr; in ARM_Flash_EraseSector() local 264 memset((void *)start_addr, in ARM_Flash_EraseSector()
|
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/an547/cmsis_drivers/ |
D | Driver_Flash.c | 121 static int32_t is_flash_ready_to_write(const uint8_t *start_addr, uint32_t cnt) in is_flash_ready_to_write() argument 127 if(start_addr[i] != ARM_FLASH_DRV_ERASE_VALUE) { in is_flash_ready_to_write() 204 uint32_t start_addr = FLASH0_DEV->memory_base + addr; in ARM_Flash_ReadData() local 217 memcpy(data, (void *)start_addr, cnt); in ARM_Flash_ReadData() 228 uint32_t start_addr = FLASH0_DEV->memory_base + addr; in ARM_Flash_ProgramData() local 243 rc = is_flash_ready_to_write((const uint8_t*)start_addr, cnt); in ARM_Flash_ProgramData() 249 memcpy((void *)start_addr, data, cnt); in ARM_Flash_ProgramData() 259 uint32_t start_addr = FLASH0_DEV->memory_base + addr; in ARM_Flash_EraseSector() local 269 memset((void *)start_addr, in ARM_Flash_EraseSector()
|
/trusted-firmware-m-3.4.0/platform/ext/target/nordic_nrf/common/core/native_drivers/ |
D | spu.c | 149 void spu_regions_flash_config_non_secure(uint32_t start_addr, uint32_t limit_addr) in spu_regions_flash_config_non_secure() argument 153 (start_addr - DEVICE_FLASH_BASE_ADDRESS) / in spu_regions_flash_config_non_secure() 170 void spu_regions_sram_config_non_secure(uint32_t start_addr, uint32_t limit_addr) in spu_regions_sram_config_non_secure() argument 174 (start_addr - DEVICE_SRAM_BASE_ADDRESS) / in spu_regions_sram_config_non_secure() 191 void spu_regions_flash_config_non_secure_callable(uint32_t start_addr, in spu_regions_flash_config_non_secure_callable() argument 194 size_t size = limit_addr - start_addr + 1; in spu_regions_flash_config_non_secure_callable() 196 uint32_t nsc_size = FLASH_NSC_SIZE_FROM_ADDR(start_addr); in spu_regions_flash_config_non_secure_callable() 202 NRFX_ASSERT(((start_addr + nsc_size) % in spu_regions_flash_config_non_secure_callable() 213 FLASH_NSC_REGION_FROM_ADDR(start_addr), in spu_regions_flash_config_non_secure_callable()
|
D | spu.h | 60 void spu_regions_flash_config_non_secure(uint32_t start_addr, uint32_t limit_addr); 70 void spu_regions_sram_config_non_secure(uint32_t start_addr, uint32_t limit_addr); 88 void spu_regions_flash_config_non_secure_callable(uint32_t start_addr, uint32_t limit_addr);
|
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/common/cmsis_drivers/ |
D | Driver_Flash.c | 197 uint32_t start_addr = FLASH0_DEV->memory_base + addr; in ARM_Flash_ReadData() local 215 taddr = start_addr + i; in ARM_Flash_ReadData() 228 uint32_t start_addr = mem_base + addr; in ARM_Flash_ProgramData() local 259 FMC_Write(start_addr+(i+1-4), u32Data); in ARM_Flash_ProgramData() 261 if(M32(start_addr + i - 3) != u32Data) in ARM_Flash_ProgramData() 263 …tf("flash write verify fail @ %08x W:%08x R:%08x\r\n", start_addr + i - 3, u32Data, M32(start_addr… in ARM_Flash_ProgramData() 287 uint32_t start_addr = mem_base + addr; in ARM_Flash_EraseSector() local 297 FMC_Erase(start_addr); in ARM_Flash_EraseSector()
|
/trusted-firmware-m-3.4.0/platform/ext/target/cypress/psoc64/CMSIS_Driver/ |
D | Driver_Flash.c | 164 uint32_t start_addr = FLASH0_DEV->memory_base + addr; in ARM_Flash_ReadData() local 166 if (start_addr >= FLASH0_DEV->memory_base + FLASH0_SIZE) { in ARM_Flash_ReadData() 171 if (start_addr >= UINT32_MAX - cnt) { in ARM_Flash_ReadData() 175 if ( (start_addr + cnt < FLASH0_DEV->memory_base) || in ARM_Flash_ReadData() 176 (start_addr + cnt > FLASH0_DEV->memory_base + FLASH0_SIZE) in ARM_Flash_ReadData() 182 memcpy(data, (void *)start_addr, cnt); in ARM_Flash_ReadData() 261 uint32_t start_addr = FLASH0_DEV->memory_base + addr; in ARM_Flash_EraseSector() local 265 cy_en_flashdrv_status_t cy_status = Cy_Flash_EraseRow(start_addr); in ARM_Flash_EraseSector()
|
/trusted-firmware-m-3.4.0/platform/ext/target/arm/musca_s1/CMSIS_Driver/ |
D | Driver_Flash_MRAM.c | 116 static int32_t is_flash_ready_to_write(const uint8_t *start_addr, uint32_t cnt) in is_flash_ready_to_write() argument 122 if(start_addr[i] != ARM_FLASH_DRV_ERASE_VALUE) { in is_flash_ready_to_write() 199 uint32_t start_addr = FLASH0_DEV->memory_base + addr; in ARM_Flash_ReadData() local 212 memcpy(data, (void *)start_addr, cnt); in ARM_Flash_ReadData() 220 uint32_t start_addr = FLASH0_DEV->memory_base + addr; in ARM_Flash_ProgramData() local 237 rc = is_flash_ready_to_write((const uint8_t*)start_addr, cnt); in ARM_Flash_ProgramData() 256 memcpy((void *)start_addr, data, cnt); in ARM_Flash_ProgramData() 272 uint32_t start_addr = FLASH0_DEV->memory_base + addr; in ARM_Flash_EraseSector() local 297 memset((void *)start_addr, in ARM_Flash_EraseSector()
|
/trusted-firmware-m-3.4.0/platform/ext/target/arm/rss/common/ |
D | tfm_hal_multi_core.c | 10 void tfm_hal_boot_ns_cpu(uintptr_t start_addr) in tfm_hal_boot_ns_cpu() argument 13 (void)start_addr; in tfm_hal_boot_ns_cpu()
|
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/an524/cmsis_drivers/ |
D | Driver_Flash.c | 204 uint32_t start_addr = mem_base + addr; in ARM_Flash_ReadData() local 218 start_addr = FLASH_REDIRECT_DEST + (addr - FLASH_REDIRECT_BASE); in ARM_Flash_ReadData() 221 memcpy(data, (void *)start_addr, cnt); in ARM_Flash_ReadData() 233 uint32_t start_addr = mem_base + addr; in ARM_Flash_ProgramData() local 249 start_addr = FLASH_REDIRECT_DEST + (addr - FLASH_REDIRECT_BASE); in ARM_Flash_ProgramData() 251 memcpy((void *)start_addr, data, cnt); in ARM_Flash_ProgramData()
|
/trusted-firmware-m-3.4.0/platform/ext/target/cypress/psoc64/ |
D | tfm_hal_multi_core.c | 57 void tfm_hal_boot_ns_cpu(uintptr_t start_addr) in tfm_hal_boot_ns_cpu() argument 71 SPMLOG_INFMSGVAL("Starting Cortex-M4 at ", start_addr); in tfm_hal_boot_ns_cpu() 72 Cy_SysEnableCM4(start_addr); in tfm_hal_boot_ns_cpu()
|
/trusted-firmware-m-3.4.0/platform/ext/target/arm/corstone1000/ |
D | tfm_hal_multi_core.c | 29 void tfm_hal_boot_ns_cpu(uintptr_t start_addr) in tfm_hal_boot_ns_cpu() argument 66 (void) start_addr; in tfm_hal_boot_ns_cpu()
|
/trusted-firmware-m-3.4.0/platform/include/ |
D | tfm_hal_multi_core.h | 22 void tfm_hal_boot_ns_cpu(uintptr_t start_addr);
|
/trusted-firmware-m-3.4.0/docs/technical_references/design_docs/dual-cpu/ |
D | booting_a_dual_core_system.rst | 100 void tfm_hal_boot_ns_cpu(uintptr_t start_addr);
|
/trusted-firmware-m-3.4.0/docs/building/ |
D | run_tfm_examples_on_arm_platforms.rst | 288 To erase the storage when flashing an image, ``-fill 0xFF <start_addr> 290 combined hex file. The ``<start_addr>`` and ``<end_addr>`` are the start and
|