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

BOR and power Fail comparator

Hi,

can you please to provide a more information regard power up sequence?

for example:

we would like to use DC2DC (instead LDO) with CR2032 battery.

the PCB have nRF52832 and battery holder, while I put in the battery to battery holder there is chanse for a voltages drop for example : 

once VDD supplied by "high enough voltage" then boot loader start with FW upload from internal FLASH, if at the time that FW uploaded from internal FLASH happened some drop voltage to X and time of drop is Y.

please explain :

1. what the time and  stablle value of voltage is mandatory for start process of FW upload from internal FLASH to RAM ? (I think that the FW run on the RAM not on the FLASH)

 2. what happened while FW uploaded from internal FLASH to RAM and some drop occured, so bootloader will be restart  uploading process ?

3. bootloader have some CRC checking about uploaded FW?

Parents
  • Hi Sergey,

     

    I took the liberty of modifying your curve:

    Here's two states, one on the downward slope (1), which will generate a brown-out-detection

    and the upwards slope (2), which will start a power-on-reset (POR).

    The device will go out of POR mode after the VDD_NRF has reached 1.7V _and_ the parameter "tpor" has elapsed.

    The nRF will be kept in reset for a given amount of time after VDD_NRF >= 1.7V, based on the rise-time of your power supply, as specified here:

    http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/power.html?cp=2_1_0_17_9_1#unique_744469603 

    1. what the time and  stablle value of voltage is mandatory for start process of FW upload from internal FLASH to RAM ? (I think that the FW run on the RAM not on the FLASH)

    The firmware is located in flash. The CPU will start executing after "tpor" has elapsed, and will setup your RAM based on your program located in flash.

     2. what happened while FW uploaded from internal FLASH to RAM and some drop occured, so bootloader will be restart  uploading process ?

    If a bootloader (DFU) process is on-going and the power-supply is disrupted, you will be RESET and boot back into the bootloader. 

    In this case the bootloader will know where it was in the process, and continue from there.

    3. bootloader have some CRC checking about uploaded FW?

    The DFU checks it's own settings area to validate the current installed application (CRC checksum) and see what state it is in.

    If there has been a DFU-process that has been disrupted, it will detect this in the bootloader settings located in flash.

    Best regards,

    Håkon

  • thank you for this elegant answers.

    regarding "tpor" , this is configurable time?

    thanks

Reply Children
Related