Search results

  1. W5ZZO

    Teensyduino 1.58 Released

    ctrl-shift-p, then find "Preferences: Open User Settings" I also had issues with "tons of temp files" causing errors... mine was something about mingw making an illegal memory access, I assume it found more files than it had buffers, deleting /Temp fixed that. As for 1.8.19, it is no longer...
  2. W5ZZO

    Teensyduino 1.58 Released

    ctrl-shift-p in IDE 2.0.4. That is workplace settings, look in the Files portion. I had mine on 10000 (10 seconds). I changed mine back to the default 1000 (milliseconds) setting... the last thing I want is to make a code change, compile upload the file and then scratch my head about why things...
  3. W5ZZO

    Teensyduino 1.58 Released

    I figured out how I got the compile to happen with the missing semi-colon. I have autosave set to 6 seconds in my preferences. It's probably an omission or a bug, but you can run "compile" or "upload" with a dirty file... you won't get prompted to save, and the disk image is yet unchanged. That...
  4. W5ZZO

    Teensyduino 1.58 Released

    I don't keep all those old versions, but to answer your question I am pretty sure I edited the main (6800Emu.ino) file. I ended up with all those .ino files because I was trying to share a multi-dimension array without declaring the first dimension in a #external line. I learned it just won't...
  5. W5ZZO

    Teensyduino 1.58 Released

    OK. I am using IDE 2.0.4 with teensyduino 1.58 on Windows 10, on a machine with 300 GB (2/3) of the SSD free. I will attach the sketch. I am not sure about the timing of this issue (whether it started with 2.0.4) because this is the only thing I have worked on for a few weeks. The real issue is...
  6. W5ZZO

    Teensyduino 1.58 Released

    This is as fresh as I could make it. I deleted a curly brace and got the expected cascade of errors. I replaced the brace and recompiled the program (I can upload it if wanted, eventually I will release this one anyway). This is very curious, as the entire directory appears to have been created...
  7. W5ZZO

    Teensyduino 1.58 Released

    I'll try the verbose output route first. If I could get a reliable test case discovered this would be easy. - Wes
  8. W5ZZO

    Teensyduino 1.58 Released

    IDK, there's around another 1 GB in there, so this mystery daemon needs to shake a tail feather if it's of a mind to break everything. I am guessing that the IDE creates the directories and invokes the Teensy loader after generating the .hex file? I have a real issue, but who owns the problem is...
  9. W5ZZO

    Teensyduino 1.58 Released

    How can this happen? (1.58 and also 1.57 do it) First these screen shots say a lot: I deliberately erased a semicolon in the source file, but instead of a compiler error message I got that message. From the windows explorer screenshot, you can see the directory with all those numbers in it...
  10. W5ZZO

    Teensyduino 1.58 Beta #3

    You can change teensyduino versions in the Boards manager. Second icon down on the left edge of main window opens that. Pull the scroll bar way down and you will find "Teensy by Paul Stoffregen". It should show, by your post, Version 1.57.2 installed. At the bottom of that block is a pull=down...
  11. W5ZZO

    Teensyduino 1.57 Released

    I'll holler uncle. I redid the process (0.58.3 -> 1.57.2) and got no error. I have no idea what happened, but I am back on 1.57.2 and this time it works. - Wes, W5ZZO
  12. W5ZZO

    Teensyduino 1.57 Released

    I installed Beta 3 and everything worked. But I got tired of being nagged about updating my boards, so I reverted to 1.5.7 (awaiting release). I got this error: exec: "C:\\Users\\BobbaFett\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.57.2/precompile_helper": file does not...
  13. W5ZZO

    PJRC Server Change

    Still 37-38 ms here. Not much beats that except Google (11 ms). - Wes, W5ZZO
  14. W5ZZO

    PJRC Server Change

    Getting 36 ms ping here in Texas (Houston area). - Wes, W5ZZO
  15. W5ZZO

    Audio Shields delayed by SD socket shortage

    A Teensy 4.1/Audio Shield project that has long been in the works is expected to progress beyond the handful stage around February. It's a "Software Defined Transceiver" (Amateur Radio). The actors behind this have been known to hang around this site at times, asking questions, although they...
  16. W5ZZO

    Comments on running Arduino 2.0

    I've been using IDE 2.0.x since it's RC days, and I no longer use IDE 1.0. I was just experimenting with the (on my computer) "COM4" and the "COM4 Serial" connections. When I connect using the "Teensy port" there is no Baud rate drop-down on the Serial Monitor. It just connects regardless of...
  17. W5ZZO

    Where are Teensy examples in Arduino 2

    They're there. Perhaps your installation went awry? - Wes, W5ZZO
  18. W5ZZO

    Arduino IDE2 - Serial Monitor sometimes does not work - continue from Upload Thread

    I posted a finding on the Serial Monitor on the Arduino forums, since I could only make my proof work with using COM4 (not teensy port). https://forum.arduino.cc/t/ide-2-0-2-serial-monitor-data-forgets-to-scroll-with-new-data/1060247 It should work with any program that can spit out more lines...
  19. W5ZZO

    Arduino IDE2 - Serial Monitor sometimes does not work - continue from Upload Thread

    It appears to me there is some sort of buffering within the serial monitor. Data from prior "sessions" is stored somewhere, and will be presented along with any new serial data sent. However, the time frame for "presented" seems to be erratic. I deal a lot with sessions where I generate more...
  20. W5ZZO

    Teensy port, IDE 2.0.2 Serial Monitor and resetFunc()

    That's it. I had 1.57.1 installed, but the version for the teensy monitor was still 1.57.0, why IDK. The file attachment fixed the issue. - Wes
  21. W5ZZO

    Teensy port, IDE 2.0.2 Serial Monitor and resetFunc()

    Using the code I posted below for a minimal example, with my Serial Monitor (on the Teensy 4.1 port) after exercising a reset the SM gets into a funky state where it only sends every other line to the Teensy. The code below should echo whatever you type, line by line. Unless you type "reset"...
  22. W5ZZO

    Problem when uploading program to T4.1 in IDE 2.0.2

    I switched my connection to the teensypins, opened the Serial Monitor and made many uploads w/o the menu greying out. I suppose it would be nice if some developer at Arduino would fix this, but so far the workaround is fine. This will be my last post on the issue unless the current equilibrium...
  23. W5ZZO

    Problem when uploading program to T4.1 in IDE 2.0.2

    I should not be happy, but at least now I know I am not seeing ghosts by myself. I also learned a lot about what the teensy ports are and "what's under the hood" that I did not know. - Wes
  24. W5ZZO

    Problem when uploading program to T4.1 in IDE 2.0.2

    I have seen and reported the lazy serial data display in IDE 2.0.x, iirc it has been there since the RC versions. Data appears to be captured, but will not display until you use the scroll-wheel in the window. For now, I am just leaving the Serial Monitor window closed and using CoolTerm to...
  25. W5ZZO

    Problem when uploading program to T4.1 in IDE 2.0.2

    The effort is incomplete, and most of what is in here has been done over and over, so here are the project files, all zipped up. Thanks for looking. - Wes, W5ZZO
  26. W5ZZO

    Problem when uploading program to T4.1 in IDE 2.0.2

    Yes, it's a larger size program, tons of audio objects. Memory Usage on Teensy 4.1: FLASH: code:84068, data:33928, headers:8976 free for files:7999492 RAM1: variables:65952, code:80520, padding:17784 free for local variables:360032 RAM2: variables:18112 free for malloc/new:506176...
  27. W5ZZO

    Problem when uploading program to T4.1 in IDE 2.0.2

    I have also determined (as best I can) that this problem DOES NOT happen when the Serial Monitor window is closed. I don't know whether the IDE or the Teensyloader is not working right, but as it stands they appear not to be getting along smoothly. Since this started with IDE 2.0.2, which...
  28. W5ZZO

    Problem when uploading program to T4.1 in IDE 2.0.2

    The logs are in user/username/appdata/roaming/ArduinoIDE/ It seems to do a daily delete, at least when you use it every day. I went ahead and zipped it so it is now only 13K in size. - Wes, W5ZZO
  29. W5ZZO

    Problem when uploading program to T4.1 in IDE 2.0.2

    It happened again, and I have a log. It is around 190KB though. I don't see any way to attach it, should I just paste it into a message? - Wes, W5ZZO
  30. W5ZZO

    Audio board - fading

    Be careful that your issue isn't audio hardware. I had my stuff plugged into an external USB adapter, and the fade (similar to what you are doing) did not work, simply because the jack I plugged into was a mono microphone device. You could feed your output into two amp objects for stereo, but...
  31. W5ZZO

    Problem when uploading program to T4.1 in IDE 2.0.2

    Windows 10 straight up. I got some advice yesterday over on the Arduino forum on how to find the log file from the IDE.. As usual, since I learned that I haven't had a failure yet. I hate these sort of inconsistent issues. I will put up logs when it happens again. - Wes, W5ZZO
  32. W5ZZO

    Problem when uploading program to T4.1 in IDE 2.0.2

    This problem was not there in 2.0.1 and prior, but what happens is after SOME uploads to my Teensy 4.1, the "Upload" menu-item gets greyed out (and requires a program restart to clear it up). This does not happen on a UNO (other boards not tested here). The loader is 1.58 beta2. Of course, the...
  33. W5ZZO

    Not Able To Adjust The Audio Balance On Windows 10

    OK. I didn't notice it until you described it. I will be sure to do that if it happens again. - Wes, W5ZZO
  34. W5ZZO

    Not Able To Adjust The Audio Balance On Windows 10

    So, the link being promoted finally shows up. Gentlemen, you are being played.
  35. W5ZZO

    Audio board - fading

    I would start with: AudioNoInterrupts(); fade1.fadeOut(1000); //uint32_t milliseconds fade2.fadeIn(1000); AudioInterrupts(); that assumes some things I don't know about your prior sound playing, but that is how to use the fade device. I have determined that using a value below 1 will...
  36. W5ZZO

    Idea for Audio Tool page enhancement

    Thanks, Mark. That looks promising. Maybe I'll get a lot of work done on this today, because the bands are (relatively) lousy. - Wes, W5ZZO
  37. W5ZZO

    Idea for Audio Tool page enhancement

    In order to more easily manipulate multiple channels in my synthesizer project, I coded this: AudioSynthWaveformModulated *WaveformMod[MAX_CHANNELS]={&waveformMod1, &waveformMod2, &waveformMod3, &waveformMod4}; used by indexing to address a particular channel like this...
  38. W5ZZO

    Balancing polyphonic sounds on the AudioMixer4 object

    I am making yet another synthesizer, and so far so good. I have 16 waveforms into 4+1 mixers, and (as warned in the documentation) when I play many notes at once the sound becomes distorted. I made a simple balance routine by counting the active voices, then using (1.0/count) and plugging that...
  39. W5ZZO

    How many simultaneous AudioSynthWaveform objects could be used for a synthesizer??

    Wow. Two VERY informative replies. I am thankful to you both. My most immediate worry was how many polyphonic notes to plan for. Following my fellow ham Mark's work, I will allocate 16 and plan to limit some, if needed, after exploring the usage information Paul has made accessible. Thanks to...
  40. W5ZZO

    How many simultaneous AudioSynthWaveform objects could be used for a synthesizer??

    I'm building yet another silly synthesizer, and off to a good start... it accepts musical keystrokes and makes sounds (and makes them disappear when a key is released). I have some keyboard scanning code that will tell me which of 24 keys are pressed or not (and the extra velocity key contacts)...
  41. W5ZZO

    Scanning matrix keyboard timing

    In case anyone searches this out someday, here are my findings: 1) Using INPUT_PULLUP is too weak to power two diodes at once (multiple rows in the same column at the same time fail). I switched to output mode and used digitalWrite() to get the juice I needed. 2) This is probably hardware...
  42. W5ZZO

    Scanning matrix keyboard timing

    LOL, I concede! - Wes
  43. W5ZZO

    Scanning matrix keyboard timing

    Thanks for the response. After I made that post, I "discovered" delayMicroseconds(). I tested my code and it works with a delay of 2us, but not at 1us. For the time being that helps some, as it is 500% faster. I don't like the busy-wait aspect, but since the code is in a loop, the individual...
  44. W5ZZO

    Scanning matrix keyboard timing

    I have a (partially) half-baked idea to make some sort of YASS (Yet Another Silly Synthesizer). I salvaged some matrix musical keypads and reverse engineered their layout. They are the expected diode matrix, with two contacts per note for velocity calculation. At this time there is no...
  45. W5ZZO

    Navigating to your main site from this forum

    I keep a bookmark for this forum and visit often, usually keeping my mouth shut because I have more to learn than contribute. Most support forums would have something like a PJRC logo in the upper-left corner that takes you to the main site. Here it just takes you to the "root" page of the...
  46. W5ZZO

    Teensy4.1 using an external 3.3V supply?

    Thanks for pointing those links out. I searched for some info b4 I asked, but didn't see those... probably lousy search terms on my behalf. I got the explanation I needed to determine that I was on the wrong track, my idea will NOT simplify my project. Thanks again! - Wes, W5ZZO
  47. W5ZZO

    Teensy4.1 using an external 3.3V supply?

    I have used a Teensy 4.1 from a 5V regulated supply, and taken a small amount of power from the 3.3V pin (near the 5V in) for a voltage divider circuit (so that I had the same reference voltage that the ADC was using). I also know how/why to cut the little trace so as not to mix my USB 5V with...
  48. W5ZZO

    Teensyduino 1.58 Beta #2

    1.58 Beta #2 has no issues on anything I am working on, (using 2.0.0 now) although that is not exhaustive regression analysis. I am trying to understand why, when I do a verify/compile the programmer window pops open at the end of compilation? Is this related to the Teensyduino coding, or...
  49. W5ZZO

    Teensy 4.1 does not support bit-band?

    Thanks for the tip. I don't have a mission-critical need for bit-band, but I combed through the INXRT 1060 datasheet, and while it has the bit alias addresses marked reserved, I was still unsure. I will study the port registers you mentioned. While I am just a hobbyist, I have been bit-banging...
  50. W5ZZO

    Teensy 4.1 does not support bit-band?

    TY. That may save me a lot of frustration.
Back
Top