Is it possible to keep same MAC address across factory resets?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
evandro
Level 3
Level 3
25 sign-ins 10 replies posted 5 questions asked

Hi, we are using CYW20706 module with EZ-serial firmware,  and we need to print the BT MAC address on device labels, but the module seems to change it every factory reset. I've tried to disable privacy mode by using SPRV,M=0 command, but it seems to have no effect

Some logs of MAC address changing across factory resets:

/RFAC                                                             
@R,000B,/RFAC,0000                                
@E,0005,RFAC                                         
@E,003B,BOOT,E=01021D1D,S=05020016,P=0103,H=D1,C=00,A=C3EED7B7253C
@E,000E,ASC,S=01,R=03                                  
GBA                                                          
@R,0018,GBA,0000,A=C3EED7B7253C                               
SPRV,M=0                                                      
@R,000A,SPRV,0000                                       
GPRV                                            
@R,0016,GPRV,0000,M=00,I=012C                                   
GBA                                                            
@R,0018,GBA,0000,A=C3EED7B7253C                               
@E,000E,ASC,S=00,R=03                                    
SPRV,M=0                                                
@R,000A,SPRV,0000
GBA
@R,0018,GBA,0000,A=C3EED7B7253C
SPRV,M=0                                                             
@R,000A,SPRV,0000                                                     
GBA                                                                   
@R,0018,GBA,0000,A=C3EED7B7253C                                    
/RFAC                                                         
@R,000B,/RFAC,0000                                         
@E,0005,RFAC                                                 
@E,003B,BOOT,E=01021D1D,S=05020016,P=0103,H=D1,C=00,A=C567A2615ED9
@E,000E,ASC,S=01,R=03                                         
SPRV,M=0                                                  
@R,000A,SPRV,0000                                                        
GBA                                                                
@R,0018,GBA,0000,A=C567A2615ED9           


Is it possible to keep the same MAC address across factory resets? Even that it's always public?

0 Likes
1 Solution
BragadeeshV
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

Hi @evandro ,

All SET commands will be stored only in the RAM. This means that after reset, these contents will be lost and will take default values from the flash. However, if you want to store the configuration onto the flash, you need to do one of the following:

1.  In text mode, you can invoke a SET command with a ‘$’ after the text code (for
example, “SDN$,N=...”) to cause the change to be written to both RAM and flash immediately.

2. (or) After making all the changes to the RAM using the SET commands, store the configuration to the flash by issueiing /SCFG command. This command applies all runtime settings into the boot-level configuration area stored in non-volatile flash

Please check Ez serial user guide for more info. Check section Configuration Settings, Storage, and Protection

https://www.infineon.com/cms/en/product/gated-document/ez-serial-wiced-firmware-platform-user-guide-...

 

Regards,
Bragadeesh

View solution in original post

0 Likes
1 Reply
BragadeeshV
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

Hi @evandro ,

All SET commands will be stored only in the RAM. This means that after reset, these contents will be lost and will take default values from the flash. However, if you want to store the configuration onto the flash, you need to do one of the following:

1.  In text mode, you can invoke a SET command with a ‘$’ after the text code (for
example, “SDN$,N=...”) to cause the change to be written to both RAM and flash immediately.

2. (or) After making all the changes to the RAM using the SET commands, store the configuration to the flash by issueiing /SCFG command. This command applies all runtime settings into the boot-level configuration area stored in non-volatile flash

Please check Ez serial user guide for more info. Check section Configuration Settings, Storage, and Protection

https://www.infineon.com/cms/en/product/gated-document/ez-serial-wiced-firmware-platform-user-guide-...

 

Regards,
Bragadeesh
0 Likes