Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Odin board fails to connect #4663

Closed
sarahmarshy opened this issue Jun 28, 2017 · 3 comments
Closed

Odin board fails to connect #4663

sarahmarshy opened this issue Jun 28, 2017 · 3 comments

Comments

@sarahmarshy
Copy link
Contributor

sarahmarshy commented Jun 28, 2017

Description


Bug

Target
UBLOX_EVK_ODIN_W2

Output of mbedls:

+-------------------+----------------------+-------------+-------------+--------------------------+-----------------+
| platform_name     | platform_name_unique | mount_point | serial_port | target_id                | daplink_version |
+-------------------+----------------------+-------------+-------------+--------------------------+-----------------+
| UBLOX_EVK_ODIN_W2 | UBLOX_EVK_ODIN_W2[0] | D:          | COM9        | 12360221022268373D66EB3C | 0221            |
+-------------------+----------------------+-------------+-------------+--------------------------+-----------------+

Toolchain:
GCC_ARM

meed-os sha:
I have tried the following:

Master should include these supposed fixes:
#4444
#4567
#4543

Expected behavior
This line suceeds.

Actual behavior
It fails with -3012 -- device error.

Steps to reproduce
Try to run https://github.com/ARMmbed/mbed-os-example-wifi on the Odin board using the current master of mbed-os.

Question

@andreaslarssonublox is there something else I need to do for this to work? I can see here - #4567 that you said you were not seeing this failure anymore.

@andreaslarssonublox
Copy link

Hi, I just tried it and it worked for me. I did the following:

Clone https://github.com/ARMmbed/mbed-os-example-wifi
mbed update
After this I got SHA-1: 82638173e0feaf551df125fda0e19f85a8e608b1 for mbed-os-example-wifi

Change to latest mbed-os SHA-1: a39ac60
Rebase/cherry-pick 3934b30 from geky:events-use-rtx-event-flags
Change SSID and password in mbed_app.json according to my access point
Build
After copying the file to the board I got:

WiFi example

Scan:
Network: cb-jenkins-wpa secured: WPA2 BSSID: 0:14:C2:b7:68:31 RSSI: -66 Ch: 1
.
.
15 networks available.

Connecting...
Success

MAC: d4:ca:6e:70:49:5d
IP: 10.12.71.180
Netmask: 255.255.255.0
Gateway: 10.12.71.254
RSSI: -62

Sending HTTP request to www.arm.com...
sent 38 [GET / HTTP/1.1]
recv 64 [HTTP/1.1 200 OK]

Done

@yennster
Copy link
Contributor

yennster commented Jun 29, 2017

@sarahmarshy I just got the Odin board to connect to the iotlab wifi. I used the master branch of mbed-os-example-wifi.

mbed-os.lib hash: #c9e63f14085f5751ff5ead79a7c0382d50a813a2
mbed-cli version: 1.1.1

WiFi example

Scan:
Network: iotlab secured: WPA2 BSSID: E4:F4:C6:12:32:9a RSSI: -77 Ch: 1
Network: ESP_DC84B6 secured: None BSSID: 1A:FE:34:dc:84:b6 RSSI: -92 Ch: 1
2 networks available.

Connecting...
Success

MAC: d4:ca:6e:70:47:9e
IP: 192.168.1.226
Netmask: 255.255.255.0
Gateway: 192.168.1.1
RSSI: -77

Sending HTTP request to www.arm.com...
sent 38 [GET / HTTP/1.1]
recv 64 [HTTP/1.1 200 OK]

Done

@theotherjimmy
Copy link
Contributor

So, are we going to close this issue then?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants