Skip to content

Provisioning No longer works #12436

@xinkiknix

Description

@xinkiknix

Board

ESP32-S3 32MB

Device Description

Provisioning no longer works in version 3.3.7. It works fine with version 3.3.6
Test sketch:
`
#include <WiFi.h>
#include <WiFiProv.h>

void setup() {
Serial.begin(115200);
delay(2000);
Serial.println("\n[SYSTEM] Booting Core 3.x Unified Provisioning...");

WiFiProv.beginProvision(
    NETWORK_PROV_SCHEME_BLE,
    NETWORK_PROV_SCHEME_HANDLER_FREE_BTDM, // Changed from FREE_BTDM, 
    NETWORK_PROV_SECURITY_1, 
    "12345678", 
    "PROV_S3_FLEET"
);

Serial.println("[SUCCESS] If it didn't crash yet, the 'fadebead' is gone.");

}

void loop() {}`

Hardware Configuration

None

Version

v3.3.7

Type

Bug

IDE Name

Arduino IDE 2.3.8

Operating System

Windows 10

Flash frequency

80mhz

PSRAM enabled

no

Upload speed

115200

Description

[SYSTEM] Starting Provisioning...
Releasing BT Classic memory...
Initializing Provisioning...
btdm: bss start 0x3fcef180, len 36
btdm: data start 0x3fcef174, data start rom 0x40057350, len 12
MAGIC fadebead VERSION 0001000a
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
even after changing Partition scheme
The Board is correct, The memory is set correct, All other parts of my application works, it is only when the Provisioning attempts to start that it fails

Sketch

#include <WiFi.h>
#include <WiFiProv.h>

void setup() {
    Serial.begin(115200);
    delay(2000);
    Serial.println("\n[SYSTEM] Booting Core 3.x Unified Provisioning...");

    
    WiFiProv.beginProvision(
        NETWORK_PROV_SCHEME_BLE,
        NETWORK_PROV_SCHEME_HANDLER_FREE_BTDM, // Changed from FREE_BTDM, 
        NETWORK_PROV_SECURITY_1, 
        "12345678", 
        "PROV_S3_FLEET"
    );

    Serial.println("[SUCCESS] If it didn't crash yet, the 'fadebead' is gone.");
}

void loop() {}

Debug Message

Error message:
[SYSTEM] Starting Provisioning...
Releasing BT Classic memory...
Initializing Provisioning...
btdm: bss start 0x3fcef180, len 36
btdm: data start 0x3fcef174, data start rom 0x40057350, len 12
MAGIC fadebead VERSION 0001000a
Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.
even after changing Partition scheme
The Board is correct, The memory is set correct, All other parts of my application works, it is only when the Provisioning attempts to start that it fails

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions