QtPy2040 does not reliably boot to CircuitPy code

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
frankleonrose
 
Posts: 18
Joined: Fri Jun 24, 2016 3:49 pm

QtPy2040 does not reliably boot to CircuitPy code

Post by frankleonrose »

I have a QtPy2040 that I've loaded CircuitPython (adafruit-circuitpython-adafruit_qtpy_rp2040-en_US-6.2.0.uf2) to. Works fine, I add code, terrific.

I eject from laptop and plug USB into USB power brick to just run the code - and the QtPy2040 does not seem to boot. I hit reset and after a few times it finally shows the CP status light indicating that my code has run and the LED driver I have attached via StemmaQt shows things are running because it does its own flashy-blinky.

Is the board supposed to start running code.py when it gets power? Or is it expected that I would have to hit reset?

Thanks! (I love the QtPy2040 and CircuitPython for this work!)

- Frank

User avatar
dastels
 
Posts: 15667
Joined: Tue Oct 20, 2015 3:22 pm

Re: QtPy2040 does not reliably boot to CircuitPy code

Post by dastels »

It definitely should load and execute code.py (or main.py, whichever you have on the drive... only have one or the other) when it powers up.

With an actual USB connection it works as expected?

Can you measure the voltage on the 5v and 3v pins?

Dave

User avatar
adafruit2
 
Posts: 22148
Joined: Fri Mar 11, 2005 7:36 pm

Re: QtPy2040 does not reliably boot to CircuitPy code

Post by adafruit2 »

we've fixed a few timing things for RP2040, can you try 7.0.0 alpha?

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

Return to “Microcontrollers”