Only a few known Bluetooth dongles tested to work well - there is a thread listing the ones used and found good.
There is a DEBUG #define commented out in the main file, enabling that will provide...
Type: Posts; User: defragster
Only a few known Bluetooth dongles tested to work well - there is a thread listing the ones used and found good.
There is a DEBUG #define commented out in the main file, enabling that will provide...
The MicroMod Beta thread has development with that version of Teensy. @KurtE of course and @mjs513 did lots of heavy lifting there. IIRC it was mjs513 that hooked up the Processing transfer and...
Indeed, RTOS is its own set of issues/details.
Is this RTOS running on a Teensy with an NXP 1062?
If so, do EEPROM writes work?
Was wondering if it is due to 32KB code cache? XIP or any Flash code (especially on locked/encrypted) 1062 would need to be made available/plain to run. If that code then blocks flash access during...
Found this one link: electronics.stackexchange.com/questions/152075/inkjet-cartridge-control
And: instructables.com/Make-a-Handheld-InkJet-Printer-Print-on-ANY-Surfac/
Most of the examples used here from the host thread where it developed had a line in the code to edit.
Run the first time with a command to go into pairing mode, then rebuild with that turned off...
Found this on Arduino boards: rugged-circuits.com/10-ways-to-destroy-an-arduino/
perhaps this or other things apply - given 'some signs' of catastrophe in the package seems all safety margins and...
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...
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...
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...
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
@KurtE - Teensy_loader_cli.sln works to build setting Debug x86:
Usage: teensy_loader_cli --mcu=<MCU> [-w] [-h] [-n] [-b] [-v] [-f] <file.hex>
Hello World - Defragster was here!
...
@KurtE - I'll give it a go to confirm it builds here and check back.
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.
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> [-w] [-h] [-n] [-b] [-v]...
Didn't restart yet - opened and build gave this:
Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol __imp_SetupDiGetDeviceInterfaceDetailW...
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
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.
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...
Any install of TeensyDuino brings all the sources in that directory.
if the number of bytes .available() is known, See: arduino.cc/reference/en/language/functions/communication/serial/readbytes/
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...
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...
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. ...
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...
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...
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...
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...
Looking at Kurt's sample I see:
// mandatory to begin the MTP session.
//MTP.begin();
So the problem is that MTP.begin()?
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...
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...
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...
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....
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...
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...
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...
@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...
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...
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"...
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...
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...
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...
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...
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...
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...
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...
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);
...
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...
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:...
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,...