@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...
Type: Posts; User: defragster
@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,...
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...
... 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...
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...
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
Wow from "250+" it has dropped. Clicking the circled item:
28358
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 :...
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...
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...
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...
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...
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...
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....
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:...
@Paul: just thought to read the end lines of CONSOLE from install and build p#2:
Multiple libraries were found for "SD.h"
Used:...
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...
@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...
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...
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 ...
Congrats. Pin headers do add challenge to the QSPI soldering. @TallDog makes some good stuff - remembering switches better than tossing a good board.
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...
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,...
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...
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...
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.
...
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...
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...
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...
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...
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.
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?...
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...
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...
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...
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...
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 (...
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...