K
Reaction score
34

Latest activity Postings About

    • K
      As for the answer to your "is this sort of RAM1 usage for code normal?" quesstion, the short answer is a definite "probably." By default, all of your code gets moved to RAM1 for faster execution. To alleviate some of this, you can selectively...
    • K
      Could you also post your "MidiFile.h" file (and any others that form part of your project) so we can build and/or analyze your complete sketch ?? Thanks, Mark J Culross KD5RXT
    • K
      kd5rxt-mark replied to the thread Teensy 4.1 SD card problems.
      In the following block of (commented out) code in that audio tutorial example, did you uncomment the first #define line to activate the BUITLIN_SDCARD (enabling use of the SDcard slot on the T4) ?? // Use these with the Teensy 3.5 & 3.6 & 4.1 SD...
    • K
      kd5rxt-mark replied to the thread Teensy usb midi problem.
      Almost any application will complain in one way or another if a device that is actively in use "goes away". Are you disconnecting your apps from the Teensy before reloading it (always a good idea), or are you simply "pulling the rug out from...
    • K
      kd5rxt-mark replied to the thread Teensy usb midi problem.
      @ladansedesdamnes: I get similar behavior (Teensy is no longer recognized after upload) when using the Aria Maestro MIDI player (which I regularly use to drive my TeensyMIDIPolySynth project, & highly recommended it, if you need a good MIDI...
    • K
      @manny90: Without seeing the contents of your sketch, any guesses would be just that: pure guesses. Posting your sketch would at least allow others to take a look, & maybe then, some potential causes might be noticed. Posting your sketch would...
    • K
      Try adding the following at the top of your setup() function. If there is a crash, the report will be generated & displayed in the Serial Monitor. unsigned long check_time; Serial.begin(57600); check_time = millis(); while...
    • K
      You might try the sketch given in <this> post. Note that it works best when an RA8875 800x480 display is attached to the T4, but if you just want to read the CAN bus data, the received data displayed in the Serial Monitor can be used for this...
    • K
      kd5rxt-mark replied to the thread Having more than 4 channels.
      The standard 4-input mixers that are part of the audio library can certainly be cascaded. Just be sure to manage the signal levels into each mixer so that you don't get clipping/overload. Mark J Culross KD5RXT
    • K
      Duplicate post of <here> & <here>. Mark J Culross KD5RXT
    • K
      Duplicate post of <here> & <here>. Mark J Culross KD5RXT
    • K
      @SamLoureiro: You've posted essentially the same question in three different places (this post, <here>, and <here>). Please avoid doing that in the future as it only clutters the forum, and will not likely result in any faster response. One...
    • K
      kd5rxt-mark replied to the thread Teensy-RV-Leveling-Helper.
      @PaulStoffregen: Thanks for your consideration including the TRLH in your blog. Steps to use the Teensy-RV-Leveling-Helper: 1) apply power to the inside TRLH & place it on the kitchen counter inside the RV (which provides a non-moving...
    • K
      @maxipad640: I would admit that, yes, you could probably bit-bang I2C & SPI interfaces as part of your senior design project. However, doing so would require a great deal of in-depth detailed hardware knowledge & very likely, many hours spent...
    • K
      See <this> page for instructions on how to install TeensyDuino into version 2.3.x of the Arduino IDE. Mark J Culross KD5RXT
    • K
      It will be much easier to troubleshoot and/or assist if you post your entire sketch. Mark J Culross KD5RXT
    • K
      I didn't take an in-depth look at your complete sketches, but I did notice that your second sketch does not seem to include the following two lines from the first sketch to define the rawHID controllers: RawHIDController rawhid1(myusb)...
    • K
      Do you have pull-up resistors (for active-low CS) or pull-down resistors (for active-high CS) on the CS lines ?? Mark J Culross
    • K
      The following line while (!Serial) delay(10); will cause your program to wait forever until a serial monitor is connected...remove and/or comment out that line. Mark J Culross KD5RXT
    • K
      <This> thread should have the details that you are looking for, particularly in post #3 . . . Mark J Culross KD5RXT
    • K
      Take a look at <this> thread. Also, take a look at <this> reference, particularly the description on the right-hand side of the Audio Design Tool for some additional info. Hope that helps . . . Mark J Culross KD5RXT
    • K
      [RESOLVED] So, it turns out that I was attempting to call the begin() function on each of the MIDIDevice_BigBuffer devices. This is actually incorrect. Rather, the begin() function should only be called on the single USBhost device. Here's a...
    • K
      UPDATE: Using the sketch in P#5 with nothing commented out (unlike what is reported in P#5), everything actually runs fine, as long as the USB hub is not connected. As soon as the USB hub is connected to the T4.1's USBhost interface (the USB hub...
    • K
      @PaulStoffregen: Thanks again for your quick replies. I have pared everything back to the simplest sketch that I can create. So, with two MIDIDevice_BigBuffer devices, if I call the begin() function on both devices, everything appears to hang...
    • K
      @PaulStoffregen: More than likely, I missed something & this is a case of a misunderstanding on my part !! Would I need two USBhost devices, then two corresponding MIDIDevice_BigBuffer devices each associated with one of those USBhosts ?? Or...
    • K
      EDIT: This has been resolved. See P#7 for a detailed discussion of the solution, along with a fully working sketch that supports two MIDI devices connected thru a USB hub which is connected to the T4.1 USBhost interface. EDIT2: Changed the...
    • K
      From the Arduino IDE (I use version 1.8.19), click on Tools > Teensy 4 Security. Clicking the "Fuse Write Sketch" loads a new IDE windows with the "FuseWrite" sketch. Building, loading, and running this sketch actually locks the T4. After the...
    • K
      How do you have your pushbuttons wired (using the information that you posted, one side of each switch should be connected to Pin 1, and the other side of each switch should be connected to GROUND) ?? With the sketch that you posted (BTW, it...
    • K
      I have not studied the picture of your wiring in detail, but as a general suggestion (based upon the comment on the github site that you referenced: in the "Electrical Elements" section of the "Top Level Design": "This means that good layout...
    • K
      - which example did you find ?? - can you post the sourcecode for the sketch that you are using ?? - can you post pictures of your hardware ?? - which Teensy version are you using ?? - which build environment are you using ?? - which OS are you...
    • K
      kd5rxt-mark replied to the thread Changing the volume pin.
      @SteveSFX: There is nothing to change in the audio library. In order to do what you are asking, everything can actually be simply controlled from your user sketch. See the Teensy Example (which can be accessed from the Arduino IDE) titled...
    • K
      @MarkT: Did you intend for the code to be as follows (appears to have a simple cut/paste duplication): void processButtons(){ btnLeft.update(); btnRight.update(); btnSelect.update(); if ((btnLeft.pressed()){ pIndex = mIndex...
    • K
      @Timothy Jones: You might find some useful suggestions in <this> thread. Please feel free to ask any other questions if/as needed. Mark J Culross KD5RXT
    • K
      Just a follow-up on my earlier recommendation for using OshPark. I recently ordered three more copies of my TeensyMIDIPolySynth (TMPS). Following that order, I received an e-mail from OshPark indicating that the panel containing my boards had...
    • K
      Murphy (known in the US for the "If anything can go wrong, it will" sentiment) joined the party !! Before adding your wires back, can you see if the Teensy is recognized when plugged into your PC. If not, unplug it & try holding down the...
    • K
      Thanks for the pictures. Agreed on the very tiny pads !! Unfortunately, the hot glue appears to be causing too much blurring to be able to clearly see where the fault might be. Any chance that you have a heat gun that you could use to melt...
    • K
      If you post pictures of the unit that was damaged, maybe a cause could be determined, & potentially a solution identified. Others have caused similar problems in soldering, but were able to revive their damaged Teensy after removing solder...
    • K
      kd5rxt-mark replied to the thread Teensyduino 1.59 Released.
      @PaulStoffregen: Should Print memory info on Arduino IDE 2.x.x normal color, not red be removed from the release notes . . . wasn't that put in, then backed out after the fact ?? Mark J Culross KD5RXT
    • K
      kd5rxt-mark replied to the thread Teensyduino 1.59 Released.
      Downloaded & installed TD 1.59 into Arduino IDE 1.8.19 (download failed first time...Microsoft Win11pro strikes again...but succeeded 2nd time) & Arduino IDE 2.3.0 (download/install succeeded). Tested both with several of my current (quite...
    • K
      kd5rxt-mark replied to the thread Issues with USB hub IC.
      Can't tell for sure if this is what you are asking for, but <this> post describes how I have my TeensyMIDIPolySynth sketch setup to allow me to connect a USB hub to the USBhost interface on the T4.1. Hope this helps . . . Mark J Culross KD5RXT
    • K
      kd5rxt-mark replied to the thread Teensyduino 1.59 Beta #6.
      After some more analysis, this problem also seems to be the result of a "partial/incomplete" download on my Win11pro laptop. When I start the Arduino IDE 2.3.0, I see a pop-up status window indicating that the...
    • K
      Have you tried the T.4x factory reset (description can be found <here>) ?? Mark J Culross KD5RXT
    • K
      The following suggestion is certainly not the same as directly generating HDMI signals from the Teensy. However, acknowledging that some potential resolution may be lost, what about generating VGA signals (IIRC, already been done) & using one of...
    • K
      kd5rxt-mark replied to the thread Tennsy 4.0 and TFT 3.5 INCH.
      Do you have the BL (backlight...may also be labeled LED) pin tied to either 3.3VDC or 5VDC ?? Pictures of your hookups could be helpful for assisted troubleshooting. Mark J Culross KD5RXT
    • K
      kd5rxt-mark replied to the thread Teensyduino 1.59 Beta #6.
      @wwatson: Thanks for your observations. It looks like my laptop is behaving differently. I don't have the CTRL-ALT-S shortcut defined as anything in Windows, so that keystroke combo is actually being processed by the Arduino IDE. In my case...
    • K
      kd5rxt-mark replied to the thread Tennsy 4.0 and TFT 3.5 INCH.
      Note that this report (pertinent line in RED above) does not agree with your most recent post: It appears like DC/RS & RESET are swapped. Hope that helps . . . Mark J Culross KD5RXT
    • K
      kd5rxt-mark replied to the thread Teensyduino 1.59 Beta #6.
      I don't know if this is anything to worry about at this late date, but Arduino IDE 2.3.0 (along with TD 0.59.6, running under Windows 11pro, but I don't think either of these are pertinent) reports a build failure when initiating CTRL-ALT-S (I'm...
    • K
      kd5rxt-mark replied to the thread Overflowing RAM.
      As a quick test, you could also try the "Smallest Code" optimization. This allows my TeensyMIDIPolySynth project to fit within the available RAM1 on the T4.0 that I am using as the audio processor. Mark J Culross KD5RXT
    • K
      kd5rxt-mark replied to the thread Teensyduino 1.59 Beta #6.
      Looking at my post #45 above, you'll notice that I also got the "Unexpected EOF" on an attempted install of 1.58.1, which had certainly succeeded a number of times before. Additionally, two of the subsequent attempted installs of 0.59.6 failed...
    • K
      kd5rxt-mark replied to the thread Teensyduino 1.59 Beta #6.
      So, maybe their download mechanism is not really verifying the checksum ?? Or not handling an invalid checksum correctly ?? Mark J Culross KD5RXT
  • Loading…
  • Loading…
Back
Top