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

Search:

Type: Posts; User: Silverlock

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. RunCPM (https://github.com/MockbaTheBorg/RunCPM)...

    RunCPM runs nicely on a 4.1. A 100MHz+ Z80 running CP/M.
  2. Replies
    54
    Views
    1,571

    Are both the screen and memory IC tri-stating...

    Are both the screen and memory IC tri-stating whatever signal is connected to MISO when they're not selected?
  3. Replies
    54
    Views
    1,571

    Correct. I've done that and it works great....

    Correct. I've done that and it works great. Direct connection on all logic lines, but I used a separate 3.3V regulator to power the uSD card just in case. You could likely get away w/o the separate...
  4. Replies
    23
    Views
    2,025

    That earlier 2.95V reading may have been a poor...

    That earlier 2.95V reading may have been a poor connection on my part. Checked a couple of times over the past week and still reading a steady 3.00V here on the CR2032. Double checked the DVM against...
  5. Replies
    23
    Views
    2,025

    2.95V on the Basics CR2032 after 48 days.

    2.95V on the Basics CR2032 after 48 days.
  6. Replies
    27
    Views
    2,656

    For SDA1 and SCL1, use Wire1 rather than Wire.

    For SDA1 and SCL1, use Wire1 rather than Wire.
  7. Replies
    23
    Views
    2,025

    Yeah, I wondered about that... then I noticed...

    Yeah, I wondered about that... then I noticed that the voltage measurement was slowing drifting upwards. I turned on a regulated 5V bench supply and measured that and got 5.7V, drifting upwards. Hmm!...
  8. Replies
    23
    Views
    2,025

    I was impressed. :) I decided that it had done...

    I was impressed. :) I decided that it had done its duty and replaced it with a "Basics" battery from a certain well known Internet retailer. We'll see how it does. 3.5V to start.
  9. Replies
    23
    Views
    2,025

    I've had the same CR2032 hooked up to a Teensy...

    I've had the same CR2032 hooked up to a Teensy 4.0 for 23 months now. I just popped the top off the case it's in to measure the voltage and it's only down to 2.73V. Not bad for a dollar store battery.
  10. Replies
    6
    Views
    720

    Try this: void doReboot() { SCB_AIRCR =...

    Try this:

    void doReboot() {
    SCB_AIRCR = 0x05FA0004;
    }
  11. Replies
    14
    Views
    1,231

    Ditto that. Putting a tiny bit of solder on kitty...

    Ditto that. Putting a tiny bit of solder on kitty corner pads (and then taking most of it off with solder wick) seems to help me tack the chip down and then go to work on the remaining pins. Stone...
  12. On the T4, TimeLib is really handy for extracting...

    On the T4, TimeLib is really handy for extracting values out of the timestamp that the RTC returns, and for formatting time strings, and lots of auxiliary stuff like that. But that's about all I use...
  13. Your code never sets the RTC with a call to...

    Your code never sets the RTC with a call to Teensy3Clock.set(time).

    Honestly, the only thing I ever use the stuff in TimeLib for is formatting the time I get from the RTC. Having library routines...
  14. At first glance, the culprit seems to be in...

    At first glance, the culprit seems to be in String::move, which is the function that ends up being called by destination_string = source_string.substring(2,2);. In this case, the lhs has an available...
  15. Replies
    94
    Views
    15,786

    As wwatson says, it's only cosmetic; the loader...

    As wwatson says, it's only cosmetic; the loader still works afterwards. But if you're looking at where to insert a redraw or two, here's some more data points:


    The picture disappears at the...
  16. Replies
    94
    Views
    15,786

    I vaguely remember doing some GTK2 to GTK3...

    I vaguely remember doing some GTK2 to GTK3 updating years ago, and running into a few "well, it mostly works" situations along the way. "Quirky" and "had to tweak" pretty much sums how I remember it.
  17. Replies
    94
    Views
    15,786

    A minor oddity with the TeensyLoader in beta9:...

    A minor oddity with the TeensyLoader in beta9: after the upload completes, the picture disappears.

    Before loading
    24825

    After loading
    24826

    The loader continues to work fine. I don't see...
  18. Replies
    94
    Views
    15,786

    No. If I wait 3 seconds after uploading, I get...

    No. If I wait 3 seconds after uploading, I get nothing at all. If I wait less than that, I get various lengths of the tail end depending on how long I wait. If I open the monitor right away after...
  19. Replies
    94
    Views
    15,786

    Ahh... figured out how to make the error message...

    Ahh... figured out how to make the error message appear.

    I decided to take the error message at face value. It finds a folder in the libraries folder. So it expects to find at least a header file...
  20. Replies
    94
    Views
    15,786

    Hmm. I tried this on Raspbian (Linux ARM) and...

    Hmm. I tried this on Raspbian (Linux ARM) and couldn't reproduce it. If it was an IDE issue I'd have expected it to crop up here too.

    Modified the BlinkWithoutDelay sketch to print out millis when...
  21. Replies
    94
    Views
    15,786

    Installed 1.8.15 and latest beta9 on a Raspberry...

    Installed 1.8.15 and latest beta9 on a Raspberry Pi 3B. Teensyduino installer prompted me to copy 00-teensy.rules over to /etc/udev/rules.d/; I had an existing 49-teensy.rules there but I guess...
  22. I just ordered the PCB (the original version)...

    I just ordered the PCB (the original version) from OshPark and picked up the bits and pieces from DigiKey. If you want one of the spare boards, PM me your mailing address and I'll pop it in the mail....
  23. Replies
    9
    Views
    1,154

    That looks perfectly fine; the 4.1 cards didn't...

    That looks perfectly fine; the 4.1 cards didn't have the diagram on the back at the start. I've seen the card with the back image here on the forums but I don't know if they've made it into...
  24. Replies
    12
    Views
    1,233

    Well, when I'm using Geany as my IDE (which is...

    Well, when I'm using Geany as my IDE (which is pretty much all of the time), when it comes time to compile something for a T4.x, my compile command looks like this:
    ...
  25. Replies
    12
    Views
    1,233

    Why not just use the IDE to compile the sketch,...

    Why not just use the IDE to compile the sketch, then use the command line loader to load the hex file it creates?
  26. Replies
    12
    Views
    1,233

    The Teensy Loader program sets the RTC to the...

    The Teensy Loader program sets the RTC to the current local time every time it uploads a sketch. I don't know of any way to disable this.

    You could use the command line loader; it doesn't set the...
  27. There is a problem with the...

    There is a problem with the blink_slow_Teensy40.hex file and the soft reset option. It'll load once, but after that it does as you describe.

    If you compile your own blink sketch, it'll work.
  28. It was the hex file itself, not a 4.0/4.1...

    It was the hex file itself, not a 4.0/4.1 incompatibility? Interesting.

    The soft reboot code is only implemented in the Linux portion of the code. There's just a stub for OSX and Windows.
  29. I can duplicate the problem on Raspbian if I load...

    I can duplicate the problem on Raspbian if I load "blink_slow_Teensy40.hex" into a Teensy4.1 and then try and load it again.

    me@raspberrypi:~/Documents/src/teensy_loader_cli $ ./teensy_loader_cli...
  30. The broken pipe error was caused by a too short...

    The broken pipe error was caused by a too short "SET_LINE_REQUEST_TYPE" message. The system was expecting 7 bytes (4 bytes for speed, 1 for stop bit, 1 for data bits, and another for parity) but the...
  31. Out of curiosity I soldered a crystal and end...

    Out of curiosity I soldered a crystal and end header to my T3.2, hooked up a 3V coin cell and loaded the stripped down and modified version of the TimeTeensy3 sketch shown below. I removed all the...
  32. I made a fork of SdFat-beta...

    I made a fork of SdFat-beta last year and added in makeSystem(), makeHidden(), makeReadOnly() and makeArchive() methods, as well as code in the sync() method (which is called when the file is closed)...
  33. Replies
    15
    Views
    1,240

    No, actually you didn't. I didn't say to...

    No, actually you didn't.

    I didn't say to change and run the program.

    I'm saying: if you set those variables to those values, what output would you expect to see from the program? Write that...
  34. Replies
    15
    Views
    1,240

    I'm going to approach this from a slightly...

    I'm going to approach this from a slightly different direction.

    If you set:

    Int long Days = 0;
    Int long Hours = 0;
    Int long Min = 0;
    Int long Sec_add = 3;

    What exactly would...
  35. Replies
    15
    Views
    1,240

    If you didn't change Sec from being an unsigned...

    If you didn't change Sec from being an unsigned long, the test
    if (Sec >= 0) will always be true.
  36. Replies
    15
    Views
    1,240

    Sec is an unsigned long, so it will never be less...

    Sec is an unsigned long, so it will never be less than zero. When you set all your Days, Hours, Min, Sec_add variables to zero, Sec will start at zero, but when you decrement it, it will be a really...
  37. Replies
    2
    Views
    465

    If we're talking about the Teensy 4.x, from...

    If we're talking about the Teensy 4.x, from experience, you can get away with just doing another SerialX.begin(new_baud_rate).

    Unless you're also using hardware handshaking (RTS/CTS), in which...
  38. Replies
    9
    Views
    1,167

    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;...
  39. Thank you for adding the back side! Those little...

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

    Something like if (Serial) { ...

    Something like

    if (Serial) {
    Serial.print(...);
    }
    should do the trick, I think.
  41. 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...
  42. Replies
    29
    Views
    3,502

    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.
  43. Good to hear that you've got it working.

    Good to hear that you've got it working.
  44. 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,...
  45. Replies
    7
    Views
    1,614

    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!
  46. 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.
  47. 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:...
  48. 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...
  49. 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...
  50. 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...
Results 1 to 50 of 130
Page 1 of 3 1 2 3