Hi,
my new Project is Dual Band WiFi Analyzer with Wio Terminal. Dual-Band-WiFi-Analyzer with Wio Terminal
I have installed the latest firmware and all libraries exactly as instructed on the Wio Terminal.
Unfortunately, the screen is blank after uploading the sketch.
I’ve tried it on several Mac / PC with no success.
What am I doing wrong?
I don’t know it it’s the same issue or a separate issue: I have made all the updates that you listed, and can’t access wifi anymore . Any call to the library becomes blocking, for example, running the wifi scan sketch given as part of the tutorial freezes on the line "WiFi.mode(WIFI_STA).
I have tried installing a new computer to make sure that it’s not a library conflict, and tried erasing and flashing the RTL8720 firmware again, but wifi access still does not work. Unfortunately, I can’t recall the exact library changes that I made since last week, when wifi access from the sketch was fine. I assumed that something had gone wrong with my terminal, so I ordered a new one this weekend.
Could there be an issue with the latest firmware/libraries ?
Thank you again for your message! Calling rpc_system_version() crashes my wio terminal, same as all the rpc/wifi library calls :(.
I called rpc_system_version last week after installing the firmware (and before the problems started happening). It used to show “RTL8720 Firmware Version: 2.1.1”
I tried installing the libraries in two ways : on one computer, using Arduino Library Manager, on the other computer, using the zipfiles downloaded from github. In both cases, I checked that their version matches what you described.
However, to debug this issue further, I have attached two compiled .bin files. One will be for Wi-Fi scanning and the other will be to test the firmware version. Could you upload them to Wio Terminal and try? Also, are you familiar with uploading .bin files to Wio Terminal?
If yes, you could upload and open serial monitor with 115200 baud rate.
Thank you for your responsiveness and for the advice. I don’t know how to upload bin files to the Wio Terminal, however I have just used ambd_flash_tool to flash the latest firmware as suggested, and it seems to have solved my wifi problems. This is great news. I just ran the network scan and BasicHttpClient samples, and now they work fine, instead of blocking on the very first call to the wifi library.
Im also faced that issue , the thing i did was just
enable the Serial connection from SAMD51 to RTL8720 by uf2 file, then i flashed the firmware and then i upload the ino code for wifi analyzer and booom… It just worked.
I’m having the same issue. I just updated the firmware and libraries, following the videos. The WIO terminal freezes when it gets to “WiFi.mode(WIFI_STA)”. The same thing happens if i use the function “rpc_system_version()”.
Firmware version is 2.1.2 and I’m using PlatformIO.
Just purchased a Wio Terminal… Immediately ran into issues not seeing anything on the LCD, but found that using Arduino portable for my Wio worked to avoid library conflicts with the LCD library, so all works there.
I wanted to try this WiFi example, but now getting this error…
Arduino: 1.8.19 (Windows 10), Board: "Seeeduino Wio Terminal, Master, Enabled, 120 MHz (standard), Small (-Os) (standard), 50 MHz (standard), Arduino, Off, On"
In file included from C:\Arduino Portable\portable\sketchbook\libraries\Arduino_GFX\src/Arduino_GFX_Library.h:28:0,
from C:\Arduino Portable\portable\sketchbook\libraries\Arduino_GFX\examples\WiFiAnalyzer\WioWiFiAnalyzer\WioWiFiAnalyzer.ino:18:
C:\Arduino Portable\portable\sketchbook\libraries\Arduino_GFX\src/Arduino_GFX.h:369:3: error: expected ';' at end of member declaration
GFXfont *gfxFont; ///< Pointer to special font
^~~~~~~
C:\Arduino Portable\portable\sketchbook\libraries\Arduino_GFX\src/Arduino_GFX.h:369:12: error: ISO C++ forbids declaration of 'gfxFont' with no type [-fpermissive]
GFXfont *gfxFont; ///< Pointer to special font
^~~~~~~
exit status 1
Error compiling for board Seeeduino Wio Terminal.
I don’t know what this error refers too, I believe I have all the needed libraries installed