Assigning custom MAC address for DFU & Application (production line)

Hello,

     Is there any special area where I can save custom MAC address for each device ?

Basically I need to assign unique name and MAC address which the DFU and application should be able to share and I need to do it automate it at the time of production.

  • I cannot do it by patching some area in soft device. May be I can add it inside DFU bootloader somewhere on a fixed address and patch it at the time of production and the application can read it coz the location is fixed and is inside bootloader. But if I update bootloader for any reason, it shouldn't change.
  • Another option I am thinking is to keep a small area reserved in between the bootloader and the application.
  • Os is there any better solution for this ? Can I save it somewhere inside UICR registers ?
Parents
  • I can see from datasheet that UICR registers from offset 0x80 till 0xFC is reserved for customer. But is there any possibility that softdevice or SDK will use any of these locations ?

    Also if I write a MAC address to those area, what is the possibility that it will get erased to zero or cleared from a faulty application ?

    Can I prevent application writing or clearing bits of any written UICR register to ensure it will not change in future due to a buggy application ?

Reply
  • I can see from datasheet that UICR registers from offset 0x80 till 0xFC is reserved for customer. But is there any possibility that softdevice or SDK will use any of these locations ?

    Also if I write a MAC address to those area, what is the possibility that it will get erased to zero or cleared from a faulty application ?

    Can I prevent application writing or clearing bits of any written UICR register to ensure it will not change in future due to a buggy application ?

Children
No Data
Related