-
Older Activity
-
Today, 12:27 AM
Sorry all, keep meaning to try this stuff out...
But been distracted also with the MSC stuff. More details on that soon.
129 replies | 1633 view(s)
-
Today, 12:25 AM
There are lots of different tricks that you can do.
If for example you are simply updating one or more fields, you can use the clip rectangle code, where you set the clip around the field being updated and then do...
10 replies | 127 view(s)
-
Yesterday, 10:00 PM
As for the display it may depend on what you are doing and the like, which library and how you are using it.
Sounds like you are using my: ILI9341_t3n
No it does not use DMA by default. You need to tell it to...
10 replies | 127 view(s)
-
Yesterday, 08:19 PM
Hopefully someone who is less electrically challenged than me, will be able to give a more definitive answer.
Note: when I first read the message, it was not clear to me, what battery...
But looking at the...
2 replies | 39 view(s)
-
05-13-2022, 06:53 PM
Sorry I may be wrong, but I am wondering if the issue is really an issue with Serial?
That is if I am not mistaken, the chip connects using SPI.
Often times a difference between uploading new and powering up, is...
6 replies | 173 view(s)
-
05-13-2022, 05:48 PM
I may be missing something? What is the actual difference between the keybow 2040 versus plain Jane PICO or Adafruit Feather RP2040?
Yes I understand from their schematic that a bunch of the GPIOs are used for the...
41 replies | 738 view(s)
-
05-13-2022, 01:04 PM
Good morning Paul,
You can program the RPI2040 Pico with CircuitPython.
Instructions as well links to downloads are on the page: https://circuitpython.org/board/raspberry_pi_pico/
Short answer is you download a...
41 replies | 738 view(s)
-
05-13-2022, 12:46 PM
Sorry I have not used any of these DAC chips nor the library and the like.
So I have no way of trying it out and see what if anything works.
So probably not much help. One thing you might try doing is looking at...
2 replies | 174 view(s)
-
05-13-2022, 12:21 AM
Hello again @JimF
Any success?
Just for the heck of it I ordered a couple of cheap displays: https://smile.amazon.com/dp/B079M3GWFG
Which I picked up at my mailbox this morning, soldered some pins in.... And...
5 replies | 121 view(s)
-
05-12-2022, 10:08 PM
Hi Paul and all,
Quick updates - I did put a quick note in first message. Will update the main branch as well to direct others to get the beta releases.
Sorry I have been distracted working on the USBHost MSC...
1176 replies | 56695 view(s)
-
05-12-2022, 07:33 PM
So now I have some new shiny stuff like the same airwing...
Might have to see if any of it works :D
129 replies | 1633 view(s)
-
05-11-2022, 10:57 PM
Sounds good. Still draft PR (not sure what that means), but hopefully soon!
167 replies | 28726 view(s)
-
05-11-2022, 12:21 PM
Obviously the simplest way to connect would be if your GPS had some ttl level outputs, that you could connect up to a hardware serial port.
(Maybe requiring TTL level shifter(s) if voltage difference).
But as...
5 replies | 146 view(s)
-
05-10-2022, 11:00 PM
I would double check that you have a matching header file with the .cpp.
Actually now looking at it, the variable usb_mtp_status should be defined within usb_mtp.h
On my build 1.8.19 with ...
1176 replies | 56695 view(s)
-
05-10-2022, 02:37 PM
Sorry sort of hard to tell what is going on, without additional information.
So far we know you programmed it somehow with something that did not work.
In cases like, this it would really help to know details...
2 replies | 118 view(s)
-
05-10-2022, 12:10 PM
Also remember that Leonardo probably runs at 5v, and T4.1 runs at 3.3v and the IO pin are NOT 5v tolerant. So might need some form of TTL level shifting if you connect the IO pins of one
to the other.
Could as...
5 replies | 158 view(s)
-
05-10-2022, 12:57 AM
What I do, is to use github...
That is I use git clone... But other methods would be to download zip file and then have Arduino install the zip file... Which is more or less like what you mentioned.
Note: The...
1176 replies | 56695 view(s)
-
05-09-2022, 08:59 PM
I lied :D
I wondered as the only real difference between Teensy build and these other builds was these other builds left areas in their region of memory that they did not write anything to.
So I hacked up a copy...
35 replies | 1531 view(s)
-
05-09-2022, 02:40 PM
Sorry, I have not used these forms of displays for a long time.
So question is what display, what are connections, and which library are you using?
Yes I know LiquidCrystal, but is it the one that is contained in...
5 replies | 121 view(s)
-
05-09-2022, 01:53 PM
The only other thing I thought I would test, is to verify that on the same Teensy (4.1) if an Arduino sketch created a LittleFS_Program disk starting at the same place if it was retained or not.
So I hacked up the...
35 replies | 1531 view(s)
-
05-09-2022, 12:26 PM
Playing around some more: Curious about what ranges of data do MicroPython and CircuitPython define in hex file versus standard Arduino build:
Arduino build using current beta Teeensyduino...
35 replies | 1531 view(s)
-
05-08-2022, 09:25 PM
Quick update: Trying to make it sure it actually was not preserved... So print hex the reads of logical cluster (0) - hard coded in the sketch and
the Cluster 1 which is the first sector of the fat:
Here is on fresh...
35 replies | 1531 view(s)
-
05-08-2022, 05:55 PM
Hi Paul and all,
I am also trying to debug why CircuitPython (CPy for short) installs also rebuild their File Filesystem on the first boot after updating the hex file...
I have started by adding some debug output...
35 replies | 1531 view(s)
-
05-07-2022, 09:13 PM
Simple answer, no these pins can not be remapped to be swapped.
However if you only needed RX, you might be able to cheat.
Possibly two ways:
a) Set the TX pin to be in half duplex mode and leave it in RX...
3 replies | 124 view(s)
-
05-07-2022, 09:02 PM
Just curious, is this failure Teensy specific or does it happen on other hardware as well?
My new versions of the hardware won't get here until Monday or Tuesday
129 replies | 1633 view(s)
-
05-07-2022, 08:59 PM
Quick update: I un-installed the teensy IDE package.
So now building with new beta on 1.8.19
Note: I am still building with my fork of github of a few projects like SDFat, USBHost_t36... but are (or at least...
14 replies | 613 view(s)
-
05-07-2022, 01:58 PM
Good morning @defragster -
Not sure what you are asking? If you are asking about sizes of files versus bytes used...
I am guessing it all depends on the cluster size of your storage. So for example if you have...
568 replies | 35346 view(s)
-
05-07-2022, 12:28 PM
Paul, I am also curious about having multiple Teensy installs using the Arduino15 stuff as mentioned versus how I have multiple Robotis OpenCM for example where one is in the Arduino15 and the others are in:...
14 replies | 613 view(s)
-
05-07-2022, 11:54 AM
Paul - I had wondered if this beta would also show up as a new version for the Arduino boards packages...
i.e. if you had put the pieces in place to use the newer stuff in Arduino_cli that might better support...
14 replies | 613 view(s)
-
05-06-2022, 06:51 PM
Likewise understood. Although my guess is that many of us have done more testing using +Serial than with +Seremu...
The issue I mentioned, sort of stumped me for a bit, but then by chance looked at the udev rules.
...
568 replies | 35346 view(s)
-
05-06-2022, 02:46 PM
Quick update...
Things are coming along :D Probably a few more pieces to be put into place, which I am guessing as it has been progressing that Paul has been filtering in the changes.
Right not playing around...
568 replies | 35346 view(s)
-
05-06-2022, 12:50 AM
Not sure what all more I can add here, but
RA8875 - Yes should work the same. Probably played more with the code using T4.x than I have with T3.x
RawHid - By default should work the same. However it can work a...
4 replies | 141 view(s)
-
05-05-2022, 11:40 PM
:D - which is funny as they have #ifdef for teensy in their pass through code.
Quick FYI - as I mentioned was able to do the breakout board again today... But being a glutton for punishment,
I ordered the Feather...
129 replies | 1633 view(s)
-
05-05-2022, 02:04 PM
https://github.com/adafruit/nina-fw/releases/tag/1.7.4
129 replies | 1633 view(s)
-
05-05-2022, 01:41 PM
Good Morning @mjs513 and All:
I thought I would try it again to see if my first success of updating the firmware with FTDI cable was a fluke/lucky or if I could repeat it again.
I succeeded :D ...
129 replies | 1633 view(s)
-
05-04-2022, 04:36 PM
Obviously it is your decision on when you wish to release a new beta. If There is lots of stuff that others are needing, one option would be to simply release the beta without any of the MSC stuff.
Understood....
568 replies | 35346 view(s)
-
05-04-2022, 01:21 PM
Paul - I am not sure if you ever looked at the branches decouple or the one that is based off of it decouple_new_sdfat?
It looked like you created your own new branch: with_PFslib that you worked in for a bit and...
568 replies | 35346 view(s)
-
05-04-2022, 12:42 PM
Good morning all,
Looks like making some progress :D
Of course I would plug in a complicated drive ;)
I have a couple of external SSDs that I have been using for experimenting, like:...
568 replies | 35346 view(s)
-
05-04-2022, 01:33 AM
Yes I used a 5v FTDI cable: probably this one: https://www.sparkfun.com/products/9718
I do have others around as well. I got lucky... So far I don't think @mjs513 has. Again mine is the breakout board so a little...
129 replies | 1633 view(s)
-
05-04-2022, 12:53 AM
Also might be good if there was an example showing where you plug in a drive which has multiple volumes, how that is handled in the new object classes.
That is where in SDFat probably that walks the MBR and/or GPT...
568 replies | 35346 view(s)
-
05-03-2022, 10:52 PM
@wwatson, that was where I started... Their sketch did not work for me, likewise several other attempts... But as I mentioned the FTDI cable did work. After setting the state of GPIO0 and Busy.
Have not done much...
129 replies | 1633 view(s)
-
05-03-2022, 10:43 PM
I would look at the BlockDeviceInterface or in current version FsBlockDeviceInterface and see if it works for you.
The header file has a few different read operations available:
/**
* Read a sector.
*
...
4 replies | 103 view(s)
-
05-03-2022, 09:24 PM
Paul - The PFSLib stuff added to support Fat12 was not migrated into FatLib
The commit I did in UsbMscFat... https://github.com/KurtE/UsbMscFat/commit/d8c1ca13aadde2f2a058801e5e4ddcbf800130dc
This includes...
568 replies | 35346 view(s)
-
05-03-2022, 09:10 PM
Curious, was your FTDI 3.3v or 5v? I did mine with 5v version
129 replies | 1633 view(s)
-
05-03-2022, 08:02 PM
Quick update, I did a quick and dirty check to see how bad the sketch I was playing with, that allowed me to plug in a CircuitPython board and connect up through the MSC stuff (Fat12).
There are the obvious things...
568 replies | 35346 view(s)
-
05-03-2022, 06:11 PM
Quick update: I was able to update, the firmware using FTDI cable... Have not tried running it yet since it updated, but:
Hooked up power, gnd, TX/RX, RX/TX, GPI0 to gnd, and I momentarily connected RST to GND...
...
129 replies | 1633 view(s)
-
05-03-2022, 03:07 PM
Good Morning Paul,
I synced up, but am waiting until you give the go ahead and try things out... still distracted with some other things.
568 replies | 35346 view(s)
-
05-03-2022, 03:06 PM
I have not tried this either, although I did use the Teensy USBToSerial sketch and tried setting up different IO pins in different states and never got it to talk...
I hacked up a version of it to try different states...
129 replies | 1633 view(s)
-
05-03-2022, 01:59 PM
Note: On mine I tried the FirmwareUpdater... Changed the IO pins to match what was shown.
And it still goes: Unable to communicate with ESP32 boot ROM!
129 replies | 1633 view(s)
-
05-03-2022, 12:14 PM
It wont talk...
...
I wonder what the state of all of the IO pins needs to be for it to talk...
129 replies | 1633 view(s)
-
05-02-2022, 10:37 PM
I am not sure, it has been awhile, and I know some of it may have been to deal with other abstractions. FsVolume may be sufficient, would need to verify things like it handles both FatVolume and ExFatVolume.
Also...
568 replies | 35346 view(s)
-
05-02-2022, 08:02 PM
Works for me... I was torn between USBFilesystem or simply USBFS or to be like SDFat have it be USBFat...
But no real strong feelings so if those two work, go for it!
568 replies | 35346 view(s)
-
05-02-2022, 02:19 PM
Forgot to talk about:
if (myFilesystem1) {
File root = myFilesystem1.open("/");
printDirectory(myFilesystem1, 0);
}
I do like that, and was considering doing that as well.
We already have: if...
568 replies | 35346 view(s)
-
05-02-2022, 01:51 PM
Good morning Paul,
Quick comments:
USBHost myusb;
USBHub hub1(myusb);
USBHub hub2(myusb);
msController myDisk1(myusb);
MSCClass myFilesystem1(myDisk1);
MSCClass myFilesystem2(myDisk1);
568 replies | 35346 view(s)
-
05-02-2022, 01:19 AM
Sorry not sure of the way with virgin builds right now. Mine is currently very convoluted.
Also we are in the process of hopefully merging the MSC functionality into the core files and hopefully an initial setup...
568 replies | 35346 view(s)
-
05-01-2022, 01:41 PM
Yes it is possible.
Look at the SdFat_Usage.ino example sketch under SD you will see several examples of different ways to initialize the SD library through more advanced features of SDFat...
// Different SPI...
8 replies | 190 view(s)
-
05-01-2022, 01:17 PM
Sorry, I can not help on this one as I don't have the Airlift featherwing... I do have one of the
Adafruit AirLift – ESP32 WiFi Co-Processor Breakout Board
Which may work the same? Although I don't think I ever...
129 replies | 1633 view(s)
-
05-01-2022, 12:41 PM
Sorry I don't see anything obvious either...
I would try it, but I don't have W11 and may be awhile before I do as my computer is not compatible...
1 replies | 64 view(s)
-
05-01-2022, 12:27 PM
Nice project.
4 replies | 341 view(s)
-
04-30-2022, 08:31 PM
I totally agree with @mjs513, that the elapsedMillis is the easiest way to go and works great.
Usually the only time I don't use it, is if I need to build the code for different processor boards....
In which case...
13 replies | 232 view(s)
-
04-26-2022, 01:44 PM
Interesting topic... I am software guy not hardware, although did have a few EE classes back in school, but that was during the ice age....
But looking tat the other diagrams shown, I would guess something like:
26 replies | 391 view(s)
-
04-25-2022, 03:43 PM
Looks like the T2++ was discontinued: https://www.pjrc.com/store/teensypp.html
So, it would be a good idea to try one of the newer boards.
Sorry I don't know if anyone has tried doing that yet. Looks like the...
2 replies | 117 view(s)
-
04-25-2022, 03:23 PM
Sorry last night was going off of my IPAD, but I would normally post image from my excel document:
Which may help and/or at times too much information.
Hope that helps
4 replies | 119 view(s)
-
04-25-2022, 04:10 AM
They are digital pins on t41 as well look at section https://www.pjrc.com/store/teensy41.html#digital
At image of SD reader
4 replies | 119 view(s)
-
04-23-2022, 02:16 PM
Sorry, I am not sure how much help I would be here... Note: I have also recently received PM from another user who I do not believe has posted on the forum, about transferring data between ESP32 and Teensy....
As...
3 replies | 183 view(s)
-
04-23-2022, 01:44 PM
Again as @defragster stated, they did not connect up those two pins to anything within the Teensy Micromod board as you can see in their schematic
I asked about that during the beta cycle but...
4 replies | 129 view(s)
-
04-19-2022, 12:57 PM
Does not sound like a lot of fun!
Hope the supply problems gets better soon!
3 replies | 289 view(s)
-
04-17-2022, 02:01 PM
Sounds like fun!
As Paul mentioned, it might help to see what the system tells you through the log file: I often do it using the: dmesg
command... often I will limit the output like: dmesg | tail -40
To output the...
2 replies | 161 view(s)
-
04-11-2022, 09:20 PM
The PR has now been merged :D So "Sparkfun Teensy Micromod" is part of the things built:
I believe you can download the hex files from:...
3 replies | 303 view(s)
-
04-09-2022, 11:16 PM
Been playing, WIP to add some more board names for the Serial ports, like TX2, RX2...
Current images off of my MM branch, plus updates for names in t4 and 41
plus hack to make UART4 work (Serial2 on t4...)
Now to...
3 replies | 303 view(s)
-
04-08-2022, 10:25 PM
Just thought I would mention, that @mjs513 and myself have been playing around with MicroPython on the Teensy4 and 4.1 and thought it might be
interesting to also have it run on the MicroMod Teensy,
So we started...
3 replies | 303 view(s)
-
04-06-2022, 12:53 PM
two parts to this.
SPI2 - has two sets of alternate pins. That is if you look at post #7, you will see the sd card reader pins are in the 40s and the pins under the
board are in the 50s.
Yes both positions...
15 replies | 2192 view(s)
-
04-04-2022, 12:27 AM
@mjs513
Great work, will have to sync it up...
I was distracted today with how do uarts work on CircuitPython. Still not sure :o
A simple Uart test, where I receive text from the usb serial inpu(), then...
155 replies | 49113 view(s)
-
03-31-2022, 09:48 PM
quick update:
Ran the script up on the page: https://learn.adafruit.com/circuitpython-essentials/circuitpython-uart-serial
And output shows:
RX pin: board.D15 TX pin: board.D14
RX pin: board.D25 TX pin:...
155 replies | 49113 view(s)
-
03-31-2022, 07:55 PM
Yes the Teensy can do other things while it reads from and/or writes to SPI.
The issue is more of how to do so software wise.
That is if you call something like: x = SPI.transfer(y);
It will wait until the SPI...
9 replies | 449 view(s)
-
03-31-2022, 05:54 PM
Sorry, I know I should probably look through these 6 pages carefully and maybe my internal questions have already been answered elsewhere.
For example wondering about is, how compatible are the sources and...
155 replies | 49113 view(s)
-
03-30-2022, 12:53 PM
Sorry nope... was at some point going to try it...
35 replies | 4072 view(s)
-
03-28-2022, 08:46 PM
Assuming it is something like: https://focuslcds.com/product/e24rg12432lwim800-c
I would look at the st7789 pdf: https://focuslcds.com/content/ST7789V.pdf
At about page 32. for IM0-IM3 and make sure they are set for...
5 replies | 137 view(s)
-
03-28-2022, 08:27 PM
Might help if there were links to the display, like product page...
Like did these come as a package or is the display a different product than the controller?
5 replies | 137 view(s)
-
03-28-2022, 06:52 PM
It is probably the same as in this thread:
https://forum.pjrc.com/threads/68995-Teensy-4-1-on-AliExpress?highlight=aliexpress.com
2 replies | 262 view(s)
-
03-28-2022, 04:46 PM
Sorry I am no expert... My play designs are on the opposite end... i.e. don't want to leave any square inch untouched :D
My guess is that you probably need to connect USB_VIN, could be wrong, as not sure what...
2 replies | 209 view(s)
-
03-28-2022, 01:12 PM
Sounds like you will be busy! The memory management can be a real Pain...
With MTP the file list was simply a logical array of fixed length structures where each entry had everything including large name buffer,...
1176 replies | 56695 view(s)
-
03-27-2022, 07:10 PM
Sounds good. Right now we are playing with code for MicroPython (I know even than 0 about).
But we have it downloading a sketch using the userial off of currently off of PGM, but will thinking of making it a little...
1176 replies | 56695 view(s)
-
03-27-2022, 12:59 PM
And now for something somewhat random (what else is new :D )
Thought with our playing with the Circuit Python plugged in to Teensy USB Host, and wanting REPL setup, what if we had
MTP_DUAL_SERIAL and I could use...
1176 replies | 56695 view(s)
-
03-26-2022, 07:50 PM
With MTP I could not directly edit the file and update directly... Once of the advantages of MSC, where it is an FS object.
But what I have done is to copy the file down using the MTP (i.e. copy it from mtp window to...
1176 replies | 56695 view(s)
-
03-26-2022, 04:49 PM
I did some more hacking on my sketch:
and if you in the terminal monitor type lines starting with $ the rest of the line is sent to the userial object which in this case is the circuit python serial connection.
I...
1176 replies | 56695 view(s)
-
03-26-2022, 04:45 PM
Actually might be simpler for someone to create a version using flexio...
14 replies | 2386 view(s)
-
03-26-2022, 04:24 PM
Sounds like you are having some fun as well!
Note: This morning I update my sdfat branch with some fixes.
I allowed it to work on the circuitpy drive, but it only has one FAT and the SDFat code assumed two, and...
1176 replies | 56695 view(s)
-
03-26-2022, 01:54 PM
Again sorry I have never tried dual or quad spi modes on spi...
But if I understand correctly you have your normal full duplex spi, with Mosi and Miso... for output and input.
For dual spi mode, I believe you then...
14 replies | 2386 view(s)
-
03-25-2022, 08:38 PM
Quick update:
I updated the code that walked through MBR/Extended/GPT partitions and in case of MBR I optionally return the FS type of the mbr. I use this to detect == 1 as Fat12
As the code that if < N clusters...
1176 replies | 56695 view(s)