-
Older Activity
-
Today, 08:04 PM
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 - the jumper type...
3 replies | 62 view(s)
-
Today, 07:56 PM
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 also.
Pulled SD card...
468 replies | 28820 view(s)
-
Today, 07:08 PM
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 recovery drive - does...
468 replies | 28820 view(s)
-
Today, 06:55 PM
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 Hub/HDD backfeeds power...
468 replies | 28820 view(s)
-
Today, 08:56 AM
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.
830 replies | 24549 view(s)
-
Today, 07:01 AM
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 left some debris? }
...
468 replies | 28820 view(s)
-
Yesterday, 12:44 PM
This was pulled for use :: github.com/KurtE/USBHost_t36 >> "This branch is even with PaulStoffregen:master."
468 replies | 28820 view(s)
-
Yesterday, 12:43 PM
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?:
24 replies | 422 view(s)
-
Yesterday, 12:36 PM
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
Not used:...
468 replies | 28820 view(s)
-
Yesterday, 12:26 PM
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.
830 replies | 24549 view(s)
-
Yesterday, 12:23 PM
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: 'MTPDevice' has not been...
468 replies | 28820 view(s)
-
Yesterday, 12:09 PM
YAY for you :mad: - what am I missing :(
468 replies | 28820 view(s)
-
Yesterday, 12:07 PM
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 machine if the cert is...
24 replies | 422 view(s)
-
Yesterday, 11:16 AM
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 USBHost/MSC/MTP...
24 replies | 422 view(s)
-
Yesterday, 11:12 AM
@mjs513 - if these lines are in this file (thanks FrankB) : ...\hardware\teensy\avr\boards.local.txt
teensy41.menu.usb.mtpserial=MTP Disk Serial (Experimental)...
24 replies | 422 view(s)
-
Yesterday, 11:04 AM
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 "-T{build.core.path}/imxrt1062_t41.ld"...
24 replies | 422 view(s)
-
Yesterday, 10:59 AM
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 version might be...
24 replies | 422 view(s)
-
Yesterday, 09:40 AM
@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 without 'UNBLOCK' with...
24 replies | 422 view(s)
-
Yesterday, 09:05 AM
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 usage on Windows 10...
24 replies | 422 view(s)
-
Yesterday, 07:59 AM
@mjs513 ...
Made a github.com/PaulStoffregen/LittleFS/pull/8 to update from this fork: github.com/Defragster/LittleFS
830 replies | 24549 view(s)
-
Yesterday, 06:14 AM
@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 to put it back here...
830 replies | 24549 view(s)
-
Yesterday, 05:16 AM
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 not been declared
void...
468 replies | 28820 view(s)
-
Yesterday, 04:46 AM
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......
468 replies | 28820 view(s)
-
Yesterday, 04:26 AM
This new up to date Win 10 Pro machine gave this clicking the '...':
Keep ... Then it gave this after clicking the '^' option carat:
Keep Anyway ... Then this usual prompt because I had not done 'Properties...
24 replies | 422 view(s)
-
Yesterday, 03:32 AM
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 post #433 fails big...
468 replies | 28820 view(s)
-
Yesterday, 01:09 AM
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 old
... and some...
468 replies | 28820 view(s)
-
02-22-2021, 09:53 PM
@all : new images of the updated T_4.1 is online :: pjrc.com/store/teensy41.html#pins
88 replies | 3172 view(s)
-
02-22-2021, 09:50 PM
Yes - see : store/teensy41.html#pins
That shows the Arduino pin numbers for the SDIO pins
19 replies | 335 view(s)
-
02-22-2021, 09:44 PM
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.
468 replies | 28820 view(s)
-
02-22-2021, 08:35 PM
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 the error detection...
88 replies | 3172 view(s)
-
02-22-2021, 08:59 AM
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 higher than 464 :: char...
88 replies | 3172 view(s)
-
02-22-2021, 08:43 AM
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:
...
88 replies | 3172 view(s)
-
02-22-2021, 05:38 AM
PR updated for only resources in Error to show in console COLOR.
github.com/Defragster/teensy_size/blob/patch-1/teensy_size.c
88 replies | 3172 view(s)
-
02-22-2021, 03:43 AM
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 = "";
}
Would be...
88 replies | 3172 view(s)
-
02-21-2021, 10:58 PM
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.
88 replies | 3172 view(s)
-
02-21-2021, 09:47 PM
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 I/O went from 'slow'...
6 replies | 160 view(s)
-
02-21-2021, 09:48 AM
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, variables:37696 ...
88 replies | 3172 view(s)
-
02-21-2021, 08:59 AM
Still looks good.
this shows here? Maybe just a local issue - but %lld fixes it.
teensy_size.c:54:43: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'long long...
88 replies | 3172 view(s)
-
02-20-2021, 11:06 PM
Well everyone should use Verbose mode. For those using non verbose wasn't expecting this detail to be ejected. But if the normal output gets clipped then that won't show for non-verbose ... Opps
Though making it...
88 replies | 3172 view(s)
-
02-20-2021, 09:50 PM
Good to know - so that is (current) 'fixed' MCU overhead - not something user code will affect - but takes space on the FLASH.
88 replies | 3172 view(s)
-
02-20-2021, 09:37 PM
@FrankB - thanks for the EXE!
LFSIntegrity shows this when added to TSET cmdline build - when using EXTMEM char buf RAM LFS Media:
FLASH: code:86092, data:10160, headers:7212 free for files:8023000
RAM1:...
88 replies | 3172 view(s)
-
02-20-2021, 09:24 PM
That looks really nice for used resources output!
Not sure what 'text_csf' / headers is telling me?
88 replies | 3172 view(s)
-
02-20-2021, 08:49 PM
Quick search at Sparkfun and Pololu don't show they have any PDM's that pop up ...
The only breakouts at Digikey are two Adafruit MP34DT01-M ( and other one ) , though they have many PDM,Digital mic chips.
13 replies | 828 view(s)
-
02-20-2021, 07:36 PM
AdaF NRF Sense unit uses : PDM Microphone sound sensor: MP34DT01-M - PDM sound sensor.
And their adafruit-clue - uses the same Mic.
They link to Arduino lib arduino.cc/en/Reference/PDM that mentions "such as the...
13 replies | 828 view(s)
-
02-20-2021, 08:51 AM
I was wondering the point of the code as well - indeed tone or PWM might give better results with less overhead.
7 replies | 242 view(s)
-
02-20-2021, 05:35 AM
Is this the whole purpose or just a part of the project? Is any code needed to run in loop()? Do the frequencies ever change?
A Float value can be passed in and it looks like a value down to 0.7291667 (?) will work...
7 replies | 242 view(s)
-
02-19-2021, 11:03 AM
Looks like there is an update to some linux versions that resolves the issue - not yet provided to be applied to the problem versions?
There was as noted a passing time where my prior Win 10 machine would...
76 replies | 1441 view(s)
-
02-19-2021, 06:27 AM
@WMXZ - re p#883 - have you tried with KurtE's latest p#880?
Just back and not tried ... Does it prepopulate the empty slots on Windows with RED when no disk is installed?
899 replies | 64554 view(s)
-
02-19-2021, 06:24 AM
If LFS tracked or informed on abandoning a block we could use that info. When they want a new block they ask for 'Format' before use, when they are done with a block they just move on AFAIK.
But after reading and...
899 replies | 64554 view(s)
-
02-19-2021, 05:43 AM
If read right - this handles starting the 8 us timer and shows pin toggle on expired count.
intervalTimer myTimer;
* Keep track of when each note needs to be switched */
int count1 = 0;
int count2 = 0;
int...
7 replies | 242 view(s)
-
02-18-2021, 08:54 PM
Yes - two copies - one in prior LFS and one added to the NAND code.
Not all media uses it : FRAM, RAM, PROGRAM. RAM is a NOP - not sure about FRAM to just write may take less time to just write blank on request,...
830 replies | 24549 view(s)
-
02-18-2021, 10:21 AM
On one of the NAND SPI chips LFSIntegrity had run leaving lots of dirs and files - died on delete of folder 24? Teensy still responds to USB CMD 'f' to toggle that.
Running the new LFSIntegrity a recursive...
899 replies | 64554 view(s)
-
02-18-2021, 02:37 AM
@Paul:
NOTE for SD update to SdFat : transferred Arduino/Teensy drive contents to new machine here
> Build pulled in Adafruit_SDFAT library instead of the Teensy one, had to delete that ( used for their NRF family )
88 replies | 3172 view(s)
-
02-18-2021, 12:50 AM
Yes, the meaningful change is to blockisBlank() in two places ( NAND and LFS other) and the call change in formatUnused.
I had a good compare post of the times - forgot to post as I ran off - came back with more info...
830 replies | 24549 view(s)
-
02-17-2021, 11:09 PM
@mjs513 - KurtE - Paul ... @all:
Just pushed up an update to : github.com/Defragster/LFSintegrity
In the process the NAND branch was deleted. { New machine new entry to github - still stuck on some Pull Request...
830 replies | 24549 view(s)
-
02-17-2021, 06:14 PM
Teensy is awesome - and TyComm makes it better. TeensyLoader is good but matching the IDE focus on a single board leaves room for improvement with multiple Teensy. Especially when it comes to SerMon! And TyCommander...
451 replies | 145868 view(s)
-
02-17-2021, 10:52 AM
See LittleFS thread for updates.
Next step to include new and improved unusedFormat into MTP-test - no longer wastes time reading whole block for format test - so disk doesn't go offline (like other formats Q and LL)...
899 replies | 64554 view(s)
-
02-17-2021, 10:48 AM
Updated LFSIntegrity to have a 'w'ipe of files and dirs.
I'll post code later in the AM - time this AM for a few hours Zzzz's ....
Massive speed up crossing already formatted blocks for formatUnused()
Updated...
830 replies | 24549 view(s)
-
02-17-2021, 08:00 AM
Updated to new computer - managed the "T:" on old computer to the new - was a stand alone SSD - now mapped into T_DRIVE folder as T: so no changed needed for TyComm or TSET setup - even the IDE with TeensyDuino...
134 replies | 25628 view(s)
-
02-16-2021, 07:26 PM
Glad that works. There are pending changes to TyCommander where it will pass the RTC time on upload - not sure that is on github. But that shows something specific to starting the loader - not the system otherwise.
...
76 replies | 1441 view(s)
-
02-16-2021, 06:25 PM
@brtaylor might have feedback - using T_3.6 for his 'Bolder Flight Control' units. Not sure what the 'common issue' seen ??? Not seen such notes ... in use T_3.6 is part of a commercial system : bolderflight.com/
In...
1 replies | 79 view(s)
-
02-16-2021, 06:13 PM
@KurtE just put some #20.??? version of Ubuntu on a machine IIRC - not sure if this shows there?
NOTE: I saw this on Windows 10 for a brief period some time back - it just 'went away' - that is Doubly unhelpful...
76 replies | 1441 view(s)
-
02-16-2021, 06:04 PM
Because the uint64_t passes two sets of 32 bits and the printf as used told it to read them 32 bits at a time. One got the low 32 bit value held and the other saw the upper 32 bits of zeros.
5 replies | 138 view(s)
-
02-16-2021, 09:13 AM
Online with new computer today - actually remote desktop from new to the old ... now can move old to remote desk and put new one in place ...
So not much done Teensy-wise except on this new machine copied over...
899 replies | 64554 view(s)
-
02-16-2021, 06:31 AM
This first one is correct - installed with TeensyDuino
Used:...
24 replies | 485 view(s)
-
02-16-2021, 06:29 AM
Also note 'u' is unsigned and 'd' is signed. Both val and m are unsigned ...
unsigned long n;
long m;
printf("%lu %ld", n, m);
5 replies | 138 view(s)
-
02-15-2021, 05:48 PM
Cool Context Menu Format - How Handy. Good Info.
Makes sense now and with cover of Dialog all should be well - of course unusedFormat - same timing as LLformat and no disk disruption so it should not need to...
899 replies | 64554 view(s)
-
02-15-2021, 09:07 AM
Question: is it right to assume that no new block is allocated in LFS without an ERASE?
Perhaps it can do a partial block update program 'in place' - but it cannot allocate/use a new block without calling 'erase' on...
830 replies | 24549 view(s)
-
02-15-2021, 07:46 AM
Looked a bit more at the callback code? Not seeing it activate from sketch?
Narrowed down to single FLASH5 drive - no rpints from the mtpd_format_cb?
MTP_test
sd_addFilesystem: 0 20005040 sflash5 1
SPIFlash...
899 replies | 64554 view(s)
-
02-15-2021, 06:31 AM
Made the 'lookup' change - got a couple of copy/delete cycles of T_4.1 - then it died on 64MB SPI. Was probably formatted up front?
Using new code but : g_lowLevelFormat = false
...
SendObjectInfo: 7 26 20004180:...
899 replies | 64554 view(s)
-
02-15-2021, 05:32 AM
Quick format only wipes LFS data, like LLformat. But Quick doesn't prepare any blocks to a formatted state like LLformat or formatUnused, so write will still take time when block requires format before use.
If the...
899 replies | 64554 view(s)
-
02-15-2021, 05:05 AM
Was USB the power supply to the T_4.1? It can only supply 500 mA? - and the onboard regulator IIRC can convert more than that to 3.3V - but heat dissipation is pushed beyond that.
Was the current drawn by the T_4.1...
15 replies | 447 view(s)
-
02-15-2021, 04:55 AM
Update to TeensyDuino 1.54 Beta 6 - Job Done.
It has replaced the SD.h CODE with SdFat ( Beta version 2.0.1 )
That may not expose anything and everything ? But anything SD.h had AFAIK is mapped into SdFat -...
24 replies | 485 view(s)
-
02-14-2021, 09:16 PM
Bus rules apply?
i2c each device with a unique slave ID can share the bus and be addressed in turn.
SPI each device with a unique CS pin for chip select can share the bus ( as long as it has tristate hardware on...
15 replies | 313 view(s)
-
02-13-2021, 04:10 PM
unusedFormat() the best option as noted for media life for reasons noted and leaving media mounted.
For that formattedUnused() option it could offer 'delete All' if the user really wants to start fresh - should have...
899 replies | 64554 view(s)
-
02-13-2021, 08:10 AM
An example of formatUnused() in setup(). Before Serial online if format unneeded or fast it continues startup. Edge case not tested but hopefully safe.
Until the Disk is FULL I can copy all or part of T_4.1...
899 replies | 64554 view(s)
-
02-13-2021, 01:30 AM
Yes, need to be done before trying to MTP mount the Teensy
Showing troubles with any delay once mount started ...
899 replies | 64554 view(s)
-
02-13-2021, 01:16 AM
@defragster said to do 'f' unusedFormat() a time or two :) - that could be added on MOUNT I saw perhaps:
#if USE_LFS_SPI==1
for(int ii=0; ii<nfs_spi;ii++)
{
...
899 replies | 64554 view(s)
-
02-12-2021, 10:17 PM
I see this in code:
int usb_mtp_recv(void *buffer, uint32_t timeout)
{
uint32_t wait_begin_at = systick_millis_count;
uint32_t tail = rx_tail;
while (1) {
if (!usb_configuration) return -1; // usb not...
899 replies | 64554 view(s)
-
02-12-2021, 10:14 PM
Got this 8MB SPI Prop working in LFSIntegrity. Ran to dirty all blocks then repeated after perhaps 'q' then unusedFormat():
Huge varience 5-6X if Formatted or not with 20+ms per block to format (IIRC).
'#' :...
899 replies | 64554 view(s)
-
02-12-2021, 07:33 PM
That is slow!
What does LFSIntegrity show on the media? Speedtest with 'g'? Then 'f' and 'g'?
<edit> : My prop mem on CS==6 - not showing up?
899 replies | 64554 view(s)
-
02-12-2021, 07:13 PM
Indeed 'r' reset does not help restore a missing storage device.
In fact if an explorer refresh is done then NO devices are shown?
899 replies | 64554 view(s)
-
02-12-2021, 06:10 PM
That p#824 change is the pretty version of what I did.
Just got new ZIP ...
9 devices mounted - removed prop and SD from build:
MTP_test
sd_addFilesystem: 0 20002fa8 sdio 0
SDIO Storage 0 254 sdio 31963742208...
899 replies | 64554 view(s)
-
02-12-2021, 08:40 AM
I did not refresh to see this reply before making the post where NAND support was added. What was weird was calling them NAND and not mounting NAND but only NOR? Made it seem like NAND should automagically work - when...
899 replies | 64554 view(s)
-
02-12-2021, 07:29 AM
So #3 and #4 are : NAND 1Gb on #3, 2GB on #4
> Do they not auto detect/select as NAND? But the FS name strings say "nand#" ??? LFSIntegrity has flags - but not showing in mtp-test?
> The working #5,6 are NOR's -...
899 replies | 64554 view(s)
-
02-12-2021, 03:54 AM
Okay - they are on 3,4,5,6?
What's wrong with 3,4?
899 replies | 64554 view(s)
-
02-12-2021, 01:44 AM
Back on T_4.1 with PJRC memory test board - asked this before...
Not understanding why : const char *lfs_spi_str={"nand1","nand2","nand3","nand4"}; // edit to reflect your configuration
Only showing :...
899 replies | 64554 view(s)
-
02-11-2021, 11:31 PM
Okay will update - thought it was me as @mjs513 didn't make note of it.
899 replies | 64554 view(s)