Buying a Teensy LC would have least cost - especially if you really use 5 of them. Not sure of any reason it wouldn't work as well as the others for this dedicated purpose?
See this for PCB...
Type: Posts; User: defragster
Buying a Teensy LC would have least cost - especially if you really use 5 of them. Not sure of any reason it wouldn't work as well as the others for this dedicated purpose?
See this for PCB...
Done for now - Got Twin Drives Hacked in and working!!!!
Duplicated setup code for msDrive 1 and 2 in loop() - and pass ptr to msc1 or msc2 to the func( UsbFs *myMsc )'s that need it ( mbrDump and...
GOOD NEWS! Looks like it was used a year ago for USBHost testing.
Now it just needs to be coded to bring up a second drive as well.
My 120GB HUB DRIVE is ExFat and now works - seems to have...
Turned on USB DEBUG
This is the inital case on power up where ExFat works:
new_Pipe
new_Pipe
Descriptor 5 = ENDPOINT
Descriptor 5 = ENDPOINT
Initialize USB drive...control CallbackIn...
Put the Teensy MSC formatted ExFat drive on Windows - looks good.
Had 16 MB Unallocated before the ExFat Partition. Made that space into a FAT drive.
Both Volumes have usable names - NOT...
Code Merged - ExFat 128GB Flash lives:
Waiting up to 5 seconds for USB drive
^^^^Initialize USB drive...^^^^^~USB drive 1 is present.
msc1 Partition Table...
Argh - that p#479 doesn't have my edits in :(
I have another drive : Flash 128 GB that was seen to FAIL using to backup PC data.
I just went to MSC ExFatFormatter - here is Format okay and...
Turns out BOTH of these drives are MSFT formatted :) One for recover 64GB with 2nd partition now formatted where they image it with one of 32GB
The second 16GB drive they format when putting on...
Just made this ehci.cpp change to my system - No change to (1) on the startup Hang with write protected drive:
USBHS_USBCMD = USBHS_USBCMD_ITC(1) | USBHS_USBCMD_RS |
This system has...
Just back ... 'not Working' is the norm ... didn't read enough of the thread :)
> this with minimal USB 2.0 'hub' - not powered
Updated above post #470 ::
That is how Windows sees it, MSFT...
TyCommnader finds all online Teensy units. When part of the build process it pops up a dialog to 'pick your Teensy' the first time that hex is uploaded - then on subsequent uploads of that hex it is...
... first pass answers links to other info ...
Forum search for ILI9488 will find development and notes on SPI display usage. There are options for continuous DMA update or single write...
... using the p#469 code { I added : >>>pt->type: 12 }
My favorite/most used Flash is a FAT32 16GB with a physical write protect switch.
23836
That is how Windows sees it, MSFT formatted it when...
Always a pain to plan soldering in advance for pin or socket and top or bottom - and picking the wrong combo leaves a hassle to deal with :(
If properly wired - and the jumpers are well connected...
T_4.1 with KurtE code ( and the p#467 Volume Name edit ) - on unpowered hub just the two partition 64GB Flash works!
>> NOTE: putting this flash in Win machine mounts both partitions/drive letters...
Using unpowered Hub and the 64GB Flash with 32 GB recovery Part - the 2nd part shows using KurtE code:
Notes on output below:
> there are about 300-400 pages of files displayed in TyComm on the...
Some hacking here - esp with my odd powered hub that has internal device #1 of a 120GB HDD - then as coded it doesn't look beyond msDrive1.
Also odd about the hub as before - once enabled the...
PR prepped to update with latest and LFSIntegrity got pulled into PJRC tree. Copied those files to git.defragster\lfsintegrity so they match now for changes going forward.
Finally built here ... swapped PJRC git USBHost into sketchbook/libraries ... still fail
Deleted that to use the td1.54b7 installed copy and IT BUILDS! { Maybe re-using the sketchbook folder...
This was pulled for use :: github.com/KurtE/USBHost_t36 >> "This branch is even with PaulStoffregen:master."
Odd ...
Maybe https://sectigo.com/cps-repository hasn't reported the cert details to MSFT yet?
I see these unfilled filed looking at the exe?:
23819
tCode is my sketchbook folder for local installed libs to replace any other installed libs. This is where I dumped the downloaded ZIPS from the github pages.
Used: T:\tCode\libraries\USBHost_t36...
Awesome. Let me know if anything changes - the git.LFSIntegrity should match? We can manage any updates but that helps formatUnused look useful and improves/updates LFSIntegrity.ino.
The list of LIBS used looked right ? Unless I have an old copy?
Seeing this makes it seem like a prototype is missing from ???
T:\tCode\libraries\USBHost_t36\MTPDevice.cpp:318:6: error:...
YAY for you :mad: - what am I missing :(
Just poking at the downloaded EXE I got to a dialog - Install Certificate on Machine (versus user) ...
Hit the download again and - same grief.
So the SmartScreen doesn't seem to ask the...
That is a hack that doesn't help the desc.h issue. It came up a beta or so back and it handy. Anything there adds to or overrides anything in the base boards.txt. Offline about now - will look for...
@mjs513 - if these lines are in this file (thanks FrankB) : ...\hardware\teensy\avr\boards.local.txt
teensy41.menu.usb.mtpserial=MTP Disk Serial (Experimental)...
That 'verbose info looks like the linker output as it parses the ELF with this line added to build.txt?
## teensy41.build.flags.ld=-Wl,--print-memory-usage,--gc-sections,--relax...
I also reported the download site as safe again in the process. There was a pre release test version I did that on as well the other day - and did that again this time when I tested to see if that...
@Paul - for reference on this new Win 10 machine that doesn't like the NEW 2021 certificate I just downloaded this file with NO WARNING from browser or the system or BLOCKING - even the EXE runs...
All seems well with the Beta 7 - ran the IDE some to good effect. Then back to in editor command line and all is well.
re #1 :: Teensy.exe cycling between 0.0%. 0.1% and rare 0.2% of CPU...
@mjs513 ...
Made a github.com/PaulStoffregen/LittleFS/pull/8 to update from this fork: github.com/Defragster/LittleFS
@mjs513 ... TD 1.54 b7 came out with OLD LittleFS in place.
Is the current github.com/Defragster/LFSintegrity up to date for a complete pull to PJRC github.com/PaulStoffregen/LittleFS
I need...
Opps - that explains the change after new install.
So now back to the errors in post #438 from that posted code ?
T:\tCode\libraries\USBHost_t36\MTPDevice.cpp:318:6: error: 'MTPDevice' has...
Installed TD 1.54 b7 and build changed.
Compiled SERIAL, MTP DISK ( Experimental ) , MTP DISK SERIAL ( Experimental )
This is for : MTP DISK SERIAL::
Detecting libraries used......
This new up to date Win 10 Pro machine gave this clicking the '...':
23808
Keep ... Then it gave this after clicking the '^' option carat:
23809
Keep Anyway ... Then this usual prompt because...
Thanks, that was the link I forgot - though I had downloaded it yesterday I see. Busy week downloading on New Computer setup - over 30 things in there ...
Looks like some mystery ... sketch from...
Haven't poked here for some time - now more involved parts collection:
github.com/KurtE/USBHost_t36 :: Even with Pauls' and no edits
github.com/KurtE/MTP_t4/tree/MEM_send_object_large :: 23 hrs...
@all : new images of the updated T_4.1 is online :: pjrc.com/store/teensy41.html#pins
Yes - see : store/teensy41.html#pins
That shows the Arduino pin numbers for the SDIO pins
Hoping to catch up with this soon - USBHost , MTP, MSC ... will have to find the current common sources and stop being distracted by life and new computer setup.
Just put a note on Frank_B's PR Print Hardfaults #535 - that would be good to have in Beta 7 release so a thread could be started to discuss and put it to use on T_4.x's.
@KurtE - 4K bump was in...
Following p#85 shown above.
It looks like RAM calc goes in 4K chunks? Not a code multiply but from ?? :: "data = elf_section_size(".data");"
Using this for RAM is too much - like anything...
If you over alloc in an OBVIOUS way - or even barely:
The build breaks in ld.exe before getting to run the teensy_size.exe:
...
PR updated for only resources in Error to show in console COLOR.
github.com/Defragster/teensy_size/blob/patch-1/teensy_size.c
Did PR to have ERRORS get highlighted in console:
char *prefix = "teensy_size: ";
if ((free_flash < 0) || (free_for_local <= 0) || (free_for_malloc < 0)) {
retval = -1;
prefix = "";...
When there is an error to result in a '-1' exit - the text "teensy_size: " should NOT be printed on the Error line so it gets proper color coding.
Quirks indeed ...
It was noticed in beta IIRC that there was LARGE timing asymmetry in I/O value changes. That seemed to go away - or at least not be super extreme - perhaps that was early when...
And for mtp-test - looks good?:
teensy_size: Memory Usage on Teensy 4.1:
teensy_size: FLASH: code:140560, data:13176, headers:7212 free for files:7965516
teensy_size: RAM1: code:163840,...