We are developing our custom hardware using the RAK3172 and the STM32Cube IDE. Is there a way to assign the same DEVEUI found on the sticker directly to the chip? Currently, for our prototypes, we enter them manually, but for bulk production, we need a method to use the DEVEUI from the sticker to make identification easier.
Welcome to RAK forum @Najeem ,
As far as I know, the currently shipped RAK3172 has DEVEUI already on it. You can check it via AT+DEVEUI=?. I will confirm to our production team.
If you are using STM32CubeIDE and uses different memory location for your OTAA credentials than the RUI3 default, I do not think there is a shortcut.
Some options (I can think of):
- Read/check the DEVEUI on label then write to your device via some interface like UART.
- Get the DEVEUI first via
AT+DEVEUI, update your code in STM32CubeIDE then write it to its intended location.
If you are using STlink, you can check pyocd. I believe it is supported so you can create script to automate this to have less typing and clicking.