Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Modes of Firmware in NRF51822

I am developing Firmware for NRF51822, S110 in Eclipse. I Heard that  there is two mode in Firmware. 1. Debug mode 2. Production(release) mode. Is there anything like that? what is difference between both of them? How to switch to one mode to another?

Parents
  • There isn't a general mode selection where you can choose "debug mode" and "production mode" for the chip itself. It's common to find IDE/compiler features intended for development which may be disabled by setting a mode in the IDE, but this is not specific to our chip.

    Generally, you want to debug firmware with features like logging turned on and sometimes with optimization turned off. Later when it is time to release its common to remove such development features to focus on the performance and efficiency of the device.

    Best regards,
    Rune Holmgren

Reply
  • There isn't a general mode selection where you can choose "debug mode" and "production mode" for the chip itself. It's common to find IDE/compiler features intended for development which may be disabled by setting a mode in the IDE, but this is not specific to our chip.

    Generally, you want to debug firmware with features like logging turned on and sometimes with optimization turned off. Later when it is time to release its common to remove such development features to focus on the performance and efficiency of the device.

    Best regards,
    Rune Holmgren

Children
No Data
Related