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.12 seconds.

  1. Fixed on Teensy 3.x too. ...

    Fixed on Teensy 3.x too.

    https://github.com/PaulStoffregen/cores/commit/2cd86801aed85e1b2f700c8c3f444313bd95b8cd




    Their code has changed quite a lot. Their invalidate() function does set...
  2. Replies
    54
    Views
    720

    Yes, planning to switch to composite device for...

    Yes, planning to switch to composite device for all USB serial.

    The CDC class at device level was needed to support Windows XP-SP2, Windows Vista (no service packs) and Macintosh OS-X 10.5 & 10.6.
  3. Replies
    54
    Views
    720

    Looks like the stats about free space are a...

    Looks like the stats about free space are a little optimistic.

    Here's a quick test which queries the free space, then tries to allocate it all at once. Fails. :(



    #include "smalloc.h"
    ...
  4. Replies
    54
    Views
    720

    I'm struggling to understand what's wrong here. ...

    I'm struggling to understand what's wrong here. It kinda sounds like Windows decided to assign COM3 and the port is indeed working as COM3, but TyCommander is still believing it's COM4. Is that...
  5. Replies
    54
    Views
    720

    Good question. I didn't see anything in the...

    Good question. I didn't see anything in the smalloc code to query the largest allocation expected to succeed. Unless it has some functionality I missed, getting this capability might involve quite...
  6. Maybe start a new thread about the specific MIDI...

    Maybe start a new thread about the specific MIDI 5.0 library changes. Links to details and example code would really help.
  7. And welcome back Frank!!

    And welcome back Frank!!
  8. Fixed. ...

    Fixed.

    https://github.com/PaulStoffregen/cores/commit/a1a495a841f3ddd4dc13f8d9e5c10ffd020d8bca
  9. Replies
    54
    Views
    720

    If you've got the latest core installed, how's...

    If you've got the latest core installed, how's extmem_malloc() look?
  10. USB is really unreliable if running at only 24...

    USB is really unreliable if running at only 24 MHz, as there's not really enough bus bandwidth. Best to run at 150 MHz or higher if you're going to use USB.
  11. Replies
    54
    Views
    720

    Ugh, looks like several minor descriptor problems...

    Ugh, looks like several minor descriptor problems have crept in. And my little experiment a few days ago wasn't such a good idea. Here's a fix.
    ...
  12. Yes, I did seriously consider this, but...

    Yes, I did seriously consider this, but ultimately the decision was made to use that space for ethernet.
  13. The hub problems seem to be related to power...

    The hub problems seem to be related to power consumption. Those blink hex files are built with slower CPU speed, so they use less power. In Arduino you can access that with Tools > CPU Speed.
  14. Replies
    54
    Views
    720

    Testing now with Windows 7. I see it here too.

    Testing now with Windows 7. I see it here too.
  15. Replies
    54
    Views
    720

    Ok... I'm getting out my Windows laptop to...

    Ok... I'm getting out my Windows laptop to investigate....
  16. Replies
    54
    Views
    720

    This is the last commit that went into...

    This is the last commit that went into 1.54-beta2.

    https://github.com/PaulStoffregen/cores/commit/ea276ee57a364306562452fef42d3815fb2fbb59
  17. I downloaded the zip file and used Teensy Loader...

    I downloaded the zip file and used Teensy Loader to write your HEX file to a Teensy 4.0 here (using Linux). Works fine. I know that doesn't solve your issue, but at least we can know the HEX file...
  18. Replies
    54
    Views
    720

    Does a fresh copy of Arduino 1.8.13 and...

    Does a fresh copy of Arduino 1.8.13 and Teensyduino 1.54-beta2 work?

    That commit did indeed cause problems on Teensy 4.1 (or perhaps more clearly expose long-standing problems). The issue is...
  19. Replies
    54
    Views
    720

    I tested on Ubuntu 18.04 with fresh copy of...

    I tested on Ubuntu 18.04 with fresh copy of Arduino 1.8.13 and the lastest work-in-progress. Serial.printf() works fine.

    Maybe I need to dig out my Windows test laptop?
  20. Arduino is putting the hex file and all the...

    Arduino is putting the hex file and all the compiled stuff into a temporary folder. The name changes every time you run Arduino. In this log file, you can see it's...
  21. Replies
    54
    Views
    720

    I've added extmem_malloc(), extmem_realloc(),...

    I've added extmem_malloc(), extmem_realloc(), extmem_free() which attempt to use external memory, but automatically fall back to internal RAM when an external RAM chip isn't available (or has been...
  22. Replies
    54
    Views
    720

    I'm going to bring the smalloc files into the...

    I'm going to bring the smalloc files into the core library. I see you tried to contact the author a couple weeks ago.

    https://github.com/electrorys/smalloc/issues/1

    Since the repository hasn't...
  23. I'm disabling the printf format warnings, at...

    I'm disabling the printf format warnings, at least for Teensyduino 1.54

    https://github.com/PaulStoffregen/cores/commit/ba177b0d22d8974b43c65753a710e54a4979eb7c

    Will reconsider after we've...
  24. Replies
    25
    Views
    705

    Unofficially of course, the code is pretty...

    Unofficially of course, the code is pretty unlikely to change.
  25. Replies
    10
    Views
    214

    If you do need to use Windows XP, Vista, 7 or 8,...

    If you do need to use Windows XP, Vista, 7 or 8, we have a small stand-alone driver installer on the download page.

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

    Look for "Windows Serial...
  26. Replies
    10
    Views
    214

    The "driver" install is only needed on Windows...

    The "driver" install is only needed on Windows 8.1 and earlier.

    Windows 10, Linux and Macintosh have all needed drivers built in.
  27. Replies
    42
    Views
    987

    Turns out this optimization makes only a small...

    Turns out this optimization makes only a small improvement.

    Here's a little test program which transmits 12 bytes at 33 Mbit/sec.



    #include <SPI.h>

    void setup() {
    SPI.begin();
  28. Replies
    42
    Views
    987

    Yes, byte order is an issue. But I also made a...

    Yes, byte order is an issue.

    But I also made a silly mistake of not converting byte count to word count. Doh!
    ...
  29. Replies
    42
    Views
    987

    I tried making use of the SPI 16 and 32 bit block...

    I tried making use of the SPI 16 and 32 bit block transfer functions. The Ethernet library fails to run if they're used.

    Can anyone see a mistake?
    ...
  30. Replies
    42
    Views
    987

    Thanks for testing! Hopefully we will finally...

    Thanks for testing!

    Hopefully we will finally have a map() function that meets all expectations.
  31. In the late 1990s I went to hear a talk by Bob...

    In the late 1990s I went to hear a talk by Bob Pease, who is kind of a personal hero of mine. I probably never would have become reasonably proficient with analog circuitry if were not for the many...
  32. Replies
    10
    Views
    214

    To get started, I'd recommend you use Arduino to...

    To get started, I'd recommend you use Arduino to program something like this onto your Teensy LC.



    void setup() {
    }

    void loop() {
    if (Serial.available()) {
    char c = Serial.read();
  33. analogRead(13) technically means to try to read...

    analogRead(13) technically means to try to read voltage on pin 13. But pin 13 is digital only. It don't have analog input capability.

    Very early versions of Arduino used plain numbers 0 to 5,...
  34. Replies
    4
    Views
    144

    I believe these lines are likely the problem. ...

    I believe these lines are likely the problem.



    error = Wire.endTransmission();
    error = Wire1.endTransmission(); // and here

    Results from Wire1 activity are immediately...
  35. For numbers already built in, you can use the 24...

    For numbers already built in, you can use the 24 bit serial number PJRC writes into the "program once" memory, or you can use the 128 unique number NXP puts into the chip.

    For NXP's unique number,...
  36. Use analogRead(A17), not analogRead(17).

    Use analogRead(A17), not analogRead(17).
  37. Replies
    42
    Views
    987

    I should have mentioned, another property some...

    I should have mentioned, another property some people are expecting is identical result for "reverse" mapping.

    In other words, ideally these should give the same result for all inputs:

    map(x,...
  38. Replies
    42
    Views
    987

    I'm not eager to extend the SPI library public...

    I'm not eager to extend the SPI library public API this way, so as written, no, probably not.

    But I would be happy to merge this if it didn't change the public API. Maybe some trickery with...
  39. Replies
    42
    Views
    987

    Has anyone looked at the new map() function yet?...

    Has anyone looked at the new map() function yet?

    Several issues were reported on these 2 threads:

    https://forum.pjrc.com/threads/63230-map()-returns-different-values-on-arduino-vs-teensy
    ...
  40. Yes, "annoying" and "pedantic" are exactly the 2...

    Yes, "annoying" and "pedantic" are exactly the 2 words I would use.

    My current thinking is this feature does more harm than good and we should probably not use it (for a non-beta release) until a...
  41. Replies
    42
    Views
    987

    I've never heard of this syntax either. ...

    I've never heard of this syntax either.




    This thread.
    https://forum.pjrc.com/threads/62473-Adding-Print-class-printf()-format-string-vs-arguments-checking
  42. Replies
    9
    Views
    253

    Normally SPI isn't used over cables. It's really...

    Normally SPI isn't used over cables. It's really meant for connecting chips together on a circuit board over relatively short distance.
  43. Replies
    9
    Views
    831

    I gave this a shout-out on Twitter. ...

    I gave this a shout-out on Twitter.

    https://twitter.com/PaulStoffregen/status/1319980995202879489
  44. Replies
    29
    Views
    1,129

    Sorry I missed your email. It wasn't you. I'm...

    Sorry I missed your email. It wasn't you. I'm just bad at email....
  45. Having talked about rationale and tech, I'd like...

    Having talked about rationale and tech, I'd like to address the philosophical points and directly answer your questions.

    First, I want to politely disagree with the "stuff seems to be increasingly...
  46. Now, about the tech side.... First, let me...

    Now, about the tech side....

    First, let me assure you that if you were to sign a NDA with NXP and obtain the security manual, I'm confident you'd find the whole thing pretty underwhelming. I did....
  47. This kinda does come off as quite a rant. But...

    This kinda does come off as quite a rant. But yeah, I get your viewpoint. Any sort of secret documentation feels pretty bad. On a personal level, I really don't like it either.

    Obviously I...
  48. Replies
    41
    Views
    873

    I'm uploading 1.54-beta2 right now, but it's...

    I'm uploading 1.54-beta2 right now, but it's going very slowly. Looks like my ISP is severely throttling. ETA is looking like 2 hours to get it all uploaded.
  49. Replies
    41
    Views
    873

    Yes, so much to do. But right now I'm packaging...

    Yes, so much to do. But right now I'm packaging up 1.54-beta2, so we can have a much better starting point.

    I considered bringing the static malloc stuff into the core library, and will probably...
  50. Replies
    8
    Views
    297

    Much of the work in ILI9341_t3 started in various...

    Much of the work in ILI9341_t3 started in various optimized copies of ST7735. Of course all are built on top of Adafruit's work and generally follow their GFX API, though probably not much of...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4