@FKS39 - I dug up some MSC examples from a while back that I used for testing MSC. Just went through them to make sure they still work. I put them up on GitHub for anybody that wants to try them out. The bench.ino and copyFilesUSB.ino give...
A bit of overkill for sure :) - but watching the video one is handling the line steering and the other purposefully isolated for motor drivers as the goal was to measure current draw for the motors
HI Frank!
The only “new” developments to the hardware have has been the SDRAM DevBoard - But thats an open source members project sponsored by @Dogbone06 and not an official PJRC development.
Some of us have done some cool things with the added SDRAM and...
Does a 15 second Restore press of the PGM Button until the USB end RED LED gives a flash to release do anything?
That ideally would restore a factory Blink sketch.
It would be more useful to post the code you tried to use on the T4.
Have you read the file MIGRATION.md in the SmartMatrix-master directory? It describes some changes that are required to get that library working on a T4.
It would also help if...
After a few hours tikering with frank's library i got the button working perfectly. I can do long and short press for different functions then a 5 second hold to turn off the device, and 1 second to turn it back on. it all works perfectly and...
Rezo WINS!!! I changed LV_MEM_SIZE from (32U * 1024U) ... to ... (128U * 1024U) -- (why the "U"s?) and everything works and is solid as a rock!! (I see the simulator uses (256 * 1024U) -- (no first U?) (I'm clueless about lv mem monitor...)...
U’s are for Unsigned, its a suffix to tell the compiler that the value is a constant unsigned int.
I still urge to use the lv memory monitor.
I used it to identify a memory leak a few years back that happened each time I navigated between screens.
Using CrashReport()'ing in setup after Serial is established will give some info of the fault causing the restart that might be helpful
https://www.pjrc.com/teensy/td_crashreport.html
You’d need to change that core file if you want the built-in pin access functions to work correctly. Or, if you didn’t want to modify the core at all, you could just copy the functionality from the pin functions you need into your own functions...
For posterity, I wanted to decrease the priority of an interrupt attached to pin 35. So I added this to my setup():
IOMUXC_GPR_GPR27 = 0xEFFFFFFF;
digital_pin_to_info_PGM[35] = {&GPIO2_DR, &CORE_PIN35_CONFIG, &CORE_PIN35_PADCONFIG...
yield() is called each time before loop() re-enters. yield() can be called elsewhere to trigger the serialEvent#() functions. It has relatively efficient parsing of all the active UART Serial ports in use. delay() calls yield - but that would add...
In another thread:
https://forum.pjrc.com/index.php?threads/fast-data-logger.76789/
I discuss building a fast data logger. Central to that is using a full 32 bit wide bus to maximize throughput. I though it would be useful to break out what's...
If it isn't down more than that after 6 months - the RTC is somehow not feeding off of it. That would explain it not holding time.
Is the voltage being read from the Teensy vBat pin against GND? And there will be measurable uA of current used -...
Posting a link back here for the second created thread would be good.
Did a couple searches and there is info out there - but not knowing the mic type or situation it doesn't help refine the search or see the right answer.
In general though...
Area doesn't usually have any effect - it just needs to be seen by someone understanding the issue to scan the postings.
Best to just keep one thread and perhaps add to it if you find more relevant info that might help get to an answer.
Next week PJRC will have a Leftover Teensy Stuff sale, now that SparkFun is manufacturing all Teensy boards.
Teensy 4.0 with pins soldered crooked (but fully functional) at half price will come with a free grab bag of other leftover stuff.
USA...
One of my current projects does logging over Serial, but if you connect via TCP to a specific port, it redirects stdout to the TCP connection until disconnect, at which point stdout goes back to Serial. Just some thoughts.
I also use web pages...
@toyosm, Walk through the steps and take notes from the source files presented, and the resultant (e)HEX files created for use.
The Key.PEM is only needed on the Build machine.
But the first step(s) note in the sources that the PEM is...
Just for reference, if someone finds this thread in the future, the reason of the issue was not the mixup of the LPUARTx registers, but incorrect values of the LPUART3_TX_SELECT_INPUT and LPUART4_TX_SELECT_INPUT DAISY registers that my library...
It should be called PWMWrite or some-such, but that's a mistake Arduino made, not Teensy! To be fair few microcontrollers have a DAC built in, all have PWM to my knowledge at least.
In setup() add this code after "while (!Serial)"
void setup()
{
pinMode( framePin, OUTPUT);
digitalWrite( framePin, HIGH);
Serial.begin(9600);
while (!Serial);
if (CrashReport) {
Serial.print(CrashReport);
}
That is from this...
Even if my logic is faulty, I may have stumbled on an answer. When I searched the objdump file, I see that the closest human readable descriptor indicates it may be related to _svfprintf_r. Whether that is true or not, it triggered a thought...
Is this solder/socket a T_4.0 to the PCB? Or adding the raw components to the PCB to emulate a T_4.0?
Seems like it is the use of a production T_4.0? If so then it is USB programmable with the Arduino Installation - which is also the case with...
@PaulStoffregen I am not sure what the release status is of 1.60, but I would like to request 2 seemingly low-risk inclusions. These both affect a new Teensy 4.1 based product that is user programmable.
First is a fix for a bug in SerialFlash...
@clinker8: Add a line to your setup() function something like this (which will wait for a maximum of 3 seconds for the serial monitor to be connected, then proceed): while (!Serial && millis() < 3000) {}.
Then, add the following code in the...
Hi @shawn and @defragster
Thank you very much! I reinstalled QNEthernet from the tlsclient branch and MbedTLS in 3.6.3. With the config from the MbedTLS Demo, it now works perfectly fine for me.
This is what I am leaning towards, that we are getting essentially a ground loop through the processor. We have checked several failed teensies and the two we checked had IO pins which also were failed (eg 4 ohms VS the 38-40K ohms we see on...
Does DVM show anything from unconnected USB GND/Shield measuring to Teensy connector GND/hood?
<crosspost. - same concern p#8
Since the USB 5V is protected - but the GND will be 'active'
Had a Teensy here with external power and a 32x32 LED...
Yes, with Teensy that message would appear.
Removing the #else and #error - does it compile and work?
If there are requirements for SoftwareSerial it will present messages from those areas.
Those options apply only to the USB interfaces presented, nothing to do with UART Serial# ports.
Serial# pins are hardcoded to default pins and unless moved to ALT (grey on PJRC card) they present on the indicated default pins and must have no...
The Serial devices only take as long as it takes to buffer the output, when there is room, then return.
You can track with : https://docs.arduino.cc/language-reference/en/functions/communication/serial/availableForWrite/
More room can be...
@shawn - looks like I tested this to work on 12/17/24 - that was on pumble thread - the steps there now locked after 90 days on free version :(
Below is the comment in the sketch used then : MbedTLSDemo.ino
It has this sample_mbedtls_config.h...
if this is true or not is something I have to stay out of. But I’ll tell you this:
SparkFun founder Nathan Seidle is a great dude. I’ve had a lot of direct contact with him. Trust me when I say that he’s invested directly in electronic design...
Thanks. Appreciate it. I implemented a variation of this, and my time base of measurements seems reasonable now. I've found some interesting things going on in the system (ELS) as a result. So this exercise has been very helpful.