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

REALTEK_RTL8195AM: mbed-cloud-client-example-internal gcc_arm build unstable #5056

Closed
JammuKekkonen opened this issue Sep 8, 2017 · 5 comments

Comments

@JammuKekkonen
Copy link
Contributor

JammuKekkonen commented Sep 8, 2017

Target
REALTEK_RTL8195AM

Toolchain:
GCC_ARM

mbed-os sha:
e12f116

Expected behavior
mbed cloud client example is able to register to server and run

Actual behavior
running the application hangs some time after connecting to wifi access point. without traces the app does not get to registered state. with traces enabled (changing config override 'mbed-trace.enable' value to 1), the registration sometimes goes through but the app still stalls after a while.
According to traces, the last call before stall is [DBG ][UCPI]: ARM_UCP_GetActiveFirmwareDetails

Steps to reproduce

  • checkout branch 'REALTEK_RTL8195AM_support' from mbed-cloud-client-example-internal
  • copy configs/wifi_rtw_v4.json to mbed_app.json and modify it to have correct wifi ssid+psk
  • compile with GCC_ARM toolchain
  • flash&run the app
@0xc0170
Copy link
Contributor

0xc0170 commented Sep 8, 2017

cc @Archcady @JanneKiiskila

@0xc0170
Copy link
Contributor

0xc0170 commented Oct 13, 2017

@JanneKiiskila @JammuKekkonen Is this still true ? There have been some fixes for 5.6.

@marcuschangarm
Copy link
Contributor

Yes, there are still some issues.

@samchuarm
Copy link

Hi @JammuKekkonen Can this issue still be reproduced with the latest master? There's been several fixes from Realtek to address instability since Oct.

@Archcady
Copy link
Contributor

Archcady commented Dec 20, 2017

=========================================================

ROM Version: 0.3

Build ToolChain Version: gcc version 4.8.3 (Realtek ASDK-4.8.3p1 Build 2003)

=========================================================
Check boot type form eFuse
SPI Initial
Image1 length: 0x2ea8, Image Addr: 0x10000bc8
Image1 Validate OK, Going jump to Image1

Starting mbed Client example
[EasyConnect] IPv4 mode
[EasyConnect] Using WiFi (RTW)
[EasyConnect] Connecting to WiFi IOT_MERCURY_59E0
[EasyConnect] Connected to Network successfully
[EasyConnect] MAC address 00:e0:4c:87:00:00
[EasyConnect] IP address 192.168.90.101

SOCKET_MODE : TCP
Connecting to coap://api.connector.mbed.com:5684
handle_timer_tick, device not registered
handle_timer_tick, device not registered

Registered object successfully!
handle_timer_click, new value of counter is 1
handle_timer_click, new value of counter is 2
handle_timer_click, new value of counter is 3
handle_timer_click, new value of counter is 4
handle_timer_click, new value of counter is 5
handle_timer_click, new value of counter is 6
handle_timer_click, new value of counter is 7
handle_timer_click, new value of counter is 8
handle_timer_click, new value of counter is 9
handle_timer_click, new value of counter is 10
handle_timer_click, new value of counter is 11
handle_timer_click, new value of counter is 12
handle_timer_click, new value of counter is 13
handle_timer_click, new value of counter is 14
handle_timer_click, new value of counter is 15
handle_timer_click, new value of counter is 16
handle_timer_click, new value of counter is 17
handle_timer_click, new value of counter is 18
handle_timer_click, new value of counter is 19
handle_timer_click, new value of counter is 20
handle_timer_click, new value of counter is 21
handle_timer_click, new value of counter is 22
handle_timer_click, new value of counter is 23


The connection to mbed cloud is stable with the latest master, can we close this issue?

@0xc0170 0xc0170 closed this as completed Dec 20, 2017
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