amazon-web-servicesiotfreertosstm32ldiscovery

AWS freeRtos "failed to provision device certificate error:48"


I am new to AWS IoT and working with STM32L475 Discovery kit board and trying to run the AWS freertos demo for the board based on the AWS getting started guide.I followed all the steps provided in the AWS documentation but encountering the following error.

I had checked the AWS credentials and they are correct. I used the quick connect method to register my board and create the Iot Thing. I also Erased the flash memory before debugging the project thinking that might be causing the issue.

I am using System workbench on windows 10 (64 bit) for the project and Teraterm serial terminal with speed setting 115200

Could anyone please let me know how to resolve this issue? Thanks is advance.

1 532 [Tmr Svc] Write certificate...
2 541 [Tmr Svc] ERROR: Failed to provision certificate 48
3 547 [Tmr Svc] ERROR: Failed to provision private key 48
4 8978 [Tmr Svc] WiFi connected to AP NETGEAR30.
5 8982 [Tmr Svc] IP Address acquired 192.168.0.11
6 8987 [Tmr Svc] WiFi firmware version is: C3.5.2.5
7 8991 [Tmr Svc] WiFi firmware is up-to-date.```

Solution

  • Would you please double check that you downloaded the correct firmware from the Inventek website: https://www.inventeksys.com/iwin/firmware/

    The one you need to download is the third link marked as "New STM32L4 Discovery kit IoT node (B-L475E-IOT01A) ISM43362-M3G-L44-SPI-C3.5.2.5.STM SPI Firmware (unzip for bin file)". Here is the direct download link for the same: https://www.inventeksys.com/iwin/wp-content/uploads/ISM43362_M3G_L44_SPI_C3.5.2.5.STM_.zip

    Note that you do not need to rename any file or change script if you download the correct firmware.

    Thanks.