defragster's latest activity

  • defragster
    Wonder what they'll do with the PCB silkscreen bit hashes by the USB connector maybe?
  • defragster
    @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...
  • defragster
    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!
  • defragster
    defragster reacted to Rezo's post in the thread SparkFun To Manufacture Teensy with Like Like.
    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...
  • defragster
    defragster reacted to Mcu32's post in the thread SparkFun To Manufacture Teensy with Like Like.
    Looks nice!
  • defragster
    defragster reacted to Mcu32's post in the thread SparkFun To Manufacture Teensy with Like Like.
    2 T4 needed for a line follower.. what's next? :)
  • defragster
    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.
  • defragster
    Are there any hot components? Was it connected to anything before? In use for any good time before that?
  • defragster
    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...
  • defragster
    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...
  • defragster
    defragster reacted to Bewing's post in the thread DMAMEM? MEM2? with Like Like.
    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...)...
  • defragster
    defragster reacted to Rezo's post in the thread DMAMEM? MEM2? with Like Like.
    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.
  • defragster
    defragster reacted to kd5rxt-mark's post in the thread SparkFun To Manufacture Teensy with Like Like.
    Sorry, posted a query, *then* noticed the URL link . . . Mark J Culross KD5RXT
  • defragster
    Twin T_4.0's in action Treadmill vs. Real Hill: Which is harder to run
    • 1744772416759.png
    • 1744773217590.png
  • defragster
    defragster replied to the thread DMAMEM? MEM2?.
    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
  • defragster
    defragster replied to the thread Shopping cart issue.
    My first check out attempt gave a long fail string as well - maybe like p#1 - clip gone now. Backed up and item in cart and worked on second attempt.
  • defragster
    defragster reacted to shawn's post in the thread GPIO IRQ Priority on Teensy 4.1 with Like Like.
    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...
  • defragster
    defragster reacted to brtaylor's post in the thread GPIO IRQ Priority on Teensy 4.1 with Like Like.
    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...
  • defragster
    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...
  • defragster
    defragster reacted to tmaynard's post in the thread Yet another FT8 Transceiver Project with Like Like.
    That link is invalid. For other interested parties, the correct link is https://github.com/Rotron/Pocket-FT8
  • defragster
    defragster reacted to slash2's post in the thread 32 Bit I/O - Teensy 4.1 with Like Like.
    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...
  • defragster
    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 -...
  • defragster
    ah it is an OS: https://docs.zephyrproject.org/latest/introduction/index.html
  • defragster
    defragster replied to the thread NTC Measurement Circuit.
    bad cut and paste from the Teensy product cards: T_3.5 analog pins are not 5V tolerant
    • 1744390043633.png
    • 1744390062264.png
  • defragster
    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...
  • defragster
    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.
  • defragster
    defragster reacted to PaulStoffregen's post in the thread Leftover Teensy Stuff Sale with Like Like.
    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...
  • defragster
    defragster reacted to shawn's post in the thread t4.1 detect reboot type with Like Like.
    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...
  • defragster
    @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...
  • defragster
    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...
  • defragster
    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.
  • defragster
    defragster replied to the thread Fast Data Logger.
    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...
  • defragster
    defragster reacted to clinker8's post in the thread t4.1 detect reboot type with Like Like.
    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...
  • defragster
    defragster replied to the thread Teensy 4.0 integration to PCB.
    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...
  • defragster
    defragster replied to the thread t4.1 detect reboot type.
    Yes, good luck Find the addr2line installed with teensyduino package. Does 0xEOE565AC seem like a normal place to access? Dec=249,914,796 ?
  • defragster
    defragster reacted to KenHahn's post in the thread Teensyduino 1.60 Beta #3 with Like Like.
    @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...
  • defragster
    Thanks, that worked. Now it is readable.
  • defragster
    defragster reacted to kd5rxt-mark's post in the thread t4.1 detect reboot type with Like Like.
    @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...
  • defragster
    defragster reacted to CeKl's post in the thread NativeEthernet with x.509 cert with Like Like.
    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.
  • defragster
    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...
  • defragster
    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...
  • defragster
    Yes, that is the problem - doesn't end up using the hardware UART and pins of the Teensy it seems
  • defragster
    If that shows actual usage: On Teensy the usage is Serial1 and Serial4 ... no use of an Underbar? Is that the only issue?
  • defragster
    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.
  • defragster
    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...
  • defragster
    defragster replied to the thread 3.2 Serial question.
    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...
  • defragster
    @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...
  • defragster
    IIRC _ @luni has a good library for such things.
  • defragster
    defragster reacted to Dogbone06's post in the thread SparkFun To Manufacture Teensy with Like Like.
    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...
  • defragster
    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.
Back
Top