Now we are booting to multi-user mode, need to hook up another UART. Repository needs attention, I've been hacking together horrible code to get to this point, general idea being "I'll clean it later". There's a slight glitch in the UART driver...
AntiLoop,
I have only been doing this for less than a year and have had no formal instruction in the art of writing code. I write for myself and not necessarily for others so it is in my own style. The code I attached below is mostly from...
For those who may want to look at the posted data, you can download the software without having to own one of their logic analyzers
https://www.saleae.com/pages/downloads
All,
I had the same problem with lag when using the touch screen. Basically the interrupt pin is not being picked up by the teensy. Also when the screen is touched the I2C starts "chattering" continuously at 100 ms (see picture below) also...
I made a custom WiFi module back in the day when this was current.
I never ordered the board but I looked it over and I did all the work. I will order it, do you guys one to play with?
Not that I know of. But I do know that it does NOT take 300ms to get a response from the goodix controller.You have not provided enough information about what you are doing with the touch after it is received...
PJRC will have a Black Friday sale this year.
Sweet discount on Teensy 4.0 and Audio Shield. Prices to be announced when the sale starts.
Sale will run Nov 25 to Dec 2, or until inventory allocated to the sale runs out. Will limit to 50 per...
First, a disclaimer: I'm doing this for fun, not because it made any particular sense.
For background, I've dabbled with embedded systems as a hobby for some time. I've mostly made things that work together with my modular synthesizer setup...
Ok found my Frams. Not picking up the FM2510-G for some reason - might be bad, Is picking up the other 3
Filesystems Selected with '2 {number}' command:
FS #0 Present=Yes Size=640 kB Name=PROGRAM
FS #1 Present=Yes Size=45 kB Name=DMAMEM...
Ok for those of you interested here is some output from the mods so far
Note other than reconfiguring haven't looked at code yet but looks like RAM1 and prog storage is off. Also SD card not detected (micromod sdio)
RAMDISK Storage 46080 bytes...
Just a bit of warning about use of "Store" or StorageID.
From what I remember its only really demonstrated in mpt-test-integrityV2. Why was this?
As mentioned in an earlier post the storage index is automatically placed on the first...
Just a quick reply to mention I'm reading all the messages on this thread, even if I don't make the time to reply to every one of them. I'm trying to pour more time into actually working on MTP.
Right now I'm working on simplifying and cleaning...
That is what I would suggest. You should probably change all the examples that will be part of the project to use these two classes.
Or alternatively, maybe you could create multiple variants of different classes like SD. Like maybe we should...
I recall reading in the RM that the PXP can work async with the eLCDIFA bit on each of their control registers needs to be enabled.
Then you can feed the PXP with to partial/full screen sized buffers, it will swap between them automatically and...
I noticed that there is a sketch in the "Simplified Examples" folder called "Example_6_MTP_USB_SD_EXT4.ino" that used the TeensyEXT4 library. There did not seem to be much interest in it so maybe that sketch should be removed? What do you all...
I've been looking over mtp-test-integrityV2. Committed a copy on github.
There's a lot to unpack here.
First, ending up with duplicate stores probably means we do have an issue to fix. My gut feeling it is may be just a simple matter of...
The printByte() function is not part of the RA8876 library but here is a test sketch that shows one way of implementing it in your sketch:
// testing.ino
#include <font_CourierNew.h>
#include "RA8876_Config_8080.h"
#include <RA8876_t41_p.h>
//...
Opps, I did indeed forget myusb.Task();
But that's not my only silly mistake I made yesterday! MSC wasn't working with a USB hub in the code on msg #53 because I didn't have a USBHub instance.
MSC media change seems to be working fine with the...
@Paul - With your last test sketch I added:
void loop()
{
myusb.Task(); <<<---------- Added ---------------
Serial.printf("mediaPresent = %s\n",
(firstPartition.mediaPresent() ? "Yes" : "No"));
delay(500);
}
Now it...
Just did the same thing with the MTp_test_integrityv2 sketch and indeed it worked as well
inte
however if you remove and replace a couple of times the usb
a couple times later
You notice if you pull out the usv stick you loose the sd card...
Something is definitely not right within USBHost_t36 with MSC media re-insertion with a hub. Quick test using the Storage > ListFiles example with printing the media status from loop(), to test without the extra complexity of MTP.
#include...
Just tried it with a T41 and everything works as expected unless you plug a USB HUB in between the T41 and the USB drive then it fails to recognized the USB drive. The SD card is still recognized...
EDIT: Tried two different USB HUBs.
@mjs513 - Is the sketch that that you are using "Simplified Examples/Example_5_MTP_USB"? That one was the one that was not working for me due to a "#if 0"/#endif" in the "]void checkUSBDrives()" function. Here is the function:
void...
Here's a quick video demo. Hopefully this helps?
I do have 1 known bug to fix regarding SD card detection. It's in the demo starting around 1:26. (EDIT: bug fixed, see msg #80 for details)
Arduino sketch code used in this demo:
#include...
Added the missing mediaPresent() function to USBFilesystem.
https://github.com/PaulStoffregen/USBHost_t36/commit/ca33e97660f3918277432015d4af615cf5c59065
@KurtE
Played a bunch yesterday with you large-files branch. Ran 5gb file on the sd card and the USB Stick.
On the SD Card was able to successfully write 5gb to the sd card where as before it was an issue:
On the usb stick wrote 5gb with 512...
Not sure same thread stuff, or different thread, but I know that the MSC code is a LOT slower than the the exFat SDIO card, and I believe it also has limits of 4gb on a file. Not sure if by bug or ...
I updated one of @mjs513 test programs for...
I have ubuntu 24.04 installed now. and MTP appears to somewhat work.
I was able to download this jpeg file and then open it... But it did not want to show the image if I double clicked on it in the
MTP window. Or maybe I did not wait long...
At one point we had code that we could pass in some additional information about an FS to MTP when we added an object. However, Paul wanted the code to be simpler, so the only thing we know is it is an FS... So probably the only way we will...
I was able to upload a photo again on W11 machine, and then double click and the picture came up.
Now to work on larger ones - which always were a PIA even before worrying about >4GB
Currently my Ubuntu machine is not hooked up. But was able to...
Try sync up again, I pushed up fix for the exiting at the early time. One last variable needed to change from uint32_t to uint64_t
I have had the file download successfully. Turned off debug And Windows and downloaded again, and looked the...
@KurtE
Downloaded your latest changes and loaded it up on a T3.6 using a USB stick (ps running on a Windows 7 maching running 1.8.19). Loaded up a 5GB file:
however noticed that when trying to look at the subdirectories only works when I...
So great with all help and information in this thread! I cant wait to start a small hobby project with the 10" touch pad and see how responsive it is in parallel mode with the Teensy 4.1 board. :)
I thought I would mention, that I have started hacking on the MTP code to hopefully handle 64 bits. Not there yet, but making some
progress.
WIP branch - https://github.com/KurtE/MTP_Teensy/tree/large_files
For the fun of it, doing the code on...
Sorry, I am really really rusty on the MTP stuff. Other than fixing some sketches that were not compiling, we have not done anything for about two years...
But as for large files, I believe it is a limitation of MTP. That is if you look at the...
WWatson and MJS513 are correct stick with the Teensy. I bought one of the 10" Buydisplay with the DUE and the shield and one set up for parallel interface. using the DUE and shield only one of the RA8876 lite sketches would compile with Arduino...
You don't have to use the Due to try the the examples. Use the Teensy. I think it's best if you stick with the examples in my library and try to understand how they work :)