Wio Treminal: First time flash problem

Hi,

I received my Wio Terminal this morning :smile: However I have hit a problem straight away.

My machine is Linux, Ubuntu 18.04

I installed Visual Studio Code, and the Seed ArduPy extention as advised. I have the terminal in the bootloader. I press connect and a pop up suggests /dev/ttyACM0 which I accept, another pop up ask me if i want to flash ArduPy, I click yes:

and then:

andrewh@punch:~$ /home/andrewh/.vscode/extensions/seeed.seeed-micropython-ide-0.0.6/tools/aip  flash -o -p /dev/ttyACM0
/home/andrewh/.local/share/aip/ardupycore/Seeeduino/tools/bossac
ERROR: Exception:
Traceback (most recent call last):
  File "pip/_internal/cli/base_command.py", line 186, in _main
  File "aip/flash.py", line 140, in run
  File "pip/_internal/operations/prepare.py", line 287, in unpack_url
  File "pip/_internal/operations/prepare.py", line 159, in unpack_http_url
  File "pip/_internal/operations/prepare.py", line 299, in _download_http_url
  File "pip/_internal/network/download.py", line 189, in __call__
  File "pip/_internal/network/download.py", line 157, in _http_get_download
  File "pip/_vendor/requests/sessions.py", line 546, in get
  File "pip/_internal/network/session.py", line 405, in request
  File "pip/_vendor/requests/sessions.py", line 533, in request
  File "pip/_vendor/requests/sessions.py", line 668, in send
  File "pip/_vendor/requests/sessions.py", line 668, in <listcomp>
  File "pip/_vendor/requests/sessions.py", line 247, in resolve_redirects
  File "pip/_vendor/requests/sessions.py", line 646, in send
  File "pip/_vendor/cachecontrol/adapter.py", line 53, in send
  File "pip/_vendor/requests/adapters.py", line 416, in send
  File "pip/_vendor/requests/adapters.py", line 228, in cert_verify
OSError: Could not find a suitable TLS CA certificate bundle, invalid path: /tmp/_MEIawrMbI/pip/_vendor/certifi/cacert.pem

Please advise ?

Regards,
Andrew

@Andrew_Holt Sorry about that, The latest one should be 0.0.7, I’ll find out why this one isn’t updated. You can use the command method first.

I have the exact same issue on Windows.
My problem is also compounded because the 0.0.7 version of the extension has a problem.
With that version, when I click on the device connection icon, nothing happens. I tried the 0.0.6 version, and I’m able to get past that and now get stuck with the certificate bundle issue.
What is the command method that you mentioned?

Thanks,

Greg

I think I solved the problem with 0.0.7 and have it working now. I noticed that when I installed 0.0.6 there was a tools directory in the extension folder and with 0.0.7 there wasn’t. I copied the tools folder from 0.0.6 to 0.0.7 and now 0.0.7 seems to be working.
The extension folder for 0.0.7 (in Windows) is C:\Users[username].vscode\extensions\seeed.seeed-micropython-ide-0.0.7

Hi @Andrew_Holt

Can you do pip list and find out what version of ardupy you have on your pc.

Uninstall and install the latest verison:

pip uninstall ardupy-aip
pip install ardupy-aip