Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: PaulStoffregen

Page 1 of 10 1 2 3 4

Search: Search took 0.09 seconds.

  1. Replies
    2
    Views
    33

    The USB power goes to a 3.3V regulator on the...

    The USB power goes to a 3.3V regulator on the board, so 5V power from USB doesn't kill the board. At least not unless you do something like touch a wire between VIN and 3.3V.
  2. Technically, it's supposed to be possible. But...

    Technically, it's supposed to be possible. But this is one of hundreds of things I've not yet actually tried.

    If you look at figure 30-1 on page 1477, you'll see the diagram showing the flash...
  3. Maybe. I believe the way the ESP folks do this...

    Maybe. I believe the way the ESP folks do this involves a partition setting, where a portion of the chip is set aside for filesystem and can't be used for code.

    I'm going to consider this sort of...
  4. The flash will be 2 Mbyte, the largest available...

    The flash will be 2 Mbyte, the largest available in a 2x3 mm package.
  5. Definitely not using Hyperflash. The chips are...

    Definitely not using Hyperflash. The chips are physically too large to fit and they're far too expensive. Performance wise, they only help if you have a huge program where you need a lot of code...
  6. Regarding the new hardware, there's a consistent...

    Regarding the new hardware, there's a consistent theme of "it's complicated"....





    Yes, the flash memory is 4 bit QPI DDR clocked at 60 MHz. So the raw data rate, minus command overhead, is...
  7. When using Teensy 3.6, there's also a larger 8K...

    When using Teensy 3.6, there's also a larger 8K cache to keep in mind, and of course the same small cache memory inside the flash controller.
  8. You need to invalidate the cache, otherwise...

    You need to invalidate the cache, otherwise you're still reading the old data from the flash controller's cache.
  9. Yes and no. Yes, an upgrade will happen...

    Yes and no.

    Yes, an upgrade will happen eventually.

    But no, not "anytime soon". Definitely not before Teensy 4.0 is released.

    An update to the arm_math.h library (aka CMSIS-DSP) will...
  10. Replies
    9
    Views
    86

    Have you tried that problematic board on other...

    Have you tried that problematic board on other computers? Ideally you might trying Linux or a Mac, if you have access to any such machines. That might help you to know whether the problem is on the...
  11. More likely explanation would be clicking the...

    More likely explanation would be clicking the "skip" button in the installer on the driver step, or when Windows asks you to confirm you want to install the driver, clicking the cancel button. ...
  12. Every brand new Teensy comes running HID...

    Every brand new Teensy comes running HID protocol, not serial. It only becomes serial once you upload a program. The Arduino upload is able to find the HID device and automatically upload to it...
  13. Replies
    23
    Views
    1,501

    Sticky: Pretty sure this would happen on Mac and Linux...

    Pretty sure this would happen on Mac and Linux too, if you force quit or "kill -9" the java process.

    I rewrote teensy_ports for 1.44, using stdout rather than a localhost socket. It's no long...
  14. Replies
    8
    Views
    139

    Undecided, but I definitely will not merge...

    Undecided, but I definitely will not merge anything that accesses PTA0-PTA4.
  15. I'd bet Per...

    I'd bet Per knows the answer. Too bad he's not on this forum. If you post on Arduino's forum he'll almost certainly see your question.

    If you post over there, maybe put a link to this thread in...
  16. Classic buffer overflow bug. The array is only 7...

    Classic buffer overflow bug. The array is only 7 items. When you write to the 8th location, you're overwriting whatever other info happens to be in the memory after the array. Not good.
  17. When you ask a question about a particular...

    When you ask a question about a particular library or example, please be specific with a link to the exact code, or a copy of the code if it's not readily available on a website.

    I have published...
  18. Replies
    31
    Views
    889

    I posted a quick shout-out on Twitter, linking to...

    I posted a quick shout-out on Twitter, linking to this thread. :)

    https://twitter.com/PaulStoffregen/status/1053666670760288257

    14989
  19. If you're looking for this to run optimized,...

    If you're looking for this to run optimized, might be a good idea to change sqrt() to sqrtf() and log() to logf().

    Normal sqrt() & log() without the extra "f" use 64 bit double, which is much...
  20. That would likely work. Seems likely you'd use 2...

    That would likely work. Seems likely you'd use 2 diodes, so you can connect a coin cell to the other diode.
  21. The short answer is no, nothing is really...

    The short answer is no, nothing is really finalized. In some sense, it won't be truly "final" until we're shipping the actual products.

    I'm a bit reluctant to share too much at this stage. ...
  22. I have a bookshelf filled with ready-to-go...

    I have a bookshelf filled with ready-to-go hardware for most of the commonly used Arduino libraries, so a test just running the examples is quick & easy!

    This really should be able to work with...
  23. I found 1 of the green clones. Plugged it in and...

    I found 1 of the green clones. Plugged it in and ran WebClient again. Works fine.

    Looking at the clone, I had never noticed it has a LED on the bottom side of the board. Let's see if I can get...
  24. Ran the Webclient example just now on a Teensy...

    Ran the Webclient example just now on a Teensy 3.6 with a genuine WIZ850io using Arduino 1.8.7 and Teensyduino 1.44. Works fine. Here's a screenshot.

    14983

    Here's the hardware on my desk.
    ...
  25. Replies
    31
    Views
    889

    I've put this on my list of stuff to look at for...

    I've put this on my list of stuff to look at for 1.45.

    Please understand I am currently only working on very serious bugs at this time. All other dev cycles are going to the new hardware for...
  26. Replies
    8
    Views
    137

    Maybe you mean MAX232? The genuine (expensive)...

    Maybe you mean MAX232?

    The genuine (expensive) MAX232 from Maxim and a workalike from ST that we used long ago on the 8051 dev board (before Teensy) would put out about -9V to -10V when powered by...
  27. Replies
    8
    Views
    137

    I'm going to guess you'll probably see -5V to...

    I'm going to guess you'll probably see -5V to -12V on pin 2, maybe around 0.25 volts on pin 3, and of course pin 5 should be very close to 0 since it's GND.

    When working properly, both pins 2 and...
  28. Replies
    8
    Views
    137

    Do you have a DC voltmeter? Can you measure the...

    Do you have a DC voltmeter? Can you measure the voltages on pins 2, 3 and 5 of the RS232 connector, with the meter's negative wire connected to Teensy's GND pin?
  29. An update for Teensy LC and 3.2 to add the 15...

    An update for Teensy LC and 3.2 to add the 15 second button press and a couple other minor features is definitely on my todo list.

    But he says he's got a Teensy 3.1. PJRC discontinued 3.1 years...
  30. Replies
    31
    Views
    889

    Does the flash really work at 32 MHz?

    Does the flash really work at 32 MHz?
  31. Replies
    66
    Views
    1,039

    I've committed the fix on github. The fix will...

    I've committed the fix on github. The fix will be in Teensyduino 1.45 later this year.

    https://github.com/PaulStoffregen/cores/commit/c425ecbd0a529b14bc05664bf96d5c0e9413825e
  32. Not possible by USB, unless the original program...

    Not possible by USB, unless the original program was made with some provision to read its own memory and transmit that data.
  33. Replies
    2
    Views
    60

    You might need a 3.3V to 5V level shifter between...

    You might need a 3.3V to 5V level shifter between Teensy and the LED strip. Some strips can accept 3.3V signals. Others are more picky and only work with 5V signals. Some of those strips will work...
  34. Replies
    66
    Views
    1,039

    Ok, here's a fix. Copy this to...

    Ok, here's a fix. Copy this to hardware/teensy/avr/cores/teensy3.

    Indeed the problem is Serial1.end() isn't clearing error status bits that can result from additional bytes (or garbage - like...
  35. Replies
    66
    Views
    1,039

    After much fiddling, I believe I've managed to...

    After much fiddling, I believe I've managed to make this highly reproducible.

    Defragster, Microderm, can you run this code on your boards and check it reliably gives this result?

    14973

    It...
  36. Replies
    66
    Views
    1,039

    I'm working with this again today. Running a...

    I'm working with this again today. Running a trimmed down version of the code from msg #23.

    14972

    After watching this waveform over and over, the problem appears to happen when the enable...
  37. On the reference board...

    On the reference board, VBAT is shorted directly to VDD 3.3V. There isn't any easy way to access just VBAT on that board.

    14971
  38. Agree, you should use *real* serial ports. ...

    Agree, you should use *real* serial ports.

    SoftwareSerial is full of hidden problems and unpleasant surprises when you try to use multiple serial ports. SoftwareSerial appears to work flawlessly...
  39. Replies
    5
    Views
    113

    I believe they were on this thread. ...

    I believe they were on this thread.

    https://forum.pjrc.com/threads/50537-preparing-audio-with-wav2sketch-getting-error-message-in-terminal?p=172945&viewfull=1#post172945
  40. Replies
    10
    Views
    260

    Dunno what effects you would use for Darth Vader,...

    Dunno what effects you would use for Darth Vader, but this is one of my favorite projects


    https://www.youtube.com/watch?v=2TyN__5MuJs
  41. I don't fully understand the context of this...

    I don't fully understand the context of this question, but I can try to answer "who does that".

    Normally if you'll use the pin for digital I/O, you would use the pinMode() function to first...
  42. Replies
    5
    Views
    90

    https://www.pjrc.com/teensy/schematic.html ...

    https://www.pjrc.com/teensy/schematic.html



    PJRC doesn't sell the MK64FX512 chip. You buy that from a distributor like Digikey, Mouser, Arrow, etc.

    The two 144 pin packages (GBA & LPQF)...
  43. Replies
    5
    Views
    90

    To make your own PCB that's fully compatible with...

    To make your own PCB that's fully compatible with Teensy 3.5 and works with Teensyduino, you need this bootloader chip.

    https://www.pjrc.com/store/ic_mkl02.html

    While this message isn't "legal...
  44. Replies
    5
    Views
    113

    Wow, lots of questions. Let's see if I can get...

    Wow, lots of questions. Let's see if I can get them quickly...



    The plan (where "plan" is a rather strong word....) is what I call "low priority". That really means it may be years until it...
  45. Replies
    7
    Views
    174

    The answer to your last question depends on the...

    The answer to your last question depends on the signal type.



    The signals at Teensy's pins are called called "TTL level" serial. The signal is high when idle.

    RS232 signal levels, commonly...
  46. First, you *must* cut the VUSB-VIN pads apart on...

    First, you *must* cut the VUSB-VIN pads apart on the bottom side of the board, if you will ever plug the USB cable in while the battery is connected. Even if you believe you would never do this, I...
  47. Replies
    7
    Views
    174

    Maybe a HCPL-263L or two HCPL-260L could meet...

    Maybe a HCPL-263L or two HCPL-260L could meet your needs?

    https://www.mouser.com/ProductDetail/Broadcom-Avago/HCPL-263L-300E?qs=s%252bgfxR24RQ5Mzfnn5S6rIw%3D%3D
    ...
  48. Maybe that blue trace is measure the input signal...

    Maybe that blue trace is measure the input signal at pin 13 on Teensy?
  49. Replies
    66
    Views
    1,039

    I added the enable wire and I'm running the code...

    I added the enable wire and I'm running the code from msg #23.

    14966

    It seems to be reproducing the problem, but I'm out of time for this today. Will look at it in detail early tomorrow.
  50. Replies
    66
    Views
    1,039

    The GPS arrived from Adafruit. I've got it wired...

    The GPS arrived from Adafruit. I've got it wired up on my desk right now.

    14961



    Which code should I run, and what should I do to observe the error?
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4