wwatson
Reaction score
309

Latest activity Postings About

    • wwatson
      wwatson reacted to onre's post in the thread Unix on Teensy 3.5 with Like Like.
      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...
    • wwatson
      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...
    • wwatson
      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
    • wwatson
      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...
    • wwatson
      wwatson reacted to defragster's post in the thread Teensy and ESP32 - for WiFiNina with Like Like.
      Me too. Those pin numbers match what was found and marked to work on the prior page! p#6 What ESP32 variant is onboard?
    • wwatson
      Other than getting it working on the RA8876 I have not done anything more with it...
    • wwatson
      wwatson replied to the thread Teensy and ESP32 - for WiFiNina.
      I am interested:)
    • wwatson
      wwatson reacted to Dogbone06's post in the thread Teensy and ESP32 - for WiFiNina with Like Like.
      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?
    • wwatson
      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...
    • wwatson
      wwatson reacted to onre's post in the thread Unix on Teensy 3.5 with Like Like.
      Okay, we're definitely multitasking now. 20241123 03:32:07 connected to /dev/ttyACM0 press C-z q to exit DiscoBSD 2.3-current (TEENSY35) #109 576: Sat Nov 23 03:31:54 EET 2024 esp@tieteislaskin:/sys/mk64/teensy35 cpu: MK64FX512, 120...
    • wwatson
      wwatson reacted to Paul's post in the thread Black Friday Sale 2024 with Like Like.
      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...
    • wwatson
      wwatson reacted to onre's post in the thread Unix on Teensy 3.5 with Like Like.
      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...
    • wwatson
      wwatson reacted to mjs513's post in the thread MTP file size limits. with Like Like.
      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...
    • wwatson
      wwatson reacted to mjs513's post in the thread MTP file size limits. with Like Like.
      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...
    • wwatson
      wwatson reacted to mjs513's post in the thread MTP file size limits. with Like Like.
      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...
    • wwatson
      wwatson reacted to PaulStoffregen's post in the thread MTP file size limits. with Like Like.
      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...
    • wwatson
      wwatson reacted to KurtE's post in the thread MTP file size limits. with Like Like.
      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...
    • wwatson
      wwatson reacted to mjs513's post in the thread MTP file size limits. with Like Like.
      Just tried by adding a RAM and PROG disk - so got to 11. Think 16 is more than enough!
    • wwatson
      wwatson reacted to PaulStoffregen's post in the thread MTP file size limits. with Like Like.
      Linux (Gnome desktop) also seems to recognize 16.
    • wwatson
      wwatson reacted to Rezo's post in the thread Call to arms | Teensy + SDRAM = true with Like Like.
      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...
    • wwatson
      wwatson replied to the thread MTP file size limits..
      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...
    • wwatson
      @Turby ,yes you're completely right,all is working fine now,thanks
    • wwatson
      How about renaming the new function? Do you know how to do that?
    • wwatson
      wwatson reacted to mjs513's post in the thread MTP file size limits. with Like Like.
      using the following sketch (moded from post #62) #include <SD.h> #include <USBHost_t36.h> #include <MTP_Teensy.h> #define CS_PIN BUILTIN_SDCARD USBHost myusb; USBHub hub1(myusb); USBDrive mydrive1(myusb); USBDrive mydrive2(myusb); USBDrive...
    • wwatson
      wwatson reacted to PaulStoffregen's post in the thread MTP file size limits. with Like Like.
      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...
    • wwatson
      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> //...
      • Test_printByte_function.jpg
    • wwatson
      wwatson replied to the thread MTP file size limits..
      Same with me😀 Did not notice that...
    • wwatson
      wwatson reacted to PaulStoffregen's post in the thread MTP file size limits. with Like Like.
      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...
    • wwatson
      wwatson replied to the thread MTP file size limits..
      @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...
    • wwatson
      wwatson reacted to mjs513's post in the thread MTP file size limits. with Like Like.
      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...
    • wwatson
      wwatson replied to the thread MTP file size limits..
      Will probably be tomorrow for me to look at it. Been a while since I looked at it...
    • wwatson
      wwatson reacted to PaulStoffregen's post in the thread MTP file size limits. with Like Like.
      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...
    • wwatson
      wwatson reacted to PaulStoffregen's post in the thread MTP file size limits. with Like Like.
      Can confirm, doesn't detect when a hub is between the MSC and Teensy 4.1. Will try to investigate...
    • wwatson
      wwatson replied to the thread MTP file size limits..
      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.
    • wwatson
      wwatson replied to the thread MTP file size limits..
      @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...
    • wwatson
      wwatson reacted to PaulStoffregen's post in the thread MTP file size limits. with Like Like.
      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...
    • wwatson
      wwatson reacted to PaulStoffregen's post in the thread MTP file size limits. with Like Like.
      Added the missing mediaPresent() function to USBFilesystem. https://github.com/PaulStoffregen/USBHost_t36/commit/ca33e97660f3918277432015d4af615cf5c59065
    • wwatson
      wwatson reacted to mjs513's post in the thread MTP file size limits. with Like Like.
      @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...
    • wwatson
      wwatson reacted to KurtE's post in the thread MTP file size limits. with Like Like.
      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...
    • wwatson
      wwatson reacted to KurtE's post in the thread MTP file size limits. with Like Like.
      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...
    • wwatson
      wwatson reacted to KurtE's post in the thread MTP file size limits. with Like Like.
      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...
    • wwatson
      wwatson reacted to KurtE's post in the thread MTP file size limits. with Like Like.
      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...
    • wwatson
      wwatson reacted to KurtE's post in the thread MTP file size limits. with Like Like.
      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...
    • wwatson
      wwatson reacted to mjs513's post in the thread MTP file size limits. with Like Like.
      @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...
    • wwatson
      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. :)
    • wwatson
      wwatson reacted to KurtE's post in the thread MTP file size limits. with Like Like.
      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...
    • wwatson
      wwatson reacted to KurtE's post in the thread MTP file size limits. with Like Like.
      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
      You will not be able to use the Teensy library on the Arduino Due.
    • wwatson
      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...
    • wwatson
      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 :)
  • Loading…
  • Loading…
Back
Top