Hello, I would like to save a log in the nrf5340 FLASH, how many times is possible to write? May I write in the Application CPU Flash from the Network CPU FLASH when the Application CPU is in WFE() status (System ON I suppose).
Thank you!
Emag
Hello, I would like to save a log in the nrf5340 FLASH, how many times is possible to write? May I write in the Application CPU Flash from the Network CPU FLASH when the Application CPU is in WFE() status (System ON I suppose).
Thank you!
Emag
Hi,
The Endurance of the flash memory is given in the Absolute maximum ratings:
Flash memory | ||||
Endurance | 10 000 | Write/erase cycles |
[EDIT]: The network core's memory map includes the peripherals, RAM, and flash of the application core. The network core can access the application core's resources even when the application CPU is in sleep mode, but on the Engineering revision of the chip, the application CPU must be woken to access flash.
The MDK does not seem to include support for this, as it will either include the nrf5340_application.h or nrf5340_network.h, depending on whether NRF5340_XXAA_APPLICATION or NRF5340_XXAA_NETWORK is defined. These files will only define the peripherals in either APPLICATION or NETWORK domain. To access the APPLICATION domain peripherals, you can use the peripheral instantiation base addresses directly from the network core application.
Best regards,
Jørgen
Hi,
The Endurance of the flash memory is given in the Absolute maximum ratings:
Flash memory | ||||
Endurance | 10 000 | Write/erase cycles |
[EDIT]: The network core's memory map includes the peripherals, RAM, and flash of the application core. The network core can access the application core's resources even when the application CPU is in sleep mode, but on the Engineering revision of the chip, the application CPU must be woken to access flash.
The MDK does not seem to include support for this, as it will either include the nrf5340_application.h or nrf5340_network.h, depending on whether NRF5340_XXAA_APPLICATION or NRF5340_XXAA_NETWORK is defined. These files will only define the peripherals in either APPLICATION or NETWORK domain. To access the APPLICATION domain peripherals, you can use the peripheral instantiation base addresses directly from the network core application.
Best regards,
Jørgen