This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRF52810 without softdevice S112

Hello,

I would like to know if it is possible to not use softdevice because i need more flash for my code. I guess it is possible but when i don't enable softdevice in my code, the app_timer stops working and the power management too. Even if i remove SOFTDEVICE_PRESENT compilation flag, the issue is still present. 

My purpose is to use the FDS with my code (which is already filling 92% of the remaining flash (with S112) and my nrf52810 is not doing any BLE), so that's why i came up with removing the soft device but i would like to keep the main library available (in particular the app_timer since it is used in a library shared with a nrf52832) So, do i need to write my own timer or am i missing something ?

If you have any idea, feel free to share.

Best regards,

Aurélien

Parents Reply
  • Oh great, now i'm loading only the MBR and then my application at @0x1000 and it is booting and working fine. One more thing, because i cannot find the answer. How the vector tables is remapped in the application ? (is this by using VTOR register that points on a vector tables in RAM (pointing itself on the right handlers in my application ?)

    Edit : does the MBR needs to have reserved RAM. Because i cannot set the full segment of RAM for my application. 

    With Softdevice : 

    FLASH_START=0x19000

    FLASH_SIZE=0x17000

    RAM_START=0x200022c8

    RAM_SIZE=0x3d38

    Without softdevice :

    FLASH_START=0x1000

    FLASH_SIZE=0x2F000

    RAM_START=0x20000000

    RAM_SIZE=0x6000

    When i don't have softdevice (only MBR) and i set RAM_START at 0x20000000, the application does not start but if i set at 0x20000001 it is booting.

Children
Related