In setup() you probably have something like
Serial.begin(9600);
while (!Serial);
This means that the code will wait forever until the USB serial is present.
What you should have is something like
Serial.begin(9600);
while (!Serial &&...
Your sketch very likely contains a line in your setup() function like while (!Serial) {}. This line will cause your Teensy to wait forever until a serial connection is available for your Teensy to put out any status. When you connect the USB...
FYI - I just ordered an RPI5 from Amazon which should arrive in the next few days.
So will be trying it out soon... Maybe at some point will add SSD to it, will for now boot off of SD and use secondary SSD...
It has been awhile since I did...
When I tested, after installing 0.60.3 and restarting the IDE, first attempt to use the Ctrl-Shift-P immediately after restart IDE to run the security commands gives errors about Teensy not installed. But if I select Teensy from the drop-down...
I installed the Arduino IDE directly from arduino.cc, the install was straightforward and does run. The second screenshot is where I'm stuck. I'm not sure if I need to unzip or or what. Thanks.
When I tested, after installing 0.60.3 and restarting the IDE, first attempt to use the Ctrl-Shift-P immediately after restart IDE to run the security commands gives errors about Teensy not installed. But if I select Teensy from the drop-down...
As with any 2 program running on any operating system, your ability to save a file in the first program and successfully use it from another depends on observing where the first program saved the file and being able to instruct the second program...
Ooopps, I had the IDE set for "Smallest Code". I redid with "Faster". Now it works perfectly:
EXTMEM Memory Test, 8 Mbyte
CCM_CBCMR=B5AE8304 (88.0 MHz)
testing with fixed pattern 5A698421
testing with pseudo-random sequence, seed=2976674124...
Loaded and running. It does not complete, but it does appear to successfully run many of the tests:
Start:
EXTMEM Memory Test, 8 Mbyte
CCM_CBCMR=B5AE8304 ( MHz)
Utesting with fixed pattern 5A698421
testing with pseudo-random sequence...
FYI - I just ordered an RPI5 from Amazon which should arrive in the next few days.
So will be trying it out soon... Maybe at some point will add SSD to it, will for now boot off of SD and use secondary SSD...
It has been awhile since I did...
@kd5rxt-mark gave me an idea. I deleted all things teensy from packages and staging and reinstalled 0.60.3 and then did a generate key and it started working. @defragster you might want to give it a try
Generate Key and key location:
Fuse...
You may find the info at the link below useful. I have used it as a reference a few times.
https://quinled.info/2019/06/03/what-digital-5v-12v-rgbw-led-strip-to-buy/
Yes, if USB Serial was included - it will connect when Host is present and running a good SerMon on a good cable.
The " if (Serial) " is the easy proper test.
Though p#4 code as written will send a Large/Fast/Uncontrolled amount of '.println()'...
I do have 1.8.19 installed, 64-bit version, and "A port of Debian Bookworm with the Raspberry Pi Desktop" 64bit version, I have downloaded both 32 and 64 versions of the teensyduinoInstall, I just don't know enough about Linux to do the chmod and...
Some recurring issue is Flux or other residue/issue needing to be fully cleaned as appropriate to Flux in use, with good solder connects in right orientation.
Usually high % Isopropyl cleaning and then dried well before powering.
As shown in p#6 the Teensy Secure is present, but not found an option that results in anything showing activity.
TaskMan shows "Arduino IDE (10)" tasks - nothing adds one - unless it is once momentarily.
NOTE: Machine shutdown for UPDATES after...
And then, what append when I plug the USB cable during runtime? Are the Serial ports automaticaly activated ? How to check the USB serial ports presence to only use them when PC is connected ??
Something like:
void loop (void)
{
if(Serial)...
Thank you all for the suggestions. However, there is no crash during the setup() function.
We're now back to weird glitchy noise sounds that last for the duration of the sample length. I only added the crash report part to the start of the...
In setup() you probably have something like
Serial.begin(9600);
while (!Serial);
This means that the code will wait forever until the USB serial is present.
What you should have is something like
Serial.begin(9600);
while (!Serial &&...
Your sketch very likely contains a line in your setup() function like while (!Serial) {}. This line will cause your Teensy to wait forever until a serial connection is available for your Teensy to put out any status. When you connect the USB...
With cases like this, it often helps to post additional information.
Things like:
What version of Arduino/Teensy code you are using.
Some of the compiler stuff at the end, like using library X and not Y...
My output for it shows...
The Teensy 4.0 runs a program as soon as I plug in the USB cable. However, if it is powered via 5v and GND and the USB cable is not plugged in, it doesn't run the program. I have verified the 5v is present at the teensy and the 3.3v is also...
I've pushed a few changes to the branch. There was still some debug cruft in there, and a class name clash with the corresponding fixes in my playback / recording updates to Audio.
I also made a minor change to the preloading, as it kept trying...
Hey all
Been a while since I tinkered with all things Teensy.
I have a project for a local theatre which is going to require quite a few RGBW leds.
The amount of options now for Leds is insane... you can't see the woods for the trees.
I am...
This is actually a really exciting project. Some of the guitar pedals that people have built are AMAZING, and fun to play around with, but you can now buy a guitar modeler for very cheap, that even has mobile app control. But digital mixers are...
Or you may be having some memory trashing issue, like how much space is left for a stack?
Taking a look at one of your Bitmap files, I see:
// Generated by : ImageConverter 565 Online
// Generated from : bluetooth2.jpg
// Time generated : Wed...
Today I tried to solder PSRAM chips (APS6404L) onto a Teensy 4.1 board. Both chips did not work, but seem to be defect. The following error messages were reported while testing the memory:
First Chip error Message:
15:17:05.580 -> EXTMEM Memory...
Some additional information,
Setting the fillScreen colour to Black, Navy, Darkgreen and Maroon all cause the same issue, using any other colour the touchscreen works fine!
Using fillRect to draw a background also has the same effect on the...
Installed this beta (0.60.3) and then restarted the IDE. macOS 14.7, Arduino IDE 2.3.3.
When I try to execute any of the Teensy Secute commands via cmd-shift-p, I see this error message:
"Could not find teensy_secure utility. Please use Boards...
I figured it out: the IDE did me a great favor & re-installed 1.59.0 over 0.60.3...deleting 1.59.0 & re-installing 0.60.3 did the trick :p
EDIT: Or, more likely, I just forgot to install 0.60.3 in the first place...DOH...need more coffee ...
Do you have Arduino 1.8.19 installed?
It has been a while since I have done this with linux like this.
But I think after you download the Teensyduino, you need to mark that file as executable.
maybe something like: chmod +x...
Thanks KurtE, I will leave the touch side of things as I got rotary encoders and buttons to do selection anyway.
I used SPI1 as the SPI pins are used by the audio shield just to be safe.
As you noted should not have same CS. But the MISO pin of many of these displays have an issue where they are not buffered, i.e.
they don't work well with other devices. Many fix by using other SPI buss for touch, or add on an external buffer...
I just noticed something very stupid.
I have both the display and touch SPI chip selects set as the same pin :-(
#define TFT_SCLK 27 // SCLK can also use pin 14
#define TFT_MOSI 26 // MOSI can also use pin 7
#define TFT_MISO 39 // MOSI can...
Thanks KurtE I did see in complier warning it complaining about PROGMEM being already defined.
But I have found the problem after cutting down to a simple program and seeing it worked I then went back to the original program and commented out all...
I've been there, hence the "assumes I have much more knowledge than I do". I have downloaded https://www.pjrc.com/teensy/td_159/TeensyduinoInstall.linuxarm but have no idea what to do with it.
Or you may be having some memory trashing issue, like how much space is left for a stack?
Taking a look at one of your Bitmap files, I see:
// Generated by : ImageConverter 565 Online
// Generated from : bluetooth2.jpg
// Time generated : Wed...
Well cutting it down to a simple Test program and it works fine.
My guess is I must be accessing the TFT instance while it is already busy, interrupt or something.
If I draw something then access the TFT immediately for something else, can it...