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

Search:

Type: Posts; User: sicco

Search: Search took 0.00 seconds.

  1. Replies
    11
    Views
    163

    Answering part of my own question: no, the Trick...

    Answering part of my own question: no, the Trick class is not what does the trick. Adding #include "Arduino.h" as the first line of code in my .ino AND copying that Arduino.h plus WProgram.h into...
  2. Replies
    11
    Views
    163

    I found a workaround. But I'm not 100% sure what...

    I found a workaround. But I'm not 100% sure what exactly was the crux that allowed the workaround to work.
    Sketch attached.

    29223

    I had to copy to my Sketch folder these files from the library...
  3. Replies
    11
    Views
    163

    Thanks for the clarity and the responsiveness. ...

    Thanks for the clarity and the responsiveness.

    Can you elaborate which 'lesser' method you would use yourself when dealing with this situation? Like maybe use another PC just for the 9bit_uart...
  4. Replies
    11
    Views
    163

    I do want to edit code to enable 9 bit mode. But...

    I do want to edit code to enable 9 bit mode. But I do not want to see that change propagating into (=possibly corrupting!) all my other Teensy4 projects. Is it not possible to let a project use all...
  5. Replies
    11
    Views
    163

    @Paul, are you trying to say that if I want to...

    @Paul, are you trying to say that if I want to use 9BITS UARTs and I also want to keep my older projects that use the default 8BITS-only UARTs unaffected and recompile-able on the same PC, that I can...
  6. Replies
    11
    Views
    163

    That is what I tried. But it does not work. ...

    That is what I tried. But it does not work.

    Issue is that when compiling, the first time something includes the library version of HardwareSerial.h, that "HardwareSerial_h" flag gets set. That...
  7. Replies
    11
    Views
    163

    HardwareSerial SERIAL_9BIT_SUPPORT

    I have several Teensy4 projects that work with HardwareSerial.h NOT edited with SERIAL_9BIT_SUPPORT. I do not want to change anything to them. They're out in the field and if needed I should be able...
  8. I updated my SdFat library from 2.1.0 to 2.1.2...

    I updated my SdFat library from 2.1.0 to 2.1.2 and that seems to have fixed the bug.
    Thank you all!
  9. OK. Stupid question maybe, but who is this Mr...

    OK. Stupid question maybe, but who is this Mr Bill Greiman and how do I open an issue with that person?
  10. Thank you for prompt responses and confirmation...

    Thank you for prompt responses and confirmation that it's not specific to just my SD card, confirmation that it it replicates and that there's thus something of a bug.
    I can confirm that if I change...
  11. exFAT SD card append-write fails after 256 kb when writing to 2 files

    Hi,

    I have a Teensy 4.1 that writes to exFAT card. Using the Jan 2022 Teensyduino which I believe the most recent. It's for a datalogger. I want two log files. I write to the files by appending...
  12. My 'tone' here is the result of a long career as...

    My 'tone' here is the result of a long career as control/instrumentation engineer battling those that fail to appreciate design challenges with deterministic real-time systems.
    I apologize if that's...
  13. The use case is a sensor that has a RS485...

    The use case is a sensor that has a RS485 interface, it sends a short message back when it's being polled. The Teensy polls this sensor and it runs a feedback controller using the sensor value. So...
  14. OK, that helps. In my ignorance I had assumed...

    OK, that helps. In my ignorance I had assumed that serialEvent() was (an extension of) the a UART Rx interrupt service routine and would thus be called whenever a byte has arrived through the Rx pin...
  15. Thanks for responding. The post started with me...

    Thanks for responding. The post started with me having an issue with Serial1. I then noticed Serial2 had the same issue. And finally I noticed that also Serial (USB Serial port) shows the same...
  16. I did craft what you asked for - see other post...

    I did craft what you asked for - see other post from Saturday - anything else you need?
    I'm using Arduino 1.8.19, and Teensyduino your latest (Dec 2021 ish).
    I've now further reduced the number of...
  17. I'm impressed with the number of folks responding...

    I'm impressed with the number of folks responding within minutes/hours, thank you.

    I've made a single file project now, just 107 lines, attached.

    It replicates the issue: reception via any...
  18. Correction: while SdioTeensy is busy trying to...

    Correction: while SdioTeensy is busy trying to detect a card that's not there, also Serial2 reception flow stops, but transmission carries on. I suspect that's also the case for Serial1. But why???
  19. Teensy 4.1 SD card detection - why does it block my Serial1 with higher interrupt pri

    My application does some real time control, and optionally writes data to a SD card using exFAT SdFat, SdioTeensy

    The SD card may or may not be present in the Teensy 4.1 SD card socket, and it...
Results 1 to 19 of 19