No LED Raspberry Pi Pico

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
ralphxyz
 
Posts: 68
Joined: Sun Sep 05, 2010 11:22 am

No LED Raspberry Pi Pico

Post by ralphxyz »

I rebooted the Raspberry Pi 3.
Trying to get Raspberry Pi Pico working with CircuitPython.

I see the RPI-RP2 folder.

I downloaded the .uf2 file.

There is no RESET button on the Pico just a BOOTSEL button.

I cannot get into bootloader mode.

I push the BOOTSEL button two times but the led never lights.

Also the MU editor does not see the device.

Ralph

User avatar
adafruit_support_carter
 
Posts: 29176
Joined: Tue Nov 29, 2016 2:45 pm

Re: No LED Raspberry Pi Pico

Post by adafruit_support_carter »

Correct. There is no reset button on the Pico. You have to hold the BOOTSEL button down while powering the board to get into bootloader mode.

User avatar
ralphxyz
 
Posts: 68
Joined: Sun Sep 05, 2010 11:22 am

Re: No LED Raspberry Pi Pico

Post by ralphxyz »

Done that multiple times it never enters bootloader mode, the led never lights or even flickers.

I even tried jumping pin 30 to GND but nothing happens!

Ralph

User avatar
tannewt
 
Posts: 3304
Joined: Thu Oct 06, 2016 8:48 pm

Re: No LED Raspberry Pi Pico

Post by tannewt »

The RPI-RP2 folder is the bootloader. CircuitPython will come up as CIRCUITPY.

User avatar
adafruit_support_carter
 
Posts: 29176
Joined: Tue Nov 29, 2016 2:45 pm

Re: No LED Raspberry Pi Pico

Post by adafruit_support_carter »

Also, the only LED on the Pico is tied to GP25. It does nothing with just power. It also does nothing when in bootloader mode. So not seeing anything on the LED is generally expected, until you actually write a program to toggle GP25.

Is your USB cable good? Are you able to use it with some other device and move data?

User avatar
ralphxyz
 
Posts: 68
Joined: Sun Sep 05, 2010 11:22 am

Re: No LED Raspberry Pi Pico

Post by ralphxyz »

I "think" I have it running!
MU examples has a "Hello" code running in Python 3 which I have run.

I once saw some code to flash the LED, but cannot find it would some post the code
or a link to the code.

Thanks for the help, this has been tough but I "think" I am able to start.

Ralph

User avatar
adafruit_support_carter
 
Posts: 29176
Joined: Tue Nov 29, 2016 2:45 pm

Re: No LED Raspberry Pi Pico

Post by adafruit_support_carter »

Here's a basic blink example for the Pi Pico:

Code: Select all

import time
import board
import digitalio

led = digitalio.DigitalInOut(board.LED)
led.direction = digitalio.Direction.OUTPUT

while True:
    led.value = True
    time.sleep(0.5)
    led.value = False
    time.sleep(0.5)

User avatar
ralphxyz
 
Posts: 68
Joined: Sun Sep 05, 2010 11:22 am

Re: No LED Raspberry Pi Pico

Post by ralphxyz »

I get a ImportError: No module named 'board'

Ralph

User avatar
ralphxyz
 
Posts: 68
Joined: Sun Sep 05, 2010 11:22 am

Re: No LED Raspberry Pi Pico

Post by ralphxyz »

Tried a new device, still the same ImportError: No module named 'board'.

Apparently the board module should be in stalled with CircuitPython.

Another strange thing:
There is no Run button in Adafruit mode when running MU.
I have to use Python3 mode to get a Run button.
I have not loaded any libraries, would that help?
I need the link to the libraries, which you would think would be easy but they are hidden deep in the instruction pages.
Ralph

User avatar
ralphxyz
 
Posts: 68
Joined: Sun Sep 05, 2010 11:22 am

Re: No LED Raspberry Pi Pico

Post by ralphxyz »

I tried again using Windows 10.

Strange in the MU editor I now see CircuitPython under Mode.
On my Raspberry Pi I saw Adafruit.

