I have two boards, one is official demo board, the other I make PCB board.
I down the open-mesh source code form github.sdk version is 8.1,open mesh stack version is 0.8.7
Question, official board I use keil MDK-ARM simulate work well. The board I make fail on function:
The 32768k crystal oscillator I was placed near the chip, should not this causing problem.
I want to know what wrong, if anybody could help me.
Which chip you have on your board ? If you don't have the same variant as the one by default in the code (256kB flash 32 kB RAM) then you would need to modify the configuration to match. You can find your variant by the lasermark on top of the chip and compare with the table here.
Could you check which one failed in the if condition:
Hi,Hung Bui. NRF51822 QFAC 256K flash & 32k ram. two boards use same type chip. It's weird!
BTW,did you have a successed on mesh dfu?
I haven't tried the DFU myself. Just trying to figure out why it work with the official board but not with your board.
The BOOTLOADERADDR() is defined in the UICR, the NRF_UICR->BOOTLOADERADDR need to be written when you flash the bootloader using nrfjprog.
Could you check in the 3 comparisons above, which one failed ?