Topics

How to flash static mac address into zephyr ? #nrf52832

icephyr
 

Hi guys,

    I met a problem and hope someone can help me here.

    I want to use nrf52832 as a tag device and can locate it by its mac address, so I have to flash pre-assigned static address into nrf52832 running zephyr project, since nrf chip don't have a pre-assigned mac address. 

    I wonder if there is any method to implement this function ? 

   Thanks  a lot if anyone can help.

frv
 
Edited

Hi icephyr,

I'm far from a Zephyr BLE expert, but I had this process in mind what could be a solution.

As Nordic doesn't store a public BLE device address in flash I would try to implement the following steps:
Good luck.

Best regards,
Frank

Johannes Hutter
 

Just for your information: There is a PR that adds UICR support to the nrfx flash driver:
https://github.com/zephyrproject-rtos/zephyr/pull/11410

Best Regards
Joe


On Thu, Nov 22, 2018 at 9:55 AM frv <F.Vieren@...> wrote:

[Edited Message Follows]

Hi icephyr,

I'm far from a Zephyr BLE expert, but I had this process in mind what could be a solution.

As Nordic doesn't store a public BLE device address in flash I would try to implement the following steps:
Good luck.

Best regards,
Frank



--

Johannes Hutter
Mail: johannes@... 



Workaround GmbH (ProGlove)  
Building 64.08a,
Rupert-Mayer-Straße 44, 81379 München


Managing Director: Thomas Kirchner 
HRB: 216605 | AG München 
USt.-IdNr.: DE298859320


icephyr
 

Thanks you guys, it helps a lot. I think this will solve my problem, I will have a try then.

Johannes Hutter
 

btw, Frank: Are you editing your messages over the web interface? It really scrambles up the threads on the mailing list and it's hard to tell what was edited.

On Thu, Nov 22, 2018 at 10:03 AM icephyr <sxzxchen@...> wrote:
Thanks you guys, it helps a lot. I think this will solve my problem, I will have a try then.



--

Johannes Hutter
Mail: johannes@... 



Workaround GmbH (ProGlove)  
Building 64.08a,
Rupert-Mayer-Straße 44, 81379 München


Managing Director: Thomas Kirchner 
HRB: 216605 | AG München 
USt.-IdNr.: DE298859320


frv
 

Sorry Joe, I will no longer this.
Thanks for reporting it.
Frank