-
Older Activity
-
Yesterday, 12:35 PM
It is interesting that @defragster brought up using FRAM instead of FLASH. Right now you can't use a FRAM chip with QSPI as far as I remember only SPI. It is probably a bit slower but you can still use LFS with it. ...
30 replies | 410 view(s)
-
Yesterday, 12:14 PM
Sounds like progress and you are having a lot of fun. Going to interesting when you get it completely integrated - then the fun begins to see about using it with MTP :)
Nice work on lext4 by the way. Didn't envy...
1315 replies | 62575 view(s)
-
07-04-2022, 11:50 PM
You could try the font editor from this post: https://forum.pjrc.com/threads/54345-ILI9341_t3-font-editor?highlight=ili9341+fonts
To use it looks like you have to download the ttf files for BankGothic and copy them...
20 replies | 561 view(s)
-
07-04-2022, 04:13 PM
The answer to that question is it is Teensy Model dependent.
Teensy 4.0, 4.1, Micromod and Teensy 3.6 are not 5v tolerant so you would need a level shifter. For level shifters there are several options I typically...
4 replies | 178 view(s)
-
06-30-2022, 11:04 AM
Think the contrast is excellent for such a small display and the off-axis performance good as well - titled it about 80 deg (just a guess) and was still able to see the display clearly.
20 replies | 561 view(s)
-
06-30-2022, 11:01 AM
I pushed your updated version to the repository along with the tft_picture_viewer sketch you updated for the GC9A01 display.
20 replies | 561 view(s)
-
06-30-2022, 11:00 AM
@defragster - sorry just saw the post. Yes @KurtE incorporated those changes into his fork of the SD library. Not sure if its been incorporated into Paul's master SD yet?
1315 replies | 62575 view(s)
-
06-29-2022, 04:15 PM
Ok finally got a chance and downloaded your latest changes seems to be working as long as the cards are in the Builtin slot on Teensy start up. If its not and you insert a card it does recognize that you inserted the...
1315 replies | 62575 view(s)
-
06-29-2022, 01:18 AM
@MichaelMeissner
Have no idea to be honest - been so long here as well since I played with those displays. Been busy with other stuff besides Teensy today :)
EDIT: Oh by the way managed to implement rotating a...
20 replies | 561 view(s)
-
06-27-2022, 09:55 PM
@KurtE
Gave it a quick test run - nothing extensive and mostly with a hub attached more of stress test on the add/remove feature. It does work:
1. Using my M2 drive inserted on boot up it recognizes and I can remove...
1315 replies | 62575 view(s)
-
06-27-2022, 07:54 PM
;)
Cool can't wait to see what you come up.
20 replies | 561 view(s)
-
06-25-2022, 11:39 PM
Ok guys just implemented a Attitude Direction Indicator (ADI) using the new library with the additional feature of using transparent BMPs. Really experimental. Here is a short video of it in action:
Enjoy
20 replies | 561 view(s)
-
06-25-2022, 11:22 PM
Evening Michael
Sorry was kind of sidetracked today with trying to get transparent BMP working - think I kind of got it working. But yes should be transparent since we are working with same base display driver. As...
20 replies | 561 view(s)
-
06-25-2022, 08:06 PM
Used an approach that @KurtE used:
#define SD_CS BUILTIN_SDCARD
File imageFile;
const char *name = nullptr;
and in the body (setup in my case)
imageFile = SD.open("Horizon_GroundSky.bmp", FILE_READ);
name =...
53 replies | 816 view(s)
-
06-25-2022, 01:16 PM
Good Morning all
@KurtE and I have been at it again. Recently we started playing with a WaveShare GC9A01A 1.28 Round Display as shown below.
Since we cannot leave well enough alone we modified the ILI9341_t3n...
20 replies | 561 view(s)
-
06-23-2022, 02:10 PM
Been experimenting after and during Kurt's post. The issue is definitely in MTP_Storage.h and use of the has_include. For instance (after some trial and error) I just did this:
//#if defined(__has_include) &&...
15 replies | 222 view(s)
-
06-22-2022, 11:34 PM
Yep you are right was looking at wrong lib for some reason - should have mine tomorrow by tomorrow night
29 replies | 515 view(s)
-
06-22-2022, 08:49 PM
Its not throwing an error but giving a warning - I am seeing that periodically as well - you can safely ignore it. Honest know what it means but not sure why we are seeing it.
53 replies | 816 view(s)
-
06-22-2022, 08:45 PM
I just ordered a MAX31865 + cable and will give it a try. Looking at the Adafruit MAX31865 libaray though it looks like they are using SPI MODE1 not MODE0, i.e.,
spi_dev(spi_cs, 1000000, SPI_BITORDER_MSBFIRST,...
29 replies | 515 view(s)
-
06-22-2022, 08:29 PM
well, does kind of matter if you are using SD with the T4's. With the Teensy libraries the SD library is linked to the SDfat library and LittleFS and MTP are all integrated with the FS stuff for the Teensy. That;s...
53 replies | 816 view(s)
-
06-22-2022, 12:45 PM
@SteveSFX
This looks a little strange to me. Looks like your sketch is using the SD library that is in your libraries folder.
C:\Users\steve\Documents\Arduino\libraries\SD\src/SD.h
You might want to check if you...
53 replies | 816 view(s)
-
06-22-2022, 12:35 PM
@EcodroneSRL
The link kd5rxt-mark pointed to I believe gives you the answer to your question on whether you can use a SPI device on one of the QSPI slots. You would have your work cut out for you. However with...
2 replies | 115 view(s)
-
06-21-2022, 10:09 PM
Ok was playing a bit and think I found the solution for the exFAT formatting issue but it requires a minor change to the SD library:
if (ret) {
// TODO: Is begin() really necessary? Is a quicker way possible?...
1315 replies | 62575 view(s)
-
06-21-2022, 09:07 PM
@defragster - here is a snapshot of my flash after I ran the t option and it failed because disk was full. NOTE the many sub directories that were created:
kind of shows that LFS can create sub-directories. Yes I...
1315 replies | 62575 view(s)
-
06-21-2022, 11:50 AM
Not sure that statement is correct that QSPI Flash can only write 2 dir deep. I just ran your updated test sketch using the 't' command and you can see clearly it created the several levels of directories until the...
1315 replies | 62575 view(s)
-
06-20-2022, 07:46 PM
@KurtE - @defragster
Just tried coping those 1656 files from SD1 to SD2 using mtp_test_integrity 3 different ways - ExtMem, PrgMem and MemFile for where the index file is located.
All three ways failed to copy...
1315 replies | 62575 view(s)
-
06-20-2022, 07:30 PM
@defragster - ok you answered my question as I was typing it
Total 1656 files of Size 14497750 Bytes Verify Errors 0 2492.506248 msec
Bytes Used: 67928064, Bytes Total:31902400512
---- Task 'v' complete! ----
...
1315 replies | 62575 view(s)
-
06-20-2022, 07:26 PM
Ok that worked
================================ Media Size=31902400512 Used Size=20086784 us=1078072 KB/sec=3623.37 Bytes written=4000000
MakeData done.
---- Task 't' complete! ----
D0.20 / ...
1315 replies | 62575 view(s)
-
06-20-2022, 06:59 PM
@defragster
I am using a 32GB SD Card in SDIO and without using you LFS option. And yes I am using Test Files write 2206 option
I downloaded your latest version and got this error about writing files to the disk...
1315 replies | 62575 view(s)
-
06-20-2022, 01:36 PM
Using my mtp_test_integrity sketch and using an index file in program mem I first ran you makeFiles using the 't' option and verified the files on the Builtin_sd card. I then copied them to "SD1" and then from "SD1"...
1315 replies | 62575 view(s)
-
06-18-2022, 11:59 PM
Was poking around the issue and noticed you referenced https://github.com/arduino/arduino-ide/pull/893 which has been closed but if you scan through all the comments I noticed this:
but not sure it related to the...
257 replies | 31072 view(s)
-
06-17-2022, 05:04 PM
Just checked on Windows and does the same thing as you showed
257 replies | 31072 view(s)
-
06-17-2022, 04:17 PM
Just checked on the Pi4 as well and only one port gets enumerated as opposed to the 2 in Windows for the Teensy 4.1
Sketch is a bit different but same idea. Its reading a GPIO pin on the PI4 and telling me data is...
257 replies | 31072 view(s)
-
06-15-2022, 07:15 PM
Well they copied from the PC to the flash. I did verify that they were on the flash via MTP of course. Yet they did not copy down from the flash to PC - not sure why when everything else did.
30 replies | 410 view(s)
-
06-15-2022, 06:21 PM
Yep should be DID NOT transfer - typed it too fast
Probably formatting would be good.
Of course makefiles is useful. In comes in handy for certain testing.
30 replies | 410 view(s)
-
06-15-2022, 04:37 PM
Using @defragster MakeFiles sketch running the 't' and 'b' options it created 1,151 Files in 49 Folders on the Builtin SDCard. I copied the files from SD Card to the PC using MTP and then copied the files to the...
30 replies | 410 view(s)
-
06-15-2022, 03:08 PM
@PaulStoffregen - @KurtE - @TeensyDigital
Using Arduino IDE 1.8.19 and TD1.57beta3 I switched back to using the smaller blocksizes that we originally had in LittleFS (4096 versus 32/64K) and reran the sketch in post...
30 replies | 410 view(s)
-
06-15-2022, 02:59 PM
I noticed that as well this morning as well when I switched from the PI4 to windows to receive data using the PC. I don't remember having that issue with the PI though.
257 replies | 31072 view(s)
-
06-14-2022, 05:14 PM
@PaulStoffregen
Think I got it isolated. Using 1.8.15 + TD155 plus the following changes to LittleFS Libary
Updated LFS library to 0x00020004
Updated the LittleFS for change blocksize and blockerase (equivalent to...
30 replies | 410 view(s)
-
06-14-2022, 03:13 PM
Understood - going to see how much I can isolate it down without breaking things :) As you said you have enough on your plate
30 replies | 410 view(s)
-
06-14-2022, 03:11 PM
I installed Aduino 1.55 and TD1.55 (closest I could get) and verified that the LittlFS had the smaller block sizes and earlier revision of LittleFS (0x00020002) running the sketch #1 with 1 minor change:
...
30 replies | 410 view(s)
-
06-14-2022, 01:28 PM
Yes we did but when we tested the changes we didn't see much difference. I am still going to do some more testing because I am now curious.
30 replies | 410 view(s)
-
06-14-2022, 01:11 PM
Yes there were some changes, was kind of a tradeoff process. The main thing was that the blocksizes increased which means you are going to get a performance hit for small files (less than a block). Blokc sizes are now...
30 replies | 410 view(s)
-
06-14-2022, 12:35 AM
Still have a few things on the plate before getting into ext4. Since I get so focused on an issue I can't let it go until I get it working. Sure no one else is that way :)
1315 replies | 62575 view(s)
-
06-13-2022, 11:46 PM
Just a note I have been using EaseUS Partition Master which formats for ext3 and ext4. There is a free version although not sure what limitations there is:...
1315 replies | 62575 view(s)
-
06-13-2022, 11:38 AM
Installing on windows now.
First update of Arduino 2rc7:
the board manager shows that 1.56.1 is installed and shows the dropdown for the new install version of 1.56.53???? Any reason for the 53 vs 3 - not an...
13 replies | 1815 view(s)
-
06-13-2022, 11:13 AM
Good Morning all
Finally got the PI4 updated and operational last night or rather early this morning and started playing with IDE2.0. The PI4 is running Ubuntu-MATE-20.04 to start and the desktop is fairly windows...
13 replies | 1815 view(s)
-
06-12-2022, 10:53 PM
Quick update did verify the CardInfo SD sketch compiled and used the correct version of the SD Library:
Multiple libraries were found for "SD.h"
Used:...
257 replies | 31072 view(s)
-
06-12-2022, 10:38 PM
@KurtE
Thanks - copy and paste error with the link for teensy so nothing was loading. Deleted the incorrect one and put in correct link and now all is working again - whhat a PIA - think in old one if link was bad it...
257 replies | 31072 view(s)
-
06-12-2022, 10:18 PM
Just ran into an interesting problem when doing a clean install of ide2.0 on the PI4. Got to run the rx7 for the pi4 but then gett this error so seems can not the boards (any of them)
will try again later.
257 replies | 31072 view(s)
-
06-12-2022, 08:03 PM
Very cool, Found my issue with talking to the Teensy - was all the PI4 side so in process of reinstalling and configuring it now, so good timing
257 replies | 31072 view(s)
-
06-12-2022, 08:01 PM
Thats a good place to start definitely - guess at some point have to incoporate into MTP :)
@defragster - yep. I could only find apps to read/copy ext4 files but not write
1315 replies | 62575 view(s)
-
06-12-2022, 07:02 PM
Very cool - now another thing to try out :)
vERY C
1315 replies | 62575 view(s)
-
06-12-2022, 12:43 AM
Well since I have been absorbed with the PI4 lately I gave the hack a try and looks like it works:
Using library SD at version 2.0.0 in folder: /home/merlin/.arduino15/packages/teensy/hardware/avr/1.56.1/libraries/SD ...
257 replies | 31072 view(s)
-
06-12-2022, 12:19 AM
@wwatson
Thats great news - could definitely use something like that now I am using a PI4 - especially for recovery purposes
1315 replies | 62575 view(s)
-
06-10-2022, 11:55 PM
@KurtE
Had to redo a bunch of reinstalls on the PI4 and wasted time with the M2 memory drive on the PI4 so ..
Just finished reinstalling IDE 2 on the PI4 using the appimage route and installed the Teensy boards...
257 replies | 31072 view(s)
-
06-10-2022, 07:18 PM
I have been using the sparkfun version of the ICM20948 but have been using the adafruit library. Here are the instructions for both:
https://learn.adafruit.com/adafruit-tdk-invensense-icm-20948-9-dof-imu/arduino
...
3 replies | 103 view(s)
-
06-10-2022, 12:52 PM
When I did a search for Arduino 2.0 language server - all it was referencing was how to change the language for the IDE. Didn't find anything on the rules for setting up the hover.
However poking around found that...
257 replies | 31072 view(s)
-
06-09-2022, 01:47 PM
Repeated on Windows 10 and sure enough same issue
257 replies | 31072 view(s)
-
06-09-2022, 10:46 AM
As of 6:21EST it has been released just updating now. Seems to be working nicely - alot better than prior releases:
NOTE Compile errors are due to not having beta2 installed. Left it at 1.56.1 intentionally
257 replies | 31072 view(s)
-
06-08-2022, 12:26 PM
Yep that was the problem - can't use pin 7 with audio shield.
15 replies | 267 view(s)
-
06-08-2022, 11:33 AM
Good Morning all
Just reinstalled 1.56.1 for arduino 2.0 and copied the new core-jar file to 1.8.19. Did a quick test using on the MTP sketches I have been playing and looks like its working - NO MORE PAIN.
...
257 replies | 31072 view(s)
-
06-07-2022, 05:32 PM
Didn't see the normal garbage at using the IDE serial monitor but did see alot of it when I tried using TyCommander but then I was also seeing speeds of up to 950K/sec and higher (again that was with Tycommander) after...
257 replies | 31072 view(s)
-
06-07-2022, 04:15 PM
Ok couldn't resist. Install 2.0-rc6-snapshot and after installing 1.56 from the boards manager I updated core/library and boards.txt files to 1.57-beta2 (copy and paste and ran the speed test. It looks like it may be...
257 replies | 31072 view(s)
-
06-07-2022, 01:43 PM
Would be nice to get a beta2 installer at least this one time for testing both the beta2 and the ide changes. Playing on running on a Windows10x64
257 replies | 31072 view(s)
-
06-06-2022, 11:22 PM
Running into another problem - cant seem to play anything from littlefs
15 replies | 267 view(s)
-
06-06-2022, 01:08 PM
@wwatson
Playing some more with the sketch and rewickered setup and the mixer connections per @h4yn0nnym0u5e suggestion so now can now play .raw files as well. Did reset everything up and it is working.
#include...
15 replies | 267 view(s)
-
06-06-2022, 11:28 AM
Sorry for the delay in my response - been distracted with MTP again (my sketch now working again ). Glad its working again.
15 replies | 267 view(s)
-
06-05-2022, 08:49 PM
Yeah the dummy that I am I forgot. getMediaName is whats in the core - duh.
Anyway the conflict seems to be that when I print the media name for NANDS and then MSC it seems to be crashing right the first print for...
10 replies | 672 view(s)
-
06-05-2022, 03:57 PM
FYI - This is the line that is causing the issues:
//DBGSerial.println(getFSPN(ii));
Did we loose getFSPN?
10 replies | 672 view(s)
-
06-05-2022, 01:48 PM
As a followup to my post on MTP issues looks like the problem is isolated to getting and printing the storage list:
case '1':
// first dump list of storages:
fsCount = MTP.getFilesystemCount();
...
10 replies | 672 view(s)
-
06-05-2022, 01:31 PM
You can probably delete this as well
as LittleFS is installed with Teensyduino
10 replies | 672 view(s)
-
06-05-2022, 01:06 PM
Install on Windows Home x64 went smoothly no blue screens about security which is good.
Started to do some testing with updates to USBHost_t36. Did notice UsbMscFat was not included in Beta2 - maybe for Beta3.
...
10 replies | 672 view(s)
-
06-05-2022, 11:22 AM
@wwatson and anyone who wants to check this. I rewickered the constructors and setup for the PLAYALL_SD_ONLY.ino example. Not sure what to do with Raw since the mixers only take 4 inputs.
#include <Audio.h>...
15 replies | 267 view(s)
-
06-05-2022, 11:01 AM
@KurtE
Just did a quick test of some of the USB Types I was having issues with your latest set of changes and your sketch in post #108 and they all seem to working for me now.
It looks like all the output_i2s...
144 replies | 1933 view(s)
-
06-05-2022, 10:14 AM
Since I had no idea of the rule or why since I don't normally play with the Audio library I am curious about the construct in post #1. Guess its a question.
If I am only playing 1 output type (Wav, MP3, FLAC, etc)...
15 replies | 267 view(s)
-
06-04-2022, 02:56 PM
@KurtE
Should have posted the code. First - should have been post #93 not #85:
#include <Audio.h>
#include <Wire.h>
#include <SPI.h>
#include <SD.h>
#include <SerialFlash.h>
// GUItool: begin automatically...
144 replies | 1933 view(s)
-
06-04-2022, 11:51 AM
Doing some more testing this morning with the sketch from post #85
Base Case:
Raw_Hid OK
Dual_Serial OK
Serial+MIDIx16 Fail
Serial+MIDIx16+Audio OK
Audio Fail
...
144 replies | 1933 view(s)
-
06-03-2022, 10:15 PM
Wondering to self. If these warnings are causing the issues:
F:\arduino-1.8.19\hardware\teensy\avr\libraries\Audio\output_pwm.cpp: In static member function 'static void AudioOutputPWM::isr()':...
144 replies | 1933 view(s)
-
06-03-2022, 10:11 PM
Assuming you mean USB Type: Audio? I am getting sound from my speaker with using audio by itself as a USB Type.
Not testing with a scope - using a simple a speaker attached to the PT8211 board per the picture. When...
144 replies | 1933 view(s)
-
06-03-2022, 09:40 PM
Thanks. I am not an audiophile so out of my realm here but I just did another test:
If I go back to the sketch in Post #29:
#include <Audio.h>
#include <Wire.h>
#include <SPI.h>
#include <SD.h>
#include...
144 replies | 1933 view(s)
-
06-03-2022, 09:05 PM
Just soldered up a PT8211 (T3.x version) wired to a T4.0 and the sketches in post #35 (@Paul) and post #85 (@TheHermit) both are working with the FLASHMEM commented out as mentioned earlier using TD1.57-beta1.
USB...
144 replies | 1933 view(s)
-
06-01-2022, 10:40 PM
Yep - should be 85 - good catch and good eye :) Will fix
97 replies | 19623 view(s)
-
06-01-2022, 08:53 PM
@mattjowil
I can try to answer your questions but may be confusing:
Its a restriction based on the IMXRT1060 itself. The Encoder module is dependent on using XBAR (See figure 56-1) to access the physical pins on...
97 replies | 19623 view(s)
-
06-01-2022, 07:38 PM
Thanks Paul - really curious as well.... really have no idea. Unless it has something to do with using DMA from flashmem? Just guessing here.
144 replies | 1933 view(s)
-
06-01-2022, 01:04 PM
@PaulStoffregen - @KurtE - @TheHermit and all interested
@KurtE and I was playing a bit more this morning with this issue. The one thing that I noticed between output_pt2811.cpp and ouput_pt2811_2.cpp was that...
144 replies | 1933 view(s)
-
05-31-2022, 10:26 PM
Yep its down - Paul mentioned that in another thread and last I heard he was working on it. He didn't mention when it would be up again.
10 replies | 409 view(s)
-
05-31-2022, 11:37 AM
You might want to check out @tonton81's new SPISlave library: https://forum.pjrc.com/threads/66389-SPISlave_T4?highlight=t4.1+spi+slave
Seems to fix all the issues I was seeing here.
32 replies | 9462 view(s)
-
05-30-2022, 09:43 PM
Depending on your camera you may have to change the byte order to little endian = defined here:
bb.order(ByteOrder.BIG_ENDIAN);
EDIT: you might want to check this out: ...
10 replies | 1703 view(s)
-
05-30-2022, 02:36 PM
Ditto here - was getting a bit frustrated.
DELETED ORIGINAL
UPDATE:
Was getting really frustrated so glad you got it working.
Anyway, made the same changes to FTP_Server_T41 and configured a new site in...
171 replies | 2738 view(s)