Hi, Nordic Team:
I am working with nrf52840 chip now,I want to use VDD output 3.3v. I have read the UICR Config Example and it's work fine when i use Keil to comp & download on chip.
But I am work with mesh and manage my code with SES , my code is below( include .h in main.c , add code in uicr_config.h):
/* Vdd */ #include "nrf.h" #include "uicr_config.h"
const uint32_t UICR_ADDR_EXTSUPPLY __attribute__((at(0x10001300))) __attribute__((used)) = 0xFFFFFFFF; // Enabled const uint32_t UICR_ADDR_REGOUT0 __attribute__((at(0x10001304))) __attribute__((used)) = 0xFFFFFFF5; // 3.3V
Complie has 2 warnings;
1> include/uicr_config.h:75:1: warning: 'at' attribute directive ignored [-Wattributes] 1> include/uicr_config.h:76:1: warning: 'at' attribute directive ignored [-Wattributes]
donwload into 52840 chip it is 1.8v output ,seems like the config didn't download into chip. On keil i can choose programming algorithm:nRF52xxx_UICR ,
but use SES i can't find how to config downloading.