Difference between two dk boards: Power off and on

hi dev

I have a question about nrf52 dk board.

I have 2 dk board : one was written 2021.06 and the other one was written 2022.12 

anyway, when I debug same file which I wrote, the two boards show different reactions.

When I turn the dk board off and back on immediately, one works immediately but the other doesn't.

for example, I debug some code - press the button1 then led1 is turned on - 

and When I turn the dk board off and back on immediately,

one which was written 2021.06 works very well, 

but the other one which was written 2022.12 doen't work. but when I press the button "IF BOOT/RESET", it works again.


I wanna make the program work immediately without pressing the reset button when the power is turned off and on, but I wonder what to do.

The reason why I want to know this is because I'm conducting tests related to blackout.

plus, when I press the button "IF/REBOOT" on the dk board, does the data in flash memory(usibg fstorage or fds) erase?

Parents Reply Children
  • hi jared

    I'll share a picture of the two dk board

    The above one is the dk board written as 2021.06 and the below one is the dk board written as 2022.12

    and the full ic marking of both ICs on dk board is here:

    the above marking (N52832 / QFAAG0 / 2135AD) is ICs marking on dk board written as 2022.12

    and the other marking(N52832/QFAAE0/2010CT)  is ICs marking on dk board written as 2021.06

  • Hi,

    There is two distinct differences between the two revisions of the development board,

    1. The 2021.06 board use a third party device as the onboard interface device, while the 2022.12 use our own nRF5340 as the interface device. 
    2. The 2021.06 has a revision Ex0 nRF52832 IC while the 2022.12 has a revision Gx0. Revision Gx0 has different app port protection mechanism than the Ex0. For Gx0 and later, access port protection is enabled by default, which means that the debug interface will be disabled if the app protect isn't disabled explicitly. The app protect protection can be disabled temporarily while debugging the device but if it's not disabled properly in the user code it will be enabled after a pin reset or power on reset. Revision Ex0 and earlier do not have the app protect mechanism enabled by default. I think what you observe is a result of this difference but I don't quite understand why you see a different behavior when you do a pin reset vs a power cycling the board as both should result to the same.

    regards

    Jared 

Related