Times look the same to the new from here. Did a cache flush - maybe if not done there is a redirect lookup?
C:\T_Drive\Programs\iperf>ipconfig /flushdns
Successfully flushed the DNS Resolver Cache.
...
There is this Wiki: github.com/TeensyUser/doc/wiki
Perhaps it could be home to such a collection. Not sure if any are covered, there is an 'Electronics' area - but didn't see such topics there now.
Forum still seems #'s noted in p#3 as old:
>ping forum.pjrc.com
Pinging forum.pjrc.com with 32 bytes of data:
Reply from 96.31.69.28: bytes=32 time=83ms TTL=46
Reply from 96.31.69.28: bytes=32 time=83ms TTL=46
...
Seems to have gotten right here:
>ping pjrc.com
Pinging pjrc.com with 32 bytes of data:
Reply from 162.254.150.250: bytes=32 time=83ms TTL=44
Reply from 162.254.150.250: bytes=32 time=83ms TTL=44
Reply from...
Glad it works. No idea of the SDK - just a rumor in that comment from the person that saw it there - noted in posts - likely the SDK from NXP for the processor ...
There is a similar older post for RTC of the T_3.6....
Given pins on the T_4.1: a manufactured cable with female end would be more 'normal'
pjrc.com/store/cable_usb_host_t36.html
Similar may be at Amazon like 2 pack of...
It can be found (on windows?) in: %appdata%\..\local\Arduino15\packages\teensy\hardware\avr\0.58.3
Where the last 'folder' is the installed version.
ALSO: instead of modifying the boards.txt itself put the desired...
Glad it is now working - with some added hassle.
When the IDE offers 'Update' it uses the installer for sure. In early Beta I was doing 'UnZip' to run and the first Update abandonded the UnZip folder and went to...
I sit corrected! And confirmed: T_4.1 after 15 sec Restore does present as RawHID
It is running 'Factory' Blink - but online as RawHID and ready for upload without a Button push!:
So not "Factory" NOOB Blink with...
Hanks, first read suggested it ran some time - but re-reading suggested that was the time to make the build work.
Would be interesting if the same build could be done with the Arduino IDE to see if the result is the...
Nah, Teensy is unique in a number of ways. It is programmed over USB - but PJRC presents the Teensy as a RAW HID device to perform the upload. This happens on the Button push - or when the running Teensy having working...
With IDE 2 what 'version #' of Teensy was used initially with board manager?
Current is 1.57.2 but there is a Beta for 1.58.3 that is noted as 0.58.3 in board manager.
The Beta is started with '0.' to prevent it...
As noted in p#2 - it is doing well if running 'Blink' after the 15 second Restore, but like when factory new that Blink code does NOT present as a USB device ... that simple Blink fits (IIRC) in a 4KB block to minimize...
Good link @shawn
As shown there the missing piece is this line. It wasn't easy to find, but it was found as noted in the SDK to enable and made the access work:
void setup() {
SNVS_LPCR |= (1 << 24); //Enable...
As noted on T_4.1 spec Card - VIN should be 3.6 to 5.5 V Max.
Somewhere over 5.5V components will suffer damage.
Damaged components can go in various ways - sounds like something has gone to shorted and is over...
RAM2 / DMAMEM is cached for sure, and it and the 32KB cache are unique to the T_4.x's 1062 architecture.
The cache does 'get in the way' using DMAMEM needing that extra attention - but it not only keeps RAM1 free for...
Cool: github.com/ssilverman/QNEthernet
no before - here is after/current with TD 1.58b3:
"C:...\arduino_build_IPerfServer.ino/..."
teensy_size: Memory Usage on Teensy 4.1:
teensy_size: FLASH: code:144608,...
Indeed, the build output doesn't indicate Bytes - though that is the implied typical measure. And the linked page is sparse with the word BYTE as well and shows 'K' without a 'B' indicator.
justifies general rule: don't print in an ISR
Though doesn't justify a stuck CPU if there was a good reason ... debug or other ... for wanting that done there.
Since it is in the more rare .flush() used when seems...
Yes, the line: RAM1: variables:47424, code:161560, padding:2280 free for local variables:313024
Shows the static allocations for the resultant binary.
More info on T_4.x memory is at:...
It might be triggering something in the power up sequence: See pjrc.com/store/ic_mkl02_t4.html
@Paul made a good post about the process - maybe that would be good linked to that section? It involved having 3.3V on...
Those printed results are showing memory use and allocation of internal RAM - there are two blocks of 512 KB.
If PSRAM memory is present it is detected and prepared for use only at run time.
In that sketch follow...
Yes, yes you did make a text to speech example.
On a T_4.1 with Rev D Audio board and the ZIP wav files dropped on SD root and placed in the T_4.1
Has a decent word grasp and does well or makes a good try.
The Teensy 4.1 CARD ideally delivered with the Teensy, or linked on PJRC.COM, shows pins associated with SPI and SPI1 on the front and SPI2 on the bottom.
The color code for SPI is 'green bubbles' around...
Is there an 8 second delay in the restarting or no real delay?
It might be crashing. On computer with SerMon connected it might show that:
void setup() {
Serial.begin(115200);
while (!Serial && millis() < 4000...
What OS?
Pestering the computer 20 times a second with a pair of moves might have triggered it?
The Button should take the Teensy to Bootloader with a RED LED showing. If Teensy Loader is active with a usable...
Only SPI I spent time with was for the: ...\hardware\teensy\avr\libraries\XPT2046_Touchscreen\XPT2046_Touchscreen.cpp
It is blocking - but does do stepwise SPI transfer in: void XPT2046_Touchscreen::update()
It...
Thanks - almost deleted before posting when the numbers were so similar. There was a sketch once that showed better improvements up to 16KB - and lesser below that - maybe it was the SD Card in use ... so that is YMMV...
Anything can work in steps of some couple MHz auto adjusted versus requested value based on clock math.
Certain select frequencies are 'sweet' spots: 600 Max in Spec, 528 optimal speed and current design, and others...
Looks like "Pit Cap with LCD Animated Eye From Andrea's Top Hat $95.00" uses an RP2040:
This is the same LCD Eye Circuit Board that Andrea uses on her Top Hat on BattleBots! It features a 1.28" Round 240x240 Pixel...
Run this example: ...\hardware\teensy\avr\libraries\SdFat\examples\bench\bench.ino
You can adjust buffer size.
Just now on 'used' cardwith data 512B Read and write as fast as 4KB and 16KB ... YMMV
See:
......
When it comes to the IDE 1.8.x the Windows UnZip method was used for running it. Not only was it easy to have multiple installs of the evolving IDE during Beta of IDE and TeensyDuino, but there seemed to be some...
Have fun. p#4 padding shows the next 8K of code out of RAM1 ITCM almost doubles the 33KB of free space for DATA DTCM giving another 32KB.
... then it is on to the next 32KB of code to remove ...
Perhaps the...
The definition goes away during compile - but below:: 200012bc g O .bss 00000004 test_struct_ptr
Building:
uint32_t global_var = 0; // takes up 4 bytes in RAM 1 because it is global
struct TestStruct {
...
Seems like PJRC's Teensy 4 / 4.1 MEMORY storage info web page has been found indicating the keywords to use?
This info from building gives a snapshot of allocations:
teensy_size: Memory Usage on Teensy 4.1:...
That makes 3 going 9 blinks? All after using PIO to build the upload sketch?
Nothing should brick a Teensy - Dev environment or the sketch - but something there is.
Are ALL wires touching the Teensy (except needed...
Yes (re p#14 & #15), post #7 that thread. And the 'factor of 2' was an erroneous question p#14 - it was noted 4K sectors have 2K words so the /2 already included.
Found code 6/6/2019 that externally tests EEPROM...
It works fine with Null terminated C strings.
This from example: ...\hardware\teensy\avr\libraries\LittleFS\examples\Test_Integrity\PROG\functions.ino
"char szPath;" is built with sprintf() - other logic removed - but...
At least one 9 blink came back to working after reinstall of the IDE and build software? Did they both come back or just the unsoldered one - or is there a third " Teensy 4.1 out of the box "?
The base blink doesn't...
Thanks, was being lazy. - looked a bit with provided link and if reading was correct - may have learned something?:
Interesting that is a BYTE write - all 2,4,more Byte writes call that one byte at a time to find write...
There is a large amount of flux showing on the pin tops on the soldered Teensy.
That rough surface texture on that chip looks familiar - but looking at a few T_4.1's here I don't see it now.
> any chance it is...
Indeed, indexing through a structure can work as long as structure padding and offsets and indexing are kept in line - any errors will bring data loss into play.
Also allowing the low level wear leveling logic to run...
No code posted for review ... what library and update method is in use?
Normal blocking write updates can't be interrupted by touch reading?
With DMA updates any touch polling will break the background DMA transfer....
Here the 2 year old Win 11 machine shows 133,997 files and 28,236 folders using 21.3 GB on C: disk with search for 'arduino'.
Again - some of those files are 'for IDE use' that are not part of the IDE. The IDE has no...
Opening the IDE 1.8.19 and doing 'Ctrl+,' open the preferences. There is a button to open 'More preferences can be edited' - it is a simple text file.
> That file and folder will not be destroyed as it can be shared...
No, using those pins for GPIO would only work when no SD card access was required, and the SD card not present. Both 'software' and the physical interconnect would preclude SD card usage.
The indicated sniffer type...
Opened - detected Update and Updated.
Built first sketch to T_4.1 to work.
Opened another sketch and indeed HOVER over these and it shows:
> This and any 'printf' instance indicates it is a MACRO
#define printf...
Wondering: Expected that write/commits done before any write call returns?
Doing a PUT of 48 Byte structure - might cross two sectors:
> Assume it is boundary checked and both committed before return?
With a for...
Seems about right. Paul has made prior posts and during the T_4.0 Beta one tester dug into the code and wrote a test to decode and verify tracking with a sketch to verify function to reliably act as designed.
The...
TLDR - Ha - the 9 page TOC is quite extensive! Lots of greek TLA's to me, though newly interested. Didn't see the book before - though seems I hit the page for the T41-EP SDR once some time back.
Not looking like the...
@SteveCS - For IDE 1.8.19 there is the TeensyDuino installer from the PJRC.com that bypasses the Board Manager as the only way to add Teensy support.
For IDE 2.0.3 there is Board Manager support for 'Teensy' where...
Windows sets aside a COM# to assign a given device when it is first seen - it seems.
I recently had come Bluetooth device then get stacked on that same COM# and when it did the lookup it didn't treat the old device...
@econjack - that's very cool! Well done!
Perhaps you could add a USB keyboard and type Morse and have the Teensy decode and display :)
Project by Jack and Albert I see.
Hopefully the EEPROM management in sketch is...
@DavidHall - did you order the three pack with the shield mount as seen on the product page? If so a DVM might help verify the routing of the lines from the shield for Arduino connect to the Module edge pins?
If only that chip location could have a 'dongle' installed to push pins to the 6 on the ethernet pin header and maybe bring the other 6 up too: T_4.1_NE_MAX :)
After sending the CrashReport to USB for transmit the code continues as written.
If the Crash is encountered again it will just cycle until the cause is eliminated.
Try:
if (CrashReport) {
...
And yes, it would be nice if the lowest level could/would detect no PHY chip on board.
That wasn't a concern when PJRC did the initial work.
The NE version only came about because of supply issues requiring the...
Hopefully the NOT-NE is available as needed!
Stuff happens - Ordered a pair of the PJRC MagJack kits - pushed them around for months and now need one and don't know where they have been hidden. Did find one of the...
Kuckily the link was easy to find: https://wokwi.com/
Hadn't heard of it before.
But Teensy is 'Arduino' first and foremost. Without Arduino Teensy would have been something else. Though of course it is also...
yes, seems that (TPD3S014) is the vHost power control switch.
And - wow - 12 I/O pins feeding the ethernet chip brought out and then not used. Recall the T_4.1 beta hardware comment about the need for 12 pins for...
Not clear what is different/wrong there?
Left it 'ON' here then it went OFF after some time.
Pulled ethernet and then repowered and it came up 'OFF' - no Green LED
Plugging Cable went 'ON' and GREEN LED ......
Running that here (with added FILE name print) shows:
C:\T_Drive\tCode\ethernet\SimpleQNE\SimpleQNE.ino Feb 26 2023 13:35:24
Link State: OFF
Link State: OFF
Link State: ON
Link State: ON
Link State: ON
Link...
Wear leveling is handled 'transparently' for all methods of write or put.
Not sure what this statement might be doing: EEPROMData.currentWPM = currentWPM;
Using .put will put a complete structure of the size...
Seems to be linux? Are the current '00-teensy.rules' properly installed?
pjrc.com/teensy/td_download.html
see:
Linux Installation
Download the Linux udev rules (link at the top of this page) and copy the file to...
Arduino IDE showing 1.8.15? Current version in use is IDE Version 1.8.19.
Also the current Teensyduino version is up to 1.57. Not sure of the version there, but a fresh install of that as well might clear up the...
That is sad - though not unexpected. Not that TeensyThreads isn't a well done impressive piece of work as far as it goes. Just that parking a task, as it is designed to do, seems fraught with peril for certain types of...
Added CODE marker selecting the CODE and then hitting the " # " hashtag button on the toolbar to preserve indenting.
Not pulled the code or looked further here. Wasn't sure as noted I had the right code - but finding...
re p#5: just glancing around at 3:25 AM before Zzzzz's
Sounds like that is the GD2.h library source in use. that author has a few repositories and browsing on github on the web is limiting.
Interesting that changing...
That looks cool. It shows as 3.3V so that is proper - and it has 5V tolerance.
Up to 36 MHz SPI speed seems nice.
Though here ESP32 sets to 40 MHz: github.com/jamesbowman/gd2-lib/blob/master/GD2.h#L342
But that is...