-
Older Activity
-
Today, 09:23 AM
Quick single search shows it here : www.math.sci.hiroshima-u.ac.jp/m-mat/MT/TINYMT/index.html
URL the same - just a ~ changed in the path.
On github as : github.com/MersenneTwister-Lab/TinyMT
> last update : Aug...
17 replies | 4470 view(s)
-
Today, 08:04 AM
Good luck with whatever is working to trace back.
If you have code that can walk back and uncover the stack in any way please post.
The code edit just forwarded to FrankB could capture that onto PSRAM or RAM2...
10 replies | 89 view(s)
-
Today, 05:19 AM
That would be this then :: effective states : -1 (when REV held) or 0 or +1 (when FWD held)
The code posted has a lot more involved that isn't relevant given no analog is desired ...
Perhaps start with this...
6 replies | 71 view(s)
-
Today, 04:46 AM
Since it wasn't stated ... had to ask given the use of 5V - could have been an AVR Teensy - otherwise it makes no sense to use 5V for an input when while 5V tolerant - it is a device designed for 3.3V usage.
Any pin...
6 replies | 71 view(s)
-
Today, 03:21 AM
I'm using p#522 here - just minor tweaks for cleaner output and a KurtE Edit that works between 506 and 507.
532 replies | 29720 view(s)
-
Today, 02:58 AM
What Teensy is in use? Is it one that is 5V tolerant?
From 2 buttons FWD and REV ? Is the motion to stop when the button released - not return to zero?
6 replies | 71 view(s)
-
Today, 01:40 AM
Looking at the T_3.5 card. The Compact notations there indicate::
For WIRE - bold is default pin and non-bold is alternate for selection using .setXXX() to use the Alternate pins
pin: function
19 : SCL0
18 :...
8 replies | 103 view(s)
-
Today, 01:07 AM
Was there a change I missed for improved SD card reading? I have four partitions on mine and it is only giving this:
Initialize SD card...SD card is present.
SD Fat Type: Fat32
Volume Name: SD1_8GB_AD
done......
532 replies | 29720 view(s)
-
Today, 12:12 AM
FrankB's code isn't in a PJRC release yet - just a Pull Request on github.
I made some edits for his review that allows call to user sketch on a FAULT to save data to DMAMEM or EXTMEM for view after restart. This...
10 replies | 89 view(s)
-
Yesterday, 11:19 PM
The Bootloader responds to the button by a hardware signal on the board.
The USB Wire signal requires a functional USB Stack. Having output is one thing that somehow often works.
But the USB jump to Bootloader...
10 replies | 89 view(s)
-
Yesterday, 10:49 PM
@MeBoop: Writing to the SD in faulted state is suspect? Lots of overhead and moving parts have to be working for that? As noted - some faults allow USB Serial.print() others do not - but returning from fault handler...
10 replies | 89 view(s)
-
Yesterday, 10:11 PM
@MeBoop - indeed - would be great to see your 'crash trace dumo' code.
FrankB added a great T_4.x solution using the RAM2 area for Fault data storage. RAM2 is not zeroed on restart and if power is maintained that...
10 replies | 89 view(s)
-
Yesterday, 07:38 PM
Looks right for FAT32. Fat16 was big enough for MS-DOS as HDD's grew - much more so accounting for var sized clusters with compression factor of 16:1. Even Win95 with FAT32 couldn't fit FAT in single alloc limit of...
532 replies | 29720 view(s)
-
Yesterday, 05:31 PM
p#523 crosspost ...
Windows view of USB Hub Drive >> H: << and Flash drives >> F: and G: << as below:
Here is run on p#522 updated code - now has ExFat drive size:
Waiting up to 5 seconds for USB drive 1...
532 replies | 29720 view(s)
-
Yesterday, 05:27 PM
Just plugged in my 5 TB external - yesterday's code - doesn't matter given the part ID #238:
msc # Partition Table
part,boot,bgnCHS,type,endCHS,start,length...
532 replies | 29720 view(s)
-
Yesterday, 09:02 AM
Great! Also easy to use :: #define WIRE WIRE2
Not sure where those pin numbers came from they don't seem to match any 32 bit Teensy card. The T_3.5 and 3.6 can use ALT WIRE on pins 7&8.
8 replies | 103 view(s)
-
Yesterday, 08:57 AM
The T_4.1 package is : LFBGA196 and 12 x 12 mm, 0.8 mm pitch, ball matrix
The 1170 package is : LFBGA289 and 14 mm x 14 mm, 0.8 mm pitch
There was a note IIRC the board would have to be bigger just to hold the...
302 replies | 38633 view(s)
-
Yesterday, 08:32 AM
As noted those pins are for Wire2
So all the WIRE commands need to use WIRE2 not WIRE
That should select the right internal hardware to connect those pins.
8 replies | 103 view(s)
-
Yesterday, 04:02 AM
Glad you got it - there is an #if 0 in setup that will quickly confirm Faults are trapped as configured.
Locked up? Does it do the CARAT printing from timer with "#define SHOW_CLOCK_CARAT 1"? If not then it is...
532 replies | 29720 view(s)
-
02-25-2021, 09:37 PM
@wwatson - perhaps with line #16 on in UPDATE sketch below : //#define SHOW_CLOCK_CARAT 1
That will show MCU running but USB msgs stalled. Have you hacked in the PR for HardFaults just to know if any hang results from...
532 replies | 29720 view(s)
-
02-25-2021, 08:14 PM
Fun News: Fresh 128GB SD - as noted with 116GB primary ExFat.
Week old Windows 10 i7 - running next release of Windows 21H1 insider build:
On SD Deleted Factory Partition - Created one of 8GB { after format : BSOD...
532 replies | 29720 view(s)
-
02-25-2021, 07:19 PM
p#494 sketch looks Great!
Grabbed a fresh 128GB SD card and will make it Multi Partition.
I thought to do something like procesMSDrive(1, msDrive1, msc1); rather than Dupe - but time was limited and wanted to get...
532 replies | 29720 view(s)
-
02-25-2021, 10:19 AM
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 creation and DEMO:...
1 replies | 82 view(s)
-
02-25-2021, 09:57 AM
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 volLabel()'s )
>>...
532 replies | 29720 view(s)
-
02-25-2021, 08:26 AM
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 Vol Label - and it...
532 replies | 29720 view(s)
-
02-25-2021, 07:35 AM
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 (msController)
00 00 00...
532 replies | 29720 view(s)
-
02-25-2021, 05:10 AM
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 SHOWN, and it sees the...
532 replies | 29720 view(s)
-
02-25-2021, 04:46 AM
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
part,boot,bgnCHS,type,endCHS,start,length
exFAT:...
532 replies | 29720 view(s)
-
02-25-2021, 02:40 AM
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 startup okay ... then...
532 replies | 29720 view(s)
-
02-25-2021, 02:29 AM
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 the WIN 10 install...
532 replies | 29720 view(s)
-
02-25-2021, 02:16 AM
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 HardFault detection enabled -...
532 replies | 29720 view(s)
-
02-25-2021, 01:41 AM
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 formatted it when they...
532 replies | 29720 view(s)
-
02-24-2021, 11:26 PM
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 associated with...
17 replies | 5848 view(s)
-
02-24-2021, 09:22 PM
... 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 processing and the screen can...
1 replies | 70 view(s)
-
02-24-2021, 09:15 PM
... 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.
That is how Windows sees it, MSFT formatted it when they put on a Win 10...
532 replies | 29720 view(s)
-
02-24-2021, 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 | 109 view(s)
-
02-24-2021, 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...
532 replies | 29720 view(s)
-
02-24-2021, 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...
532 replies | 29720 view(s)
-
02-24-2021, 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...
532 replies | 29720 view(s)
-
02-24-2021, 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 | 24802 view(s)
-
02-24-2021, 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? }
...
532 replies | 29720 view(s)
-
02-23-2021, 12:44 PM
This was pulled for use :: github.com/KurtE/USBHost_t36 >> "This branch is even with PaulStoffregen:master."
532 replies | 29720 view(s)
-
02-23-2021, 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?:
27 replies | 744 view(s)
-
02-23-2021, 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:...
532 replies | 29720 view(s)
-
02-23-2021, 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 | 24802 view(s)
-
02-23-2021, 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...
532 replies | 29720 view(s)
-
02-23-2021, 12:09 PM
YAY for you :mad: - what am I missing :(
532 replies | 29720 view(s)
-
02-23-2021, 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...
27 replies | 744 view(s)
-
02-23-2021, 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...
27 replies | 744 view(s)
-
02-23-2021, 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)...
27 replies | 744 view(s)
-
02-23-2021, 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"...
27 replies | 744 view(s)
-
02-23-2021, 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...
27 replies | 744 view(s)
-
02-23-2021, 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...
27 replies | 744 view(s)
-
02-23-2021, 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...
27 replies | 744 view(s)
-
02-23-2021, 07:59 AM
@mjs513 ...
Made a github.com/PaulStoffregen/LittleFS/pull/8 to update from this fork: github.com/Defragster/LittleFS
830 replies | 24802 view(s)
-
02-23-2021, 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 | 24802 view(s)
-
02-23-2021, 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...
532 replies | 29720 view(s)
-
02-23-2021, 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......
532 replies | 29720 view(s)
-
02-23-2021, 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...
27 replies | 744 view(s)
-
02-23-2021, 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...
532 replies | 29720 view(s)
-
02-23-2021, 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...
532 replies | 29720 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 | 3231 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 | 350 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.
532 replies | 29720 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 | 3231 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 | 3231 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 | 3231 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 | 3231 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 | 3231 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 | 3231 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 | 177 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 | 3231 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 | 3231 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 | 3231 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 | 3231 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 | 3231 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 | 3231 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 | 860 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 | 860 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 | 256 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 | 256 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 | 1508 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?
906 replies | 64958 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...
906 replies | 64958 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 | 256 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 | 24802 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...
906 replies | 64958 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 | 3231 view(s)