But I am getting the same error!

ModuleNotFoundError: No module named 'board'

I used the new beta CircuitPython 7.0.0-rc.1

But still the same error.

Is there a way to download the modules that are supposed to be in the .UF2 file?

Thanks for the help,

Ralph

User avatar
adafruit_support_carter
 
Posts: 29176
Joined: Tue Nov 29, 2016 2:45 pm

Re: No LED Raspberry Pi Pico

Post by adafruit_support_carter »

ModuleNotFoundError: No module named 'board'
I'm guessing somehow you are running Python locally and not CircuitPython on the Pico. The board module is built in to the CircuitPython firmware.

Here's an example of the Mu editor connected to a Pico. You can see how code.py runs and prints the expected output. It then exits to the REPL (>>>) prompt and the banner text confirms the CircuitPython version number as well as the Pico board. And the board module can readily be imported at the REPL prompt.
Screenshot from 2021-09-07 09-18-19.png
Screenshot from 2021-09-07 09-18-19.png (99.48 KiB) Viewed 68 times

User avatar
ralphxyz
 
Posts: 68
Joined: Sun Sep 05, 2010 11:22 am

Re: No LED Raspberry Pi Pico

Post by ralphxyz »

I think you are correct, but why?
The same thing is happening on my Raspberry Pi and Windows 10.

It is really stupid that the Pico has no indication of being in the bootloader mode.

I see the CIRCUITPY folder in Files Explorer but MU does not detect the device

Code: Select all

2021-09-07 16:10:24,955 - root:271(run) INFO: 

-----------------

