Qt Py can't find .ino file, please help newbie

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
jayshomebrew
 
Posts: 4
Joined: Mon May 31, 2021 11:09 am

Qt Py can't find .ino file, please help newbie

Post by jayshomebrew »

Hi.
I have a QT PY that was flashed with Tasmota. I would like to put adafruit circuitpython / UF2 bootloader back on. I'm trying to follow the directions from:
https://learn.adafruit.com/installing-c ... s/overview

but stuck at the section to get the .INO file for Qt py, as the link only has bin files. Any help would be appreciated.

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

Re: Qt Py can't find .ino file, please help newbie

Post by dastels »

There is no INO. CircuitPython is generally installed using a UF2 file.

making sure the bootloader is up to date (and updating it if not) is a good first step: https://learn.adafruit.com/adafruit-qt- ... bootloader. The updater file is in the bottom right of https://circuitpython.org/board/qtpy_m0/.

Dave

User avatar
jayshomebrew
 
Posts: 4
Joined: Mon May 31, 2021 11:09 am

Re: Qt Py can't find .ino file, please help newbie

Post by jayshomebrew »

@dastels
Thank you, but again, this QT PY doesn't show up as a drive letter/fat 32 as its been completely wiped by a different .bin file (tasmota). I was following the instructions to use Ardruino to re-install UF2 bootloader, and according to the instructions, I need a INO file that is no where to be found.

This shows to select the INO file:
https://learn.adafruit.com/installing-c ... no-3012326

User avatar
westfw
 
Posts: 2008
Joined: Fri Apr 27, 2007 1:01 pm

Re: Qt Py can't find .ino file, please help newbie

Post by westfw »

I need a INO file that is no where to be found.
The way I read it, the .ino file in question is created when you build the uf2 bootloader for the particular board in question.
building the bootloader doesn't seem to be a particularly beginner-friendly process :-(

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

Re: Qt Py can't find .ino file, please help newbie

Post by dastels »

You don't need to build anything. Use the bootloader update UF2 to update the bootloader, and the appropriate CircuitPython UF2 to install CircuitPython.

A INO file is the main C++ source file in an Arduino project. It's created by you making an Arduino project, and you then add your C++ code to it.

Dave

User avatar
westfw
 
Posts: 2008
Joined: Fri Apr 27, 2007 1:01 pm

Re: Qt Py can't find .ino file, please help newbie

Post by westfw »

Tasmota looks like an ESP-only thing. Do you have an ESP32 QT Py? (and which one?)
ESPs have some sort of bootloader in ROM that you can't get rid of, although I'm not sure of how it would be invoked on a QTPy. That would enable the .bin files to be (The tutorial you linked was for SAMD boards, which are different, and CAN have their bootloader overwritten.)

Perhaps, see here: https://learn.adafruit.com/adafruit-qt- ... tory-reset

User avatar
jayshomebrew
 
Posts: 4
Joined: Mon May 31, 2021 11:09 am

Re: Qt Py can't find .ino file, please help newbie

Post by jayshomebrew »

@westfw @dastels
Thank you, that was the issue, I have a ESP32 QT Py, which I didn't know there were two versions. Seems so obvious now, but I was just looking at the wrong tutorials. Recovery was easy following your links. Thanks again.

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

Return to “Arduino”