RunCPM runs nicely on a 4.1. A 100MHz+ Z80 running CP/M.
Type: Posts; User: Silverlock
RunCPM runs nicely on a 4.1. A 100MHz+ Z80 running CP/M.
Are both the screen and memory IC tri-stating whatever signal is connected to MISO when they're not selected?
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...
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...
2.95V on the Basics CR2032 after 48 days.
For SDA1 and SCL1, use Wire1 rather than Wire.
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!...
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.
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.
Try this:
void doReboot() {
SCB_AIRCR = 0x05FA0004;
}
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...
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...
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...
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...
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...
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.
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...
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...
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...
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...
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...
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....
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...
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:
...
Why not just use the IDE to compile the sketch, then use the command line loader to load the hex file it creates?
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...
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.
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.
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...
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...
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...
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)...
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...
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...
If you didn't change Sec from being an unsigned long, the test
if (Sec >= 0) will always be true.
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...
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...
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;...
Thank you for adding the back side! Those little cards are so handy at times.
Something like
if (Serial) {
Serial.print(...);
}
should do the trick, I think.
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...
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.
Good to hear that you've got it working.
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,...
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!
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.
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:...
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...
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...
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...