Starting Mu 1.1.0.beta.5
2021-09-07 16:10:25,086 - root:272(run) INFO: uname_result(system='Windows', node='HP_10292012', release='10', version='10.0.19041', machine='AMD64', processor='Intel64 Family 6 Model 58 Stepping 9, GenuineIntel')
2021-09-07 16:10:25,087 - root:273(run) INFO: Platform: Windows-10-10.0.19041-SP0
2021-09-07 16:10:25,087 - root:274(run) INFO: Python path: ['C:\\Users\\Ralph\\AppData\\Local\\Programs\\Mu Editor', 'C:\\Users\\Ralph\\AppData\\Local\\Programs\\Mu Editor\\Python\\python38.zip', 'C:\\Users\\Ralph\\AppData\\Local\\Programs\\Mu Editor\\Python\\DLLs', 'C:\\Users\\Ralph\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib', 'C:\\Users\\Ralph\\AppData\\Local\\Programs\\Mu Editor\\Python', 'C:\\Users\\Ralph\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages', 'C:\\Users\\Ralph\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\setuptools-49.6.0-py3.8.egg', 'C:\\Users\\Ralph\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\pip-20.2.2-py3.8.egg', 'C:\\Users\\Ralph\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\win32', 'C:\\Users\\Ralph\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\win32\\lib', 'C:\\Users\\Ralph\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\Pythonwin', 'C:\\Users\\Ralph\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\IPython\\extensions']
2021-09-07 16:10:25,127 - root:275(run) INFO: Language code: en_US
2021-09-07 16:10:25,128 - mu.settings:220(load) WARNING: No settings file found at C:\Users\Ralph\AppData\Local\python\mu\settings.json; skipping
2021-09-07 16:10:27,328 - mu.virtual_environment:585(ensure_and_create) INFO: Added log handler.
2021-09-07 16:10:47,515 - mu.virtual_environment:596(ensure_and_create) DEBUG: Checking virtual environment; attempt #1.
2021-09-07 16:10:47,516 - mu.virtual_environment:685(ensure_path) INFO: Virtual Environment found at: C:\Users\Ralph\AppData\Local\python\mu\mu_venv-38-20210815-145940
2021-09-07 16:10:47,577 - mu.virtual_environment:698(ensure_interpreter) INFO: Interpreter found at: C:\Users\Ralph\AppData\Local\python\mu\mu_venv-38-20210815-145940\scripts\python.exe
2021-09-07 16:10:47,581 - mu.virtual_environment:429(run_subprocess) INFO: Running ('C:\\Users\\Ralph\\AppData\\Local\\python\\mu\\mu_venv-38-20210815-145940\\scripts\\python.exe', '-c', 'import sys; print("%s%s" % sys.version_info[:2])') with kwargs {}
2021-09-07 16:10:48,163 - mu.virtual_environment:441(run_subprocess) DEBUG: Process returned 0; output: 38
2021-09-07 16:10:48,163 - mu.virtual_environment:729(ensure_interpreter_version) INFO: Both interpreters at version 38
2021-09-07 16:10:48,164 - mu.virtual_environment:755(ensure_pip) INFO: Pip found at: C:\Users\Ralph\AppData\Local\python\mu\mu_venv-38-20210815-145940\scripts\pip.exe
2021-09-07 16:10:48,165 - mu.virtual_environment:741(ensure_key_modules) DEBUG: Verifying import of: pgzero
2021-09-07 16:10:48,165 - mu.virtual_environment:429(run_subprocess) INFO: Running ('C:\\Users\\Ralph\\AppData\\Local\\python\\mu\\mu_venv-38-20210815-145940\\scripts\\python.exe', '-c', 'import pgzero') with kwargs {}
2021-09-07 16:10:48,378 - mu.virtual_environment:441(run_subprocess) DEBUG: Process returned 0; output: 
2021-09-07 16:10:48,378 - mu.virtual_environment:741(ensure_key_modules) DEBUG: Verifying import of: flask
2021-09-07 16:10:48,378 - mu.virtual_environment:429(run_subprocess) INFO: Running ('C:\\Users\\Ralph\\AppData\\Local\\python\\mu\\mu_venv-38-20210815-145940\\scripts\\python.exe', '-c', 'import flask') with kwargs {}
2021-09-07 16:10:52,374 - mu.virtual_environment:441(run_subprocess) DEBUG: Process returned 0; output: 
2021-09-07 16:10:52,374 - mu.virtual_environment:741(ensure_key_modules) DEBUG: Verifying import of: qtconsole
2021-09-07 16:10:52,374 - mu.virtual_environment:429(run_subprocess) INFO: Running ('C:\\Users\\Ralph\\AppData\\Local\\python\\mu\\mu_venv-38-20210815-145940\\scripts\\python.exe', '-c', 'import qtconsole') with kwargs {}
2021-09-07 16:10:52,643 - mu.virtual_environment:441(run_subprocess) DEBUG: Process returned 0; output: 
2021-09-07 16:10:52,643 - mu.virtual_environment:741(ensure_key_modules) DEBUG: Verifying import of: esptool
2021-09-07 16:10:52,643 - mu.virtual_environment:429(run_subprocess) INFO: Running ('C:\\Users\\Ralph\\AppData\\Local\\python\\mu\\mu_venv-38-20210815-145940\\scripts\\python.exe', '-c', 'import esptool') with kwargs {}
2021-09-07 16:10:53,140 - mu.virtual_environment:441(run_subprocess) DEBUG: Process returned 0; output: 
2021-09-07 16:10:53,140 - mu.virtual_environment:628(ensure_and_create) INFO: Valid virtual environment found at C:\Users\Ralph\AppData\Local\python\mu\mu_venv-38-20210815-145940
2021-09-07 16:10:53,141 - mu.settings:169(save) DEBUG: Saving to C:\Users\Ralph\AppData\Local\python\mu\venv.json
2021-09-07 16:10:53,727 - mu.logic:758(__init__) INFO: Setting up editor.
2021-09-07 16:10:53,732 - mu.logic:778(__init__) INFO: Log directory: C:\Users\Ralph\AppData\Local\python\mu\Logs
2021-09-07 16:10:53,732 - mu.logic:779(__init__) INFO: Data directory: C:\Users\Ralph\AppData\Local\python\mu
2021-09-07 16:10:53,758 - mu.logic:793(setup) INFO: Available modes: python, circuitpython, microbit, esp, web, pyboard, debugger, pygamezero, lego, pico
2021-09-07 16:10:53,758 - mu.modes.base:61(get_default_workspace) INFO: Using workspace C:\Users\Ralph\mu_code from settings file
2021-09-07 16:10:55,045 - mu.modes.base:61(get_default_workspace) INFO: Using workspace C:\Users\Ralph\mu_code from settings file
2021-09-07 16:10:55,045 - mu.logic:1523(change_mode) INFO: Workspace directory: C:\Users\Ralph\mu_code
2021-09-07 16:10:55,046 - mu.logic:867(restore_session) DEBUG: <SessionSettings from C:\Users\Ralph\AppData\Local\python\mu\session.json>
2021-09-07 16:10:55,090 - mu.logic:978(_load) INFO: Loading script from: C:\Users\Ralph\mu_code\Pico_Led.py
2021-09-07 16:10:55,092 - mu.logic:316(read_and_decode) DEBUG: Trying to decode with utf-8
2021-09-07 16:10:55,092 - mu.logic:319(read_and_decode) INFO: Decoded with utf-8
2021-09-07 16:10:55,093 - mu.logic:332(read_and_decode) DEBUG: Detected newline '\n'
2021-09-07 16:10:55,093 - mu.logic:1077(_load) DEBUG: import time
import board
import digitalio

led = digitalio.DigitalInOut(board.LED)
led.direction = digitalio.Direction.OUTPUT

while True:
    led.value = True
    time.sleep(0.5)
    led.value = False
    time.sleep(0.5)

2021-09-07 16:10:56,714 - mu.logic:889(restore_session) INFO: Loaded files.
2021-09-07 16:10:56,714 - mu.logic:892(restore_session) INFO: User defined environment variables: []
2021-09-07 16:10:56,714 - mu.logic:897(restore_session) INFO: Minify scripts on micro:bit? False
2021-09-07 16:10:56,874 - mu.modes.base:61(get_default_workspace) INFO: Using workspace C:\Users\Ralph\mu_code from settings file
2021-09-07 16:10:56,874 - mu.logic:1523(change_mode) INFO: Workspace directory: C:\Users\Ralph\mu_code
2021-09-07 16:12:41,582 - mu.logic:1470(select_mode) INFO: Showing available modes: ['python', 'circuitpython', 'microbit', 'esp', 'web', 'pyboard', 'debugger', 'pygamezero', 'lego', 'pico']
2021-09-07 16:12:49,811 - mu.logic:1477(select_mode) INFO: New mode selected: circuitpython
2021-09-07 16:12:49,867 - mu.modes.base:61(get_default_workspace) INFO: Using workspace C:\Users\Ralph\mu_code from settings file
2021-09-07 16:12:50,106 - mu.interface.main:1024(show_message) DEBUG: Could not find an attached CircuitPython device.
2021-09-07 16:12:50,106 - mu.interface.main:1025(show_message) DEBUG: Python files for CircuitPython devices are stored on the device. Therefore, to edit these files you need to have the device plugged in. Until you plug in a device, Mu will use the directory found here:

 C:\Users\Ralph\mu_code

...to store your code.
2021-09-07 16:18:17,030 - mu.logic:1523(change_mode) INFO: Workspace directory: C:\Users\Ralph\mu_code
2021-09-07 16:19:17,418 - mu.logic:737(check_usb) INFO: circuitpython device connected on port: COM4(VID: 0x239A, PID: 0x80F4, manufacturer: 'Microsoft')
2021-09-07 16:20:50,427 - mu.settings:169(save) DEBUG: Saving to C:\Users\Ralph\AppData\Local\python\mu\session.json
2021-09-07 16:20:50,429 - mu.logic:1387(quit) INFO: Quitting.


2021-09-07 16:20:50,484 - mu.settings:169(save) DEBUG: Saving to C:\Users\Ralph\AppData\Local\python\mu\session.json
2021-09-07 16:20:50,487 - mu.settings:169(save) DEBUG: Saving to C:\Users\Ralph\AppData\Local\python\mu\venv.json
2021-09-07 16:20:58,195 - root:271(run) INFO: 

-----------------

Starting Mu 1.1.0.beta.5
2021-09-07 16:20:58,196 - root:272(run) INFO: uname_result(system='Windows', node='HP_10292012', release='10', version='10.0.19041', machine='AMD64', processor='Intel64 Family 6 Model 58 Stepping 9, GenuineIntel')
2021-09-07 16:20:58,196 - root:273(run) INFO: Platform: Windows-10-10.0.19041-SP0
2021-09-07 16:20:58,196 - root:274(run) INFO: Python path: ['C:\\Users\\Ralph\\AppData\\Local\\Programs\\Mu Editor', 'C:\\Users\\Ralph\\AppData\\Local\\Programs\\Mu Editor\\Python\\python38.zip', 'C:\\Users\\Ralph\\AppData\\Local\\Programs\\Mu Editor\\Python\\DLLs', 'C:\\Users\\Ralph\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib', 'C:\\Users\\Ralph\\AppData\\Local\\Programs\\Mu Editor\\Python', 'C:\\Users\\Ralph\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages', 'C:\\Users\\Ralph\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\setuptools-49.6.0-py3.8.egg', 'C:\\Users\\Ralph\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\pip-20.2.2-py3.8.egg', 'C:\\Users\\Ralph\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\win32', 'C:\\Users\\Ralph\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\win32\\lib', 'C:\\Users\\Ralph\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\Pythonwin', 'C:\\Users\\Ralph\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\IPython\\extensions']
2021-09-07 16:20:58,196 - root:275(run) INFO: Language code: en_US
2021-09-07 16:20:58,197 - mu.settings:220(load) WARNING: No settings file found at C:\Users\Ralph\AppData\Local\python\mu\settings.json; skipping
2021-09-07 16:20:58,285 - mu.virtual_environment:585(ensure_and_create) INFO: Added log handler.
2021-09-07 16:20:58,849 - mu.virtual_environment:596(ensure_and_create) DEBUG: Checking virtual environment; attempt #1.
2021-09-07 16:20:58,850 - mu.virtual_environment:685(ensure_path) INFO: Virtual Environment found at: C:\Users\Ralph\AppData\Local\python\mu\mu_venv-38-20210815-145940
2021-09-07 16:20:58,863 - mu.virtual_environment:698(ensure_interpreter) INFO: Interpreter found at: C:\Users\Ralph\AppData\Local\python\mu\mu_venv-38-20210815-145940\scripts\python.exe
2021-09-07 16:20:58,864 - mu.virtual_environment:429(run_subprocess) INFO: Running ('C:\\Users\\Ralph\\AppData\\Local\\python\\mu\\mu_venv-38-20210815-145940\\scripts\\python.exe', '-c', 'import sys; print("%s%s" % sys.version_info[:2])') with kwargs {}
2021-09-07 16:20:59,317 - mu.virtual_environment:441(run_subprocess) DEBUG: Process returned 0; output: 38
2021-09-07 16:20:59,317 - mu.virtual_environment:729(ensure_interpreter_version) INFO: Both interpreters at version 38
2021-09-07 16:20:59,318 - mu.virtual_environment:755(ensure_pip) INFO: Pip found at: C:\Users\Ralph\AppData\Local\python\mu\mu_venv-38-20210815-145940\scripts\pip.exe
2021-09-07 16:20:59,332 - mu.virtual_environment:741(ensure_key_modules) DEBUG: Verifying import of: pgzero
2021-09-07 16:20:59,332 - mu.virtual_environment:429(run_subprocess) INFO: Running ('C:\\Users\\Ralph\\AppData\\Local\\python\\mu\\mu_venv-38-20210815-145940\\scripts\\python.exe', '-c', 'import pgzero') with kwargs {}
2021-09-07 16:20:59,506 - mu.virtual_environment:441(run_subprocess) DEBUG: Process returned 0; output: 
2021-09-07 16:20:59,506 - mu.virtual_environment:741(ensure_key_modules) DEBUG: Verifying import of: flask
2021-09-07 16:20:59,506 - mu.virtual_environment:429(run_subprocess) INFO: Running ('C:\\Users\\Ralph\\AppData\\Local\\python\\mu\\mu_venv-38-20210815-145940\\scripts\\python.exe', '-c', 'import flask') with kwargs {}
2021-09-07 16:21:00,486 - mu.virtual_environment:441(run_subprocess) DEBUG: Process returned 0; output: 
2021-09-07 16:21:00,487 - mu.virtual_environment:741(ensure_key_modules) DEBUG: Verifying import of: qtconsole
2021-09-07 16:21:00,487 - mu.virtual_environment:429(run_subprocess) INFO: Running ('C:\\Users\\Ralph\\AppData\\Local\\python\\mu\\mu_venv-38-20210815-145940\\scripts\\python.exe', '-c', 'import qtconsole') with kwargs {}
2021-09-07 16:21:00,665 - mu.virtual_environment:441(run_subprocess) DEBUG: Process returned 0; output: 
2021-09-07 16:21:00,665 - mu.virtual_environment:741(ensure_key_modules) DEBUG: Verifying import of: esptool
2021-09-07 16:21:00,665 - mu.virtual_environment:429(run_subprocess) INFO: Running ('C:\\Users\\Ralph\\AppData\\Local\\python\\mu\\mu_venv-38-20210815-145940\\scripts\\python.exe', '-c', 'import esptool') with kwargs {}
2021-09-07 16:21:00,912 - mu.virtual_environment:441(run_subprocess) DEBUG: Process returned 0; output: 
2021-09-07 16:21:00,912 - mu.virtual_environment:628(ensure_and_create) INFO: Valid virtual environment found at C:\Users\Ralph\AppData\Local\python\mu\mu_venv-38-20210815-145940
2021-09-07 16:21:00,912 - mu.settings:169(save) DEBUG: Saving to C:\Users\Ralph\AppData\Local\python\mu\venv.json
2021-09-07 16:21:01,038 - mu.logic:758(__init__) INFO: Setting up editor.
2021-09-07 16:21:01,039 - mu.logic:778(__init__) INFO: Log directory: C:\Users\Ralph\AppData\Local\python\mu\Logs
2021-09-07 16:21:01,039 - mu.logic:779(__init__) INFO: Data directory: C:\Users\Ralph\AppData\Local\python\mu
2021-09-07 16:21:01,039 - mu.logic:793(setup) INFO: Available modes: python, circuitpython, microbit, esp, web, pyboard, debugger, pygamezero, lego, pico
2021-09-07 16:21:01,039 - mu.modes.base:61(get_default_workspace) INFO: Using workspace C:\Users\Ralph\mu_code from settings file
2021-09-07 16:21:01,130 - mu.modes.base:61(get_default_workspace) INFO: Using workspace C:\Users\Ralph\mu_code from settings file
2021-09-07 16:21:01,131 - mu.logic:1523(change_mode) INFO: Workspace directory: C:\Users\Ralph\mu_code
2021-09-07 16:21:01,131 - mu.logic:867(restore_session) DEBUG: <SessionSettings from C:\Users\Ralph\AppData\Local\python\mu\session.json>
2021-09-07 16:21:01,139 - mu.logic:978(_load) INFO: Loading script from: C:\Users\Ralph\mu_code\Pico_Led.py
2021-09-07 16:21:01,139 - mu.logic:316(read_and_decode) DEBUG: Trying to decode with utf-8
2021-09-07 16:21:01,139 - mu.logic:319(read_and_decode) INFO: Decoded with utf-8
2021-09-07 16:21:01,140 - mu.logic:332(read_and_decode) DEBUG: Detected newline '\n'
2021-09-07 16:21:01,140 - mu.logic:1077(_load) DEBUG: import time
import board
import digitalio

led = digitalio.DigitalInOut(board.LED)
led.direction = digitalio.Direction.OUTPUT

while True:
    led.value = True
    time.sleep(0.5)
    led.value = False
    time.sleep(0.5)

2021-09-07 16:21:01,727 - mu.logic:889(restore_session) INFO: Loaded files.
2021-09-07 16:21:01,727 - mu.logic:892(restore_session) INFO: User defined environment variables: []
2021-09-07 16:21:01,727 - mu.logic:897(restore_session) INFO: Minify scripts on micro:bit? False
2021-09-07 16:21:01,771 - mu.logic:1523(change_mode) INFO: Workspace directory: E:\
2021-09-07 16:21:02,095 - mu.logic:737(check_usb) INFO: circuitpython device connected on port: COM4(VID: 0x239A, PID: 0x80F4, manufacturer: 'Microsoft')
2021-09-07 16:22:22,961 - mu.logic:1115(get_dialog_directory) INFO: Using path for file dialog: C:\Users\Ralph\mu_code
2021-09-07 16:23:18,583 - mu.interface.main:405(get_load_path) DEBUG: Getting load path: 
2021-09-07 16:31:44,598 - mu.modes.base:112(open) INFO: Connecting to REPL on port: COM4
2021-09-07 16:31:44,634 - mu.modes.base:130(open) INFO: Connected to REPL on port: COM4
2021-09-07 16:31:44,823 - mu.modes.base:503(add_repl) INFO: Started REPL on port: COM4
2021-09-07 16:31:44,823 - mu.modes.base:474(toggle_repl) INFO: Toggle REPL on.
2021-09-07 16:34:58,004 - mu.logic:1186(save_tab_to_file) INFO: Saving script to: C:\Users\Ralph\mu_code\Pico_Led.py
2021-09-07 16:34:58,005 - mu.logic:1187(save_tab_to_file) DEBUG: print("Hello World")

2021-09-07 16:35:04,726 - mu.logic:1186(save_tab_to_file) INFO: Saving script to: C:\Users\Ralph\mu_code\Pico_Led.py
2021-09-07 16:35:04,726 - mu.logic:1187(save_tab_to_file) DEBUG: print("Hello World")

2021-09-07 16:35:13,865 - mu.logic:1115(get_dialog_directory) INFO: Using path for file dialog: C:\Users\Ralph\mu_code
2021-09-07 16:35:20,189 - mu.interface.main:405(get_load_path) DEBUG: Getting load path: 
2021-09-07 16:35:23,831 - mu.logic:1186(save_tab_to_file) INFO: Saving script to: C:\Users\Ralph\mu_code\Pico_Led.py
2021-09-07 16:35:23,831 - mu.logic:1187(save_tab_to_file) DEBUG: print("Hello World")

2021-09-07 16:35:25,912 - mu.logic:1186(save_tab_to_file) INFO: Saving script to: C:\Users\Ralph\mu_code\Pico_Led.py
2021-09-07 16:35:25,912 - mu.logic:1187(save_tab_to_file) DEBUG: print("Hello World")

2021-09-07 16:35:26,345 - mu.logic:1186(save_tab_to_file) INFO: Saving script to: C:\Users\Ralph\mu_code\Pico_Led.py
2021-09-07 16:35:26,345 - mu.logic:1187(save_tab_to_file) DEBUG: print("Hello World")

2021-09-07 16:35:34,314 - mu.logic:1186(save_tab_to_file) INFO: Saving script to: C:\Users\Ralph\mu_code\Pico_Led.py
2021-09-07 16:35:34,314 - mu.logic:1187(save_tab_to_file) DEBUG: print("Hello World")

2021-09-07 16:35:43,370 - mu.logic:1186(save_tab_to_file) INFO: Saving script to: C:\Users\Ralph\mu_code\Pico_Led.py
2021-09-07 16:35:43,371 - mu.logic:1187(save_tab_to_file) DEBUG: print("Hello World")

2021-09-07 16:35:46,083 - mu.logic:1115(get_dialog_directory) INFO: Using path for file dialog: C:\Users\Ralph\mu_code
2021-09-07 16:35:52,777 - mu.interface.main:405(get_load_path) DEBUG: Getting load path: 
2021-09-07 16:40:27,772 - mu.logic:1396(show_admin) INFO: Showing admin with logs from C:\Users\Ralph\AppData\Local\python\mu\Logs\mu.log
2021-09-07 16:40:27,772 - mu.virtual_environment:917(installed_packages) INFO: Discovering installed third party modules in venv.
2021-09-07 16:40:27,784 - mu.virtual_environment:114(run_blocking) INFO: About to run blocking C:\Users\Ralph\AppData\Local\python\mu\mu_venv-38-20210815-145940\scripts\pip.exe with args ['list', '--disable-pip-version-check'] and envvars {}
2021-09-07 16:40:39,031 - mu.virtual_environment:164(wait) DEBUG: Finished: True; exitStatus 0; exitCode 0
2021-09-07 16:40:39,031 - mu.virtual_environment:249(run) DEBUG: Process output: Package           Version
----------------- -------
backcall          0.2.0
bitstring         3.1.7
cffi              1.14.5
click             8.0.1
colorama          0.4.4
BANNED      3.4.7
debugpy           1.3.0
decorator         5.0.9
ecdsa             0.17.0
esptool           3.1
Flask             1.1.2
ipykernel         6.0.1
ipython           7.25.0
ipython-genutils  0.2.0
itsdangerous      2.0.1
BANNED              0.18.0
Jinja2            3.0.1
jupyter-client    6.1.12
jupyter-core      4.7.1
MarkupSafe        2.0.1
matplotlib-inline 0.1.2
numpy             1.21.0
parso             0.8.2
pgzero            1.2.1
pickleshare       0.7.5
pip               21.1.2
prompt-toolkit    3.0.19
pycparser         2.20
pygame            2.0.1
Pygments          2.9.0
pyserial          3.5
python-dateutil   2.8.1
pywin32           301
pyzmq             22.1.0
qtconsole         4.7.4
QtPy              1.9.0
reedsolo          1.5.4
setuptools        57.0.0
six               1.16.0
tornado           6.1
traitlets         5.0.5
wcwidth           0.2.5
Werkzeug          2.0.1
wheel             0.36.2
2021-09-07 16:40:39,031 - mu.virtual_environment:926(installed_packages) INFO: []

User avatar
tannewt
 
Posts: 3304
Joined: Thu Oct 06, 2016 8:48 pm

Re: No LED Raspberry Pi Pico

Post by tannewt »


User avatar
ralphxyz
 
Posts: 68
Joined: Sun Sep 05, 2010 11:22 am

Re: No LED Raspberry Pi Pico

Post by ralphxyz »

Yes, that guide goes to https://learn.adafruit.com/welcome-to-circuitpython
Which then eventually goes to https://learn.adafruit.com/welcome-to-c ... cuitpython
Which then goes to https://circuitpython.org/downloads
Which then goes to https://circuitpython.org/board/raspberry_pi_pico/ the .UF2 download page.

https://learn.adafruit.com/welcome-to-c ... cuitpython after the instructions for Windows 8
has the only actual instructions I have found but they are based on a different device not the Pico.

This is one thing I do not see:
"When you double-tap the reset button, you'll see the boardnameBOOT drive. You can drag files to both, but only CIRCUITPY will run your CircuitPython code."

Also Windows does not detect a new USB device by making a tone when the device is connected but it does appear in File Explorer.

Thanks for your help.

Ralph

User avatar
adafruit_support_carter
 
Posts: 29176
Joined: Tue Nov 29, 2016 2:45 pm

Re: No LED Raspberry Pi Pico

Post by adafruit_support_carter »

Double pressing reset to get boardBOOT is not working? That could be some 3rd party software interfering. Take a look here for some known reasons for this behavior:
https://learn.adafruit.com/welcome-to-c ... leshooting

Locked
Please be positive and constructive with your questions and comments.

Return to “Adafruit CircuitPython”