Skip to content
This repository was archived by the owner on Jun 8, 2021. It is now read-only.
This repository was archived by the owner on Jun 8, 2021. It is now read-only.

[OOB 5.5] HEXIWEAR + ESP8266 - CMIS-RTOS error #34

Closed
@mray190

Description

@mray190

Details

HEXIWEAR with ESP8266 module fails with the following logs. Additionally, had to make the following changes to the generic mbed-os-example-wifi repository:

mbed_app.json

"target_overrides": {
    ...
    "HEXIWEAR": {
        "wifi-tx": "PTD3",
        "wifi-rx": "PTD2"
    }
}

main.cpp

// #if TARGET_UBLOX_EVK_ODIN_W2
// #include "OdinWiFiInterface.h"
// OdinWiFiInterface wifi;

// #else
// #if !TARGET_FF_ARDUINO
// #error [NOT_SUPPORTED] Only Arduino form factor devices are supported at this time
// #endif
#include "ESP8266Interface.h"

ESP8266Interface wifi(MBED_CONF_APP_WIFI_TX, MBED_CONF_APP_WIFI_RX);

// #endif

Reasoning for the above change: The ESP8266 module I used was the HEXIWEAR ESP8266 module and therefore could run on a non-Arduino form factor.

Debug details

GCC_ARM version: 5.4.1 20160919 (release)
mbed CLI version: 1.0.0
mbed OS version: 92fbf2a9b3988d430482fc25a6077f2462e2a634

WiFi example

Scan:
Network: AccessNG secured: Unknown BSSID: 70:3A:E:54:fe:80 RSSI: -67 Ch: 1
Network: Guest-AccessNG secured: None BSSID: 70:3A:E:54:fe:81 RSSI: -66 Ch: 1
Network: AccessNG secured: Unknown BSSID: 70:3A:E:61:d1:80 RSSI: -83 Ch: 1
Network: Guest-AccessNG secured: None BSSID: 70:3A:E:61:d1:81 RSSI: -87 Ch: 1
Network: Guest-AccessNG secured: None BSSID: 70:3A:E:55:7d:c1 RSSI: -72 Ch: 1
Network: ESP_1CCF60 secured: None BSSID: 5E:CF:7F:1c:cf:60 RSSI: -46 Ch: 6
Network: GORDON-AP secured: None BSSID: B8:27:EB:d1:f9:c1 RSSI: -52 Ch: 6
Network: Guest-AccessNG secured: None BSSID: 70:3A:E:61:c0:61 RSSI: -69 Ch: 6
Network: iotlab secured: WPA2 BSSID: E4:F4:C6:12:32:9a RSSI: -45 Ch: 6
Network: ESP_DC83BA secured: None BSSID: 1A:FE:34:dc:83:ba RSSI: -58 Ch: 6
Network: bdn_wireless secured: None BSSID: 8A:15:4:ca:90:f0 RSSI: -85 Ch: 6
Network: Brandywine Public secured: None BSSID: 8A:15:4:ca:90:f6 RSSI: -85 Ch: 6
Network: AccessNG secured: Unknown BSSID: 70:3A:E:61:c0:60 RSSI: -69 Ch: 6
Network: AccessNG secured: Unknown BSSID: 70:3A:E:54:fc:60 RSSI: -81 Ch: 6
14 networks available.

Connecting...
Success

MAC: 18:fe:34:f9:e8:20
IP: 192.168.1.39
Netmask: 255.255.255.0
Gateway: 192.168.1.1
RSSI: -49

Sending HTTP request to www.arm.com...
sent 38 [GET / HTTP/1.1]
CMSIS-RTOS error: Stack underflow (status: 0x1, task ID: 0x20001E00, task name: (null))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions