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

Search:

Type: Posts; User: Silverlock

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    246

    When are you seeing your problem? When the sketch...

    When are you seeing your problem? When the sketch is first downloaded and run? Or when the T4 has been powered off and then powered back on again?

    If the former, that's how it's supposed to work;...
  2. Thank you for adding the back side! Those little...

    Thank you for adding the back side! Those little cards are so handy at times.
  3. Replies
    3
    Views
    134

    Something like if (Serial) { ...

    Something like

    if (Serial) {
    Serial.print(...);
    }
    should do the trick, I think.
  4. I pretty much duplicated your setup; Raspbian...

    I pretty much duplicated your setup; Raspbian instead of Ubuntu, but otherwise identical, down to the version of Teensyduino and the library used. It's been running now for over 10 minutes with nary...
  5. Replies
    23
    Views
    602

    It sounds like that person may be using an older...

    It sounds like that person may be using an older version of the Teensy loader that didn't know about the 4.1. If Help -> About doesn't say "Teensy Loader 1.53" (or newer), it's time to upgrade.
  6. Good to hear that you've got it working.

    Good to hear that you've got it working.
  7. You could try replacing these lines 344 and 345...

    You could try replacing these lines 344 and 345 in teensy_loader_cli.c



    char reboot_command = 134;
    int response = usb_control_msg(serial_handle, 0x21, 0x20, 0, 0, &reboot_command, 1,...
  8. Replies
    7
    Views
    344

    Depending on which Teensy it is; I've yet to get...

    Depending on which Teensy it is; I've yet to get the "-s" option to work with a Teensy 4.1. The usage text does say it's just for the 3.x series, but I was hoping!
  9. It does see main power for several hours pretty...

    It does see main power for several hours pretty much every day. But even so it's been off for at least 12 hours a day through all that time, and that's a very conservative estimate.
  10. It was in the usage text from the program itself...

    It was in the usage text from the program itself (source line #43 in teensy_loader_cli.c):


    earth:~/Documents/src/teensy_loader_cli $ ./teensy_loader_cli
    Filename must be specified

    Usage:...
  11. I missed that. And as I've had the same dollar...

    I missed that. And as I've had the same dollar store CR2032 cell in a T4.0 setup since October of last year I was a bit concerned. So I just measured its in circuit voltage and it's still reading 3V...
  12. Curiosity got the better of me. The command line...

    Curiosity got the better of me. The command line loader definitely does not reset the time when uploading a new sketch. It does require pressing the button on the T4.1 to start the download; the soft...
  13. Have you tried using the command line version of...

    Have you tried using the command line version of the loader? From admittedly just a quick glance, I can't see any code in there that sets the target's time on loading. You would have to compile the...
  14. DNS or hosting snafu, perhaps? It's working here...

    DNS or hosting snafu, perhaps? It's working here as well.
  15. Also, make sure that any alpha characters in the...

    Also, make sure that any alpha characters in the file name and extension are upper case. Lower case characters will result in a LFN even if the name fits in 8.3.
  16. Replies
    16
    Views
    776

    Put me down as another vote for KiCad on Linux....

    Put me down as another vote for KiCad on Linux. It's usable even on a Raspberry Pi.
  17. Digikey now has stock of the PSRAM chip...

    Digikey now has stock of the PSRAM chip.
  18. This is how I start things up with SdFat-beta (in...

    This is how I start things up with SdFat-beta (in use since June of this year with no issues):


    SD SdFat;
    .
    .
    .
    if (SD.begin(SdioConfig(FIFO_SDIO))) {
    .
    .
  19. The uSD breakout board that I use with the T4.0...

    The uSD breakout board that I use with the T4.0 has no pullups, and as you've already seen on the T4.1 schematics, the onboard uSD there has none either.

    As for wire lengths, I've got a 2" FFC...
  20. Right there could be a big part of your troubles....

    Right there could be a big part of your troubles. Don't change the config file. I've haven't. Use plain old SdFat file system in your program, and resist the temptation to turn knobs and twiddle with...
  21. I've been using an SDIO connected uSD card with...

    I've been using an SDIO connected uSD card with the T4.0 and T4.1 and the SdFat-beta library, on a daily basis, for many months now. I imagine if there was an issue with the SdFat-beta library, I'd...
  22. The consensus on this thread...

    The consensus on this thread was that it just was an error in the T4.0 schematic.

    When you say you're "having a hard time getting my T4.0 to talk to an SD card", are you using the SDIO pads on the...
  23. Replies
    3
    Views
    281

    A 3V coin cell on VBat will maintain the real...

    A 3V coin cell on VBat will maintain the real time clock while the main power is off.
  24. Replies
    14
    Views
    949

    I did that as well. DigiKey had the W25Q128JVSIQ...

    I did that as well. DigiKey had the W25Q128JVSIQ FLASH chip and the ESP32-WROVER-B (8MB) so I ordered both. Pried the shield off the ESP32 and removed the PSRAM chip with the aid of some solder wick...
  25. Replies
    13
    Views
    974

    I was lucky enough to start accumulating these...

    I was lucky enough to start accumulating these interlocking drawers many decades ago. (I was also lucky enough to add a whole bunch more when my father downsized his workshop.) I'd love to get even...
  26. Ahh, interesting. When DigiKey started stocking...

    Ahh, interesting. When DigiKey started stocking the Teensy 4.1 it was only a day between the entry showing up and stock being available. I'll have to remember to keep an eye on that over the next few...
  27. Replies
    2
    Views
    355

    Try this. It's a stripped down version of the...

    Try this. It's a stripped down version of the TimeTeensy3 example (yes it works with Teensy4, don't let the name throw you):


    /*
    * TimeTeensy3.ino
    * example code illustrating Time library...
  28. Replies
    4
    Views
    422

    I feel like I'm missing something obvious, but...

    I feel like I'm missing something obvious, but after a quick glance I got this:

    86400 seconds in a day.
    That's 86400000 mSecs in a day.
    unsigned long is 32 bits, with a maximum value of...
  29. What SD library are you using? SD? SdFat? Does it...

    What SD library are you using? SD? SdFat? Does it support a dateTimeCallback function? Did you set it up?
  30. Changing the optimization level can make these...

    Changing the optimization level can make these kinds of warnings pop up and disappear too, resulting in a "what the..." moment. switch() statements that set a variable in all cases followed by code...
  31. Replies
    23
    Views
    2,278

    The same: 1.53 with Arduino 1.8.13. Ran one...

    The same: 1.53 with Arduino 1.8.13.

    Ran one more test with Optimize = Faster, which is the default in the IDE. (I always use Optimize = Fast because, though I can't prove it with a simple example...
  32. Replies
    23
    Views
    2,278

    I loaded up the Test example from USBhost_t36 it...

    I loaded up the Test example from USBhost_t36 it on a T4.1 here and saw +5V on the USB host power pin as soon as I opened the Serial monitor so that the program could start and the USB host object...
  33. Replies
    23
    Views
    2,278

    I can verify that. With just a blink sketch...

    I can verify that. With just a blink sketch loaded, there was no voltage on the USB host +5 pin. Once USBHost_t36 was loaded and enabled the output that switches on USB host power, there was...
  34. Replies
    50
    Views
    8,122

    Sticky: No issues so far with ARM 32 on Raspbian Stretch,...

    No issues so far with ARM 32 on Raspbian Stretch, installed over 1.53b3.
  35. Replies
    31
    Views
    3,602

    And I'll be fairly surprised if that happens. My...

    And I'll be fairly surprised if that happens. My hunch is a marginal solder joint or a bit of flux where it oughtn't to be.
  36. Replies
    31
    Views
    3,602

    Reran the test with Optimize Fast, Optimize...

    Reran the test with Optimize Fast, Optimize Fastest and Smallest Code. All three worked. The only oddity I noticed was that under "Smallest Code" that the result line that usually reads something...
  37. Replies
    31
    Views
    3,602

    Compiled, loaded and ran...

    Compiled, loaded and ran teensy41_psram_memtest.ino w/o modifications or problems with the following setup and settings (some of which I'm sure don't matter but are included for completeness):
    ...
  38. Replies
    31
    Views
    3,602

    Linux ARM on Raspbian Stretch The installer...

    Linux ARM on Raspbian Stretch

    The installer picked up on the fact that I'd modified the udev rule file to add a symlink. And it allowed me to skip the check, which was a nice touch and...
  39. If I was doing this again with the T4.1, I'd...

    If I was doing this again with the T4.1, I'd probably rotate the battery holder 90 degrees and put it as close to the LS245 and 23017 as possible. The T4.1 ought to fit underneath it (from the...
  40. Teensy 4.0 emulation of a Z80 computer running ZCPR3.3/ZSDOS with GSX colour graphics

    Over the winter, I'd started a project to take RunCPM and extend it into a complete computer. One with a RTC, serial and parallel port, an ANSI terminal with colour GSX graphics.

    I just heard...
  41. Replies
    48
    Views
    4,605

    Using 1.53b1 with Raspbian Stretch and Arduino...

    Using 1.53b1 with Raspbian Stretch and Arduino 1.8.13; no problems so far.
  42. Replies
    2
    Views
    307

    From...

    From https://github.com/arduino/Arduino/issues/10345

    Due to a server-side issue yesterday (June 10th), the Arduino IDE failed to start due to downloading corrupt board files. The server-side issue...
  43. And I got my changes to work on the mainline code...

    And I got my changes to work on the mainline code as well. If you want to check anything, I've pushed my changes to https://github.com/mecparts/RunCPM. It's up and running on one of the spare T4.1s....
  44. No trouble at all. I'd just finished a 22km bike...

    No trouble at all. I'd just finished a 22km bike ride before sitting down at the computer so my mind is fresh even if my knees are complaining.

    And right now, grabbing a couple extra 4.1s as soon...
  45. Unfortunately, it's not that easy... I've done...

    Unfortunately, it's not that easy... I've done all this on my own "gone way out in left field" fork of RunCPM. ZCPR3.3, ZSDOS, serial and parallel port (yeah, it's me, mecparts).

    Let me start over...
  46. I think it took me about an hour of skullwork to...

    I think it took me about an hour of skullwork to get things migrated over to SdFat-beta before I got my T4.1 and plugged it in. The increase in speed is very, very noticeable.

    On the T4.0 with the...
  47. Oh right, forgot about all those internal...

    Oh right, forgot about all those internal renaming bits... One sec... dir_t became DirFat_t.

    There was also a function that went private (SD.vwd()) that was used in _sys_renamefile in...
  48. For both the T4.0 and the T4.1, I used SdFat SD;....

    For both the T4.0 and the T4.1, I used SdFat SD;. It worked on the T4.0 and I really never thought of playing with it when I switched over to the 4.1.

    In the SD.begin, I used...
  49. The solution I've come up with is to rename the...

    The solution I've come up with is to rename the SdFat-beta library from SdFat to SdFat-beta: in library.properties change name=SdFat to name=SdFat-beta, rename src/SdFat.h to src/SdFat-beta.h, and...
  50. Replies
    54
    Views
    6,587

    I'm in full agreement with that. And at one time,...

    I'm in full agreement with that. And at one time, that was the way things were done; upgrades didn't break existing functionality. But, like it or not, things are viewed differently now by a lot of...
Results 1 to 50 of 93
Page 1 of 2 1 2