-
Older Activity
-
Today, 02:22 AM
Posted code ref to Paul's is worst case - as CACHE or not - it runs end to end of all PSRAM writing values, then a second loop confirming those values are present as expected. So it will blow though the cache. That...
6 replies | 132 view(s)
-
Yesterday, 11:58 PM
Nice you have some T_4.1's on hand Ken.
I changed my ISP ... DSL finally made it the last mile to my home. Two miles of old wire actually bonding two 20 Mb pairs for 40 Mbps and 11ms pings from passing fiber. Best...
11 replies | 740 view(s)
-
Yesterday, 11:05 PM
Paul made this PSRAM test sketch: PaulStoffregen/teensy41_psram_memtest/blob/master/teensy41_psram_memtest.ino
It shows clock speed and tests various data patterns with write and read verify without any cache...
6 replies | 132 view(s)
-
Yesterday, 08:35 PM
Some few with QSPI FLASH/RAM preinstalled: protosupplies.com/product/teensy-4-1-fully-loaded/
And showing 41 unpinned : protosupplies.com/product/teensy-4-1/ and 4 with pins
11 replies | 740 view(s)
-
05-21-2022, 11:27 PM
@KurtE - Teensy_loader_cli.sln works to build setting Debug x86:
Usage: teensy_loader_cli --mcu=<MCU> <file.hex>
Hello World - Defragster was here!
-w : Wait for device to appear
...
32 replies | 2770 view(s)
-
05-21-2022, 08:21 PM
@KurtE - I'll give it a go to confirm it builds here and check back.
32 replies | 2770 view(s)
-
05-21-2022, 07:55 AM
Looking at the T_4.1 card here pin 8 is not labelled as SDA/{SDA0}. SDA/{SDA0} is pin 18? And that is on the opposite side of pin 8, the same side as pin 35.
2 replies | 81 view(s)
-
05-20-2022, 08:51 PM
Kurt - works to build fine as x86:
D:\Tim\downloads\Teensy_loader_cli\Debug>Teensy_loader_cli.exe
Filename must be specified
Usage: teensy_loader_cli --mcu=<MCU> <file.hex>
-w : Wait for device to...
32 replies | 2770 view(s)
-
05-20-2022, 07:12 PM
Didn't restart yet - opened and build gave this:
Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol __imp_SetupDiGetDeviceInterfaceDetailW referenced in function...
32 replies | 2770 view(s)
-
05-20-2022, 07:08 PM
It was asking for some specific 1.45 (?) tool pack. Rather than see if an update would grab it (or it could be found) - the Install of VS2022 Enterprise is done - ready for a reboot
32 replies | 2770 view(s)
-
05-20-2022, 06:21 PM
For the heck of it thought I'd see it work ... opps ... VS 2019 ... updating to 2022
Seems last update was to VScode ... not VS.
32 replies | 2770 view(s)
-
05-20-2022, 08:46 AM
Made edits to github.com/Defragster/T4LockBeta/tree/main/MakeFiles
> added #define && #ifdef options for LFS:
//#define USE_SDIO_SD
//#define USE_PSRAM
#define TEST_QSPI // Typical NOR FLASH
//#define...
1233 replies | 57636 view(s)
-
05-19-2022, 11:20 PM
Any install of TeensyDuino brings all the sources in that directory.
12 replies | 211 view(s)
-
05-19-2022, 10:20 PM
if the number of bytes .available() is known, See: arduino.cc/reference/en/language/functions/communication/serial/readbytes/
12 replies | 211 view(s)
-
05-19-2022, 05:02 PM
Look at TeensyThread perhaps?
With the devices being on separate SPI buses it isn't guaranteed to fail - but it may not work reliably having the processor pulled away and interrupted during an active read.
Setting...
1 replies | 64 view(s)
-
05-19-2022, 04:31 PM
Got update to MTP_Storage.cpp : Not back at it for another couple hours.
reminder: The MakeFiles.ino sketch has the 'v'erify for files it makes for testing on non-removable media.
> should be able to create...
1233 replies | 57636 view(s)
-
05-19-2022, 01:55 AM
Quick NOTE: Repeated w/MakeFiles >> Empty SD card ('W'ipe files), CP_HDD_USB copy to T_4.1_MTP. all files (1_Primes, 't', 'b') copied 2min 9 sec, 'v'erify on T_4.1 GOOD on all 'checked' files. Return SD to PC and...
1233 replies | 57636 view(s)
-
05-18-2022, 11:57 PM
Next steps:
Using SD with 1Primes folder and 't' I did 'b':
About 2+ minutes to copy, said it would take much longer, so I looked away and missed completion time. Src SD to PC copy under 30 seconds.
Did check...
1233 replies | 57636 view(s)
-
05-18-2022, 11:37 PM
Kurt, using that and your sample with no LFS_Prog.
> it got further along with FULL SD_MTP copy to PC_HDD.
--> 8 directories done (3 to go) instead of just 4 (IIRC) - but more dirs copied before 'pool' error
Not...
1233 replies | 57636 view(s)
-
05-18-2022, 10:04 PM
That built and ran. I see it uses MTP.begin().
> in makefiles.ino the MTP.begin is first in setup() before Serial.begin wait
> in mtp-test-integrity.ino it is the other way around ... the MTP.begin() will not be...
1233 replies | 57636 view(s)
-
05-18-2022, 09:09 PM
Rebuilt MakeFiles.ino without the MTP.begin() :: // MTP.begin();
But using the LFS_Prog :: MTP.addFilesystem(lfsProg, "PgmIndx");
Full SD from MTP to PC completed VERY QUICKLY!
Full SD from MTP to PC completed...
1233 replies | 57636 view(s)
-
05-18-2022, 08:46 PM
Looking at Kurt's sample I see:
// mandatory to begin the MTP session.
//MTP.begin();
So the problem is that MTP.begin()?
1233 replies | 57636 view(s)
-
05-18-2022, 08:43 PM
Thanks Kurt, built that sample and it ran until it hit the 'pool' ERROR, will need to add the LFS_PROG.
Enabled the debug in MTP.cpp
If I navigate to "This PC\Teensy\SD Card\ManyD10\D0.5" those 500 Byte files READ...
1233 replies | 57636 view(s)
-
05-18-2022, 06:36 PM
Noted compiling with MTP_Experimental, have made no edits to CORES - including the USB Descriptors
Indeed the 1_Primes issue cleared up with LFSProg for MTP.addFS(), but the bad xfer of 500 Byte base files still...
1233 replies | 57636 view(s)
-
05-18-2022, 05:06 AM
RE: p#1203
Moved T_4.1 to front panel USB from HUB.
Started timer and it was minutes ... so long I forgot it was running so not sure when it finished.
> CodeCompare results show the same Diff/Errors as before. ......
1233 replies | 57636 view(s)
-
05-18-2022, 03:29 AM
So you ran the bat - the entirety of it was the one line shown in the post.
> Seems like the indicated steps show your system having the MTP transfer integrity I'm not seeing with the same process.
Have got Win 11...
1233 replies | 57636 view(s)
-
05-18-2022, 12:44 AM
Made the p#1197 LFS PROG edit and it created that drive.
Removed 'mtpindex file' from SD card while in PC
Programmed T_4.1 with that SD card in it - so on Restart, first seen with MakeFiles.ino with that file on PROG...
1233 replies | 57636 view(s)
-
05-17-2022, 11:49 PM
Thanks, that is a good tip and needs attention to work right for dynamic file create and utility.
Seemed something like that {beyond my under the covers inattention} given the 1_Primes folder Not-Visited versus...
1233 replies | 57636 view(s)
-
05-17-2022, 09:11 PM
Updated to the fs_integration_part2 branch of USBHost_t36.
Seems to have made some change?
> Full disk copy interrupted 5 times with p#1186 Error dialog "... pool is empty"
- > deselected partially copied...
1233 replies | 57636 view(s)
-
05-17-2022, 05:04 PM
@mjs513: That looks like an old fileset pre MakeFiles "2204", please Purge and recreate with "t" command on start.
The verify scheme and mechanics of file content have evolved. Old file sets are not...
1233 replies | 57636 view(s)
-
05-17-2022, 04:41 PM
RE: Posts 1188,1190,1191,1192
I'll sync to the latest and confirm when I get back to it ... later today.
> assume Mike/Kurt are running Win 10? : Win 11 here on desktop, will have to try on Win 10 laptop.
Try to...
1233 replies | 57636 view(s)
-
05-17-2022, 07:04 AM
Only change to github.com/Defragster/.../MakeFiles.ino was an #ifdef.
Starting a T_4.1 with a usably empty SD card running MTP Experimental Makefile.ino create files with "t - Test Files write 2204"
> confirm Windows...
1233 replies | 57636 view(s)
-
05-17-2022, 03:43 AM
The problem relates to simple Notepad text file open using MTP when size is 500 bytes.
SD card on T_4.1 holds files created up to Jan/Feb 2022. The Makefiles folders and files.
> Going to set that Samsung 128GB SD...
1233 replies | 57636 view(s)
-
05-16-2022, 08:04 PM
Does this mean anything as a complete issue indication:
$$$ Failed to read Index record: 15 bytes Read: 0
$$$ Failed to read Index record: 16 bytes Read: 0
$$$ Failed to read Index record: 15 bytes Read: 0
On...
1233 replies | 57636 view(s)
-
05-16-2022, 07:43 PM
Thanks Kurt, it builds.
Will have to get back to what was in progress in Feb and start with some simple Xfer examples for confirming valid file transfer.
Browsing simple folders on T_4.1 SD works.
Opening a TXT...
1233 replies | 57636 view(s)
-
05-16-2022, 06:56 PM
Nice work! So, to catch up using TD 1.57b1:
MAIN :: github.com/KurtE/MTP_Teensy
and
github.com/kurte/USBHost_t36/tree/fs_integration_part2_format
With optional edit to CORES to support SERIAL still required...
1233 replies | 57636 view(s)
-
05-16-2022, 06:32 PM
Low Profile Headers: Adafruit are good.
One in p#423 are breakable Male and Female. The AdaFruit Females are solid and lose a pin when cutting to length ... with more effort to cut and clean the overage.
The...
428 replies | 106986 view(s)
-
05-16-2022, 09:39 AM
Seems these work with care: protosupplies.com/?s=low+profile
They are nice low profile PINS and Headers that are in 14, 24 pin lengths or 40 pin and Breakable to length.
Problem might be the bottom side pin length...
428 replies | 106986 view(s)
-
05-16-2022, 09:32 AM
Does it look much like this one? www.tindie.com/products/loglow/teensy-3536-breakout-revision-a-due/
$17 with headers and pins a USB connectors
@loglow has done some good work ... and there is a discount code in his...
6 replies | 375 view(s)
-
05-16-2022, 02:19 AM
Quick look seems the Adafruit lib doesn't include pin changes.
In the Teensy SPI library is this:
// Teensy 3.x can use alternate pins for these 3 SPI signals.
void setMOSI(uint8_t pin);
Do a forum search...
8 replies | 112 view(s)
-
05-16-2022, 02:05 AM
Yes, that is right for pins 11 and 13.
If there is a way to specify the alternate pin 14 for SCK in the software, then that can be used.
If you chnage one alternate pin that is independant of other optional ALT pins,...
8 replies | 112 view(s)
-
05-15-2022, 10:38 AM
Clicking github from posted link:
#define MLX90393_DEFAULT_ADDR (0x0C) /* Can also be 0x18, depending on IC */
And here for passing Address and Alt Wire:...
8 replies | 166 view(s)
-
05-15-2022, 04:15 AM
With one working that is a great start!
The product page links to learn.adafruit.com/mlx90393-wide-range-3-axis-magnetometer?view=all
if (! sensor.begin_I2C()) { // hardware I2C mode, can pass in address &...
8 replies | 166 view(s)
-
05-14-2022, 10:03 AM
Given no voltage drop on Program pin pressing the Button - then a 15 sec Restore Button press would fail as well if the bootloader chip is not seeing the button?
But won't hurt to try: Press Button and at 13-17...
7 replies | 210 view(s)
-
05-14-2022, 09:58 AM
... long time away from another thread ... YMMV ... that thread had testing of drive speed and details if it can be found ...
How large is the USB Host write Buffer to the Flash Drive?
seems it was optimal with...
4 replies | 88 view(s)
-
05-14-2022, 09:51 AM
Paul, posting complete code in use would be cool - though it is just expected to be the res(6) line before the p#1 two lines.
with a T_4.1: Today's new DVM does Freq Hz counting and gives a ballpark number of 1.999...
8 replies | 195 view(s)
-
05-13-2022, 04:48 PM
See Table: PWM Resolution (Teensy LC, 3.0 - 3.6, 4.0, 4.1)
Try appropriate values like analogWriteResolution( 6 );
> 6 bits or lower allows higher frequency
8 replies | 195 view(s)
-
05-13-2022, 03:11 AM
Wow from "250+" it has dropped. Clicking the circled item:
11 replies | 740 view(s)
-
05-13-2022, 01:44 AM
There have been some posts by Paul in various threads, a production T_4.1 run was just completed that primarily shipped to distributors.
Check the list of distributors on this page : pjrc.com/store/
For example...
11 replies | 740 view(s)
-
05-09-2022, 07:36 PM
PWM would allow 'unattended operation' - no active code after starting to trigger cameras.
Is the synchronized operation more important than the triggering resolution/jitter?
Is the T_4.0 doing other tasks?
A...
9 replies | 159 view(s)
-
05-08-2022, 05:59 PM
This coated wire came to mind - others might say if not appropriate: amazon.com/enamelled-wire
It is coated/insulated for wrapping coils - and links above show high temp ratings. And a variety of gauges with heavier...
2 replies | 131 view(s)
-
05-07-2022, 04:28 PM
Is it a US purchase? Sparkfun has 12 T_4.0's at the same $19.95 price, no T_4.1's at SFun or AdaFruit - but AdaFruit has T_4.0's at $19.95. Mouser does mark them up and DigiKey less so - and they have many hundreds of...
12 replies | 216 view(s)
-
05-07-2022, 03:13 PM
Check the T_4.0 and 4.1 product pages. There are units inbound, perhaps mostly destined for distributors as noted. And distributors do, or will, have stock on both in coming days/weeks.
No usable work-alike 1062...
12 replies | 216 view(s)
-
05-07-2022, 03:10 PM
Good morning @KurtE, ...
Only question was what is needed to get back to MTP current in sync with 1.57b1 ... wrongly assumed it was merged.
> i.e. current examples for MTP and MSC, and any external sources.
File...
568 replies | 35549 view(s)
-
05-07-2022, 08:00 AM
TD 1.57b1 available - if IDE 2.0 tested/used check the build dir the IDE uses. After 1.57b1 installed IDE 1.8.19 still used %appdata%\...\1.56.1 install, not where installed in the IDE unZip folder.
> noted on Beta...
568 replies | 35549 view(s)
-
05-07-2022, 03:42 AM
To confirm the IDE was closed to remove>>: C:\Users\Tim\AppData\Local\Arduino15\packages\teensy
> could not delete the folder because Teensy.exe and Teensy_ports were still active!
<edit>, BTW: killing those tasks...
17 replies | 1107 view(s)
-
05-07-2022, 03:32 AM
@Paul: just thought to read the end lines of CONSOLE from install and build p#2:
Multiple libraries were found for "SD.h"
Used: C:\Users\Tim\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.56.1\libraries\SD...
17 replies | 1107 view(s)
-
05-07-2022, 01:00 AM
Downloaded. Win 11 install on IDE 1.8.19 went properly.
<edit>: not even a system warning about file from download on execution.
T_4.1 BUILTIN_SDCARD ListFiles built and ran properly ... all 120,726 lines worth!
17 replies | 1107 view(s)
-
05-06-2022, 10:35 PM
@clinker8 - not had that 'timeout' hit here in some time. After logging back into that thread check the lower left corner of the 'reply' box for "restore" as content seems to be stored on some time period during edits.
331 replies | 55234 view(s)
-
05-06-2022, 10:32 PM
Maybe this helps? quora.com/What-is-difference-between-RS232-and-UART
UART is hardware detecting 0v as LOW or logic HIGH. It works with short wires directly feeding the MCU.
RS232 uses +V and -V and defines a...
7 replies | 145 view(s)
-
05-06-2022, 08:22 PM
Cool ... Looking forward to 1.57b1 and getting back to this. Keeping up was a chore with variety of peripheral adds ...
Seems I found the code in progress ...
568 replies | 35549 view(s)
-
05-06-2022, 04:53 PM
Congrats. Pin headers do add challenge to the QSPI soldering. @TallDog makes some good stuff - remembering switches better than tossing a good board.
7 replies | 150 view(s)
-
05-06-2022, 08:00 AM
Code shouldn't have a way to brick a Teensy. It can take it off the rails - but the button should bring it back.
Verify compile a simple blink with Teensy unplugged.
While holding the Button down plug the T_3.6 in,...
7 replies | 150 view(s)
-
05-06-2022, 12:42 AM
PJRC code optimized as possible for general use supporting all the hardware presented, where time allowed, and the need was present. Unless there is something specific going against that as needed, best to use the...
29 replies | 588 view(s)
-
05-05-2022, 08:20 PM
Using SublimeText as source editor here with folder source search and looked for the indicated: ADC0_CFG1
That led to the notes in p#22.
Finding it used in that analog_init - then seeing where that was called ......
29 replies | 588 view(s)
-
05-05-2022, 04:53 PM
Not surprising the T_4.x might have different "USB" behavior from T_LC given the chip hardware evolution from 12 Mbps to 480 Mbps requiring extensive new Teensy code.
It is perhaps interesting, or even telling, that...
8 replies | 158 view(s)
-
05-05-2022, 04:28 PM
When the T_3.6 {defined(__MK66FX1M0__)} powers on it enters the indicated ResetHandler() stored in Flash as uploaded from building the code at hand. That is the 'firmware' that runs on powerup.
All the code executed...
29 replies | 588 view(s)
-
05-05-2022, 08:12 AM
ESP32 can work well, when it does, but it is not a PJRC Teensy when it comes to general utility.
When it doesn't ... ??? ... if you get a backtrace there is a decoder for that.
The FeatherWing doesn't look to...
140 replies | 1853 view(s)
-
05-05-2022, 07:14 AM
Current most tested IDE is 1.8.19 and TeensyDuino 1.56 with 1.57 about to show up as Beta 1, so using that any 'PJRC' issues might get addressed in short order, but going to that 1.57b1 perhaps best to get current code...
4 replies | 156 view(s)
-
05-05-2022, 06:53 AM
Good luck. Flash use works well - can support multiple files and functions great for static storage.
Extra slack space can appear to use more than expected as the Flash is allocated and written in native page sizes...
7 replies | 150 view(s)
-
05-05-2022, 05:06 AM
Looking at LittleFS ... Seems like the direction of interest?
Good luck with the Flash attachment - done a few to good effect!
> supported chip
> properly oriented
> fix it in place with one pin, solder the rest,...
7 replies | 150 view(s)
-
05-04-2022, 11:59 PM
Yes, a suitable converter is needed - watch the voltage before making any connection.
From Wiki Voltage levels:
Those voltages are not Teensy UART pin compatible.
7 replies | 145 view(s)
-
05-02-2022, 09:10 PM
Neutral on naming here - as long as there are examples exposing the needed interface.
Mike noted SD issue with partitions(volumes?). Seeing 'FsVolume' that looks like it might cover those as well? So taking out yet...
568 replies | 35549 view(s)
-
05-02-2022, 06:30 AM
Paul will announce the TD 1.57 beta 1 release.
Installing that to test will give access to the current code as incorporated.
That thread or this thread likely will end up being the place to track any changes as the...
568 replies | 35549 view(s)
-
05-01-2022, 11:02 PM
The GPD used here was UART Rx/Tx - might be that GPS>USB>FTDI would just connect ... may do the same using USB Host mode to Teensy if it just SPEWS messages.
But there can be interface software associated to edit...
5 replies | 160 view(s)
-
04-30-2022, 08:36 PM
Indeed, not using {} braces on every control conditional or for/while is asking for trouble.
Handy Tip?: In the IDE (or as coded in the editor at hand) hit "Ctrl+T" and uniform code formatting is applied. In this...
6 replies | 179 view(s)
-
04-30-2022, 08:28 PM
Indeed elapsedMillis encapsulates the work of tracking the time nicely. That solution looks like the 'alternative' to state machine mentioned. Not knowing what other code is to be completed - having a button response...
13 replies | 238 view(s)
-
04-30-2022, 08:20 PM
The Teensy main USB is in Device mode, as is the GPS. So, they won't see each other as devices only talk to a 'Host'.
To have the T_4.0 see the GPS it would need to be put on the USB Host pads ( marked on the CARD...
5 replies | 160 view(s)
-
04-30-2022, 08:01 PM
Indeed, that example solves for a simple running loop and the p#1 code has the delay()'s in button response code. And they cascade with actions in between 'wait' times. That speaks to use of a State Machine.
That...
13 replies | 238 view(s)
-
04-30-2022, 07:07 PM
Would a grounded wiper 'brush' (desolder braid?) contacting on the back side of the metal tension rollers bleed off enough to aid in electron control?
That roller makes full height contact on one side with the...
23 replies | 721 view(s)
-
04-30-2022, 05:43 PM
Look at this installed example for tips to see if provides the needed process:
{local install}\examples\02.Digital\BlinkWithoutDelay\BlinkWithoutDelay.ino:
// constants won't change. Used here to set a pin number:...
13 replies | 238 view(s)
-
04-30-2022, 05:37 PM
The github link provides a 'Code' / ZIP download of the updated code, download that.
That 'folder of code' can be placed in one of two places so the IDE will use that updated code:
> {sketchbook}\libraries\SdFat
...
24 replies | 469 view(s)
-
04-30-2022, 05:54 AM
Just bringing this from p#12:
Not sure if this 'no film ... run' would be exercising the stepper the same without the spool tensioner feedback.
23 replies | 721 view(s)
-
04-30-2022, 01:28 AM
Doesn't a Van DeGraff generator use a belt :)
23 replies | 721 view(s)
-
04-29-2022, 11:46 PM
If reading right ... the working code has this explicit call in setup(): audio = new SOARAudio();
Where the failing code has the same code done in the constructor called implicitly when the static element is...
14 replies | 287 view(s)
-
04-29-2022, 11:32 PM
There are two other plates of aluminum under the spools and indeed the passing rollers. I was assuming the spindles on them hit the main aluminum plate - but it seems they may be insulated as well by bearings?
Glad...
23 replies | 721 view(s)
-
04-29-2022, 10:42 PM
What Teensy is selected for Board?
Code as provided builds fine for a T_4.1 that has those pins defined.
When using pins as 'Analog' these lines are not needed - AFAIK:
void setup() {
// for (int thisPot = 0;...
7 replies | 182 view(s)
-
04-29-2022, 10:34 PM
So, the load cells measure the tension of the passing film?
Is the aluminum plate structure grounded?
Passing plastic strips over aluminum plate makes me think of how unhappy my cat is when I take off wool or...
23 replies | 721 view(s)
-
04-29-2022, 08:53 PM
Is that the MCU for a T_4.0 - not the larger T_4.1?
Would it make sense to rework the PCB to hold a SparkFun MicroMod Teensy Processor?
That $21.50 item is available - would need the M.2 connector - but include a...
25 replies | 522 view(s)
-
04-29-2022, 08:17 AM
Quick notes ...
Pins don't current limit - needs to be done externally
To invert the output - just invert the desired on time? For 0-255 8 bit value instead of 25 for 10% on it would be 255-25?
3 replies | 118 view(s)