Hi @wwatson
Could you please post the code or make a PR to add WiFiNINA support to FTP_Server_Teensy41, so that we can save duplication and time.
I'll try to have a look to see if there is any more bug when...
I don't see any problem with long sysex messages. Like the MIDI Sample Dump Standard you can send samples.
I've found this :
I think your real problem is the 'generic USB to Midi cable' at it uses Microsoft class...
I wanted to be sure, so I've checked the official Yamaha documentation. See page 37 here :
http://synthmanuals.com/manuals/yamaha/tx7/owners_manual/tx7e1.pdf
I posted your DX7 problem in Sequencer Forum. Look at here: https://www.sequencer.de/synthesizer/threads/yamaha-dx7iid-midi-dump.102499/
Greetings Rolf
Found this on Arduino boards: rugged-circuits.com/10-ways-to-destroy-an-arduino/
perhaps this or other things apply - given 'some signs' of catastrophe in the package seems all safety margins and components violated:
Yes. Your SysEx data block is too large. With MIDI-OX a maximum of only 2048 bytes per SysEx block can be received.
Such a large block of data is not normal. All synthesizers I know send a block of less than 500 bytes...
Since most of the questions here are quite intelligent, let me ask a stupid one.
I've been working with electronics for ...50 years at least, yet still managed to blow up a Teensy by applying 12 volts to a digital...
Hi,
I am testing it with my app in Python.
But I can see lot of noise:
If I have connected signal generator, I have no problem with noise and no problem witth all range of frequencies from 0-15000Hz:
Hi Rolf,
It's a dump of a DX7 bank with 32 patches inside. So the file actually already has only one F0, then 4102 bytes, then one F7 at the end.
In MIDIOX, I see that the usbmidi lib truncates this 4104 buffer in 266...
@wwatson - @KurtE - @defragster
Decided to have a little fun with MTP/MSC/USBHost so I picked up a M.2 SATA 500GB card and used a M.2 SSD adapter to USB:...
I wrote a small Arduino sketch and tested it on a Teensy 4.1 board.
Transmission errors occur with unchanged usb.c file. With the change to usb.c file, there is no transmission error.
The waiting time after...
Thanks for the reply.
I found the USB library (https://github.com/PaulStoffregen/cores/blob/master/teensy4/usb_mouse.h#L46). I assume usb_mouse_move(int8_t x, int8_t y, int8_t wheel, int8_t horiz) is the function...
On my side I managed to get it "working" with 4 channels, but I'm getting some crackling which I haven't figured out yet.
So if anyone more experienced would like to spend one hour debugging with me, that would be...
Great thanks Jay!
On my side I managed to get it "working" with 4 channels, but I'm getting some crackling which I haven't figured out yet.
So if anyone more experienced would like to spend one hour debugging with...
Thank you very much for your help, you wont believe what happened... i was such in a hurry when i connected the pins that i actually used 5v instead of ground and reversed positive with negative so instead of it going...
Note: Not sure if the one time that I thought the files was preserved was a fluke or not.
As I mentioned up on other thread, finally have version of teensy_loader_cli I can build with VisualStudio 2022, so now easier...
Hi @mjs513
I suggest you first try using another known-working FTP Server, such as VSFTP, ftpd, or FTP_Server_Teensy41 to be sure your Adafruit Featherwing board is working OK (hardware, nina-fw, etc). Then moving on...
I just emailed thesycon to put this project on their radar and ask for their contribution. If anyone has the knowledge to finally put the nail in this Wishlist item they definitely have it. They've written a...
It's ok and it works? :)
The next time I lay out this chip I'll be sure to read all of the PJRC page on this https://www.pjrc.com/store/ic_mkl02_t4.html. Scroll down and you'll find a great strategy for getting better...
@khoih-prog and @wwatson
Sorry been away from this for a while been distracted as I mentioned before but been following whats going on. Its great that you found the bug !!!!
Anyway, I just downloaded the updated...
Amazing job!
Thank you for these files as a starting point, can't wait to make my own design.
For the BGA I would've tried a heat gun soldering station... thanks for the tip with the hot plate, never seen these for...
This is my code to send SysEx to usbMIDI()
In the SysEx dump menu from my synthesizer I query a key and set the sendSyssExflag.
If the flag was true then send sysex dump. I always send a block of 348 bytes.
Then I...
Ah geez, you're right. I made those changes and now it's working. I didn't even need to mess with the sample rate with setI2SFreq() or anything. I tried with the sine wave sketch and my more complicated project and no...
Did you change the usb.c in your Arduino Library as I suggested ?
After that it is important that your project has to be completely recompiled (restart Arduino IDE).
File Path: C:\Program Files...
Hello,
I have a art project that involves PID control of a process (many actually, up to 25), that has to run at least at around 20Hz to have the required performance and stability margins.
I'm using a Teensy 3.2...
The fourth line in the screenshot of MIOS Studio in post#1 shows f0 only.
Sketch in post#23 ran on bare T4.1 usbType MIDI, Win10, IDE 1.8.19 TD 1.56, produced this:-
Note the second block, finishes with F0 and...
Hi all,
I've now published my Kicad schematic and board files for making a custom T4.1 on https://github.com/jenschr/Teensy-4.1-example
This file has a known bug in that it turns the USB switch for the USB host...
Many questions. Here's quick answers and some comments about phototransistors in general...
On Teensy, you use the Tools > USB Type menu in Arduino rather than "Mouse.h". It is detected by Windows, Mac and Linux as...
@Srx Shouldn't be hard if you have a hot-plate. Does not need to be big either. I used the MiniWare MHP30 (https://www.youtube.com/watch?v=JKlTd1B6Au8). It's tiny, but perfect for doing stuff like this & reflowing IC's....
I am not in position to do testing at present but just reading your mods....
I assume you have defined #define FRANKB_PATCH somewhere.....couldnt find it in your cpp file ????
Also orig for teensy3.2 the first //left...
I missing usbMidi.read() in your code !
// discard incoming MIDI messages
while (usbMIDI.read()) {
// ignore incoming messages
}
What Arduino CPU and Windows Version are you using?
@PaulSoffregen, I'm stumped as to why this is happening. Board responds to I2C commands when the AudioOutput is PWM or others but not I2S.
On Teensy 4.1 with Audio Shield
#include <Audio.h>
#include <Wire.h>...
If you want to eliminate any transmission delays, you can call flush() after sending TCP data when using QNEthernet. It’s possible the ArduinoModbus API needs to be changed to support this. Without calling flush(), data...
Been able to reproduce this with the following sketch:-
#define chunkSize 128
#define delayAmt 100
byte data;
void fillBuff() {
unsigned scratch;
for (uint16_t ct = 0; ct <= chunkSize; ct++) {
Testing OK with FTP_Server_Teensy41
Starting FTP_Server_SDFAT2 on TEENSY 4.1 with QNEthernet
FTP_Server_Teensy41 v1.1.0
Initializing SD card...
Wiring is correct and a card is present.
Card type: SDHC
Under the hood, incoming data is handled with callbacks, but with polling and not interrupts. The stack is polled for input every time Ethernet.loop() is called, which happens in a number of places internally, and also...
Thanks for responding! I just tried adapting the newer usb_audio.cpp file with the FrankB patches, but am still getting the clicks. Instead of the Audiotiming library (which is missing from FrankB's Github), I tried...
Yes, that’s correct. I chose “buffer if it can” over “send always” because lwIP’s API is similar, so I basically just did a direct mapping. Plus there exists that flush() call in the Arduino API (I don’t really...
Posted code ref to Paul's is worst case - as CACHE or not - it runs end to end of all PSRAM writing values, then a second loop confirming those values are present as expected. So it will blow though the cache. That...
Okay so what I am seeing is by design, just call flush whenever data is time sensitive and if not, I can let the library buffer and send the data when the timer hits to be more efficient? I will try using flush and make...
HI All,
Please use the new WiFiNINA_Generic releases v1.8.14-5
I've been testing many times and still uploading OK, without losing data.
Will update the forked WiFiNINA later, if necessary.
---
Call flush() to send any buffered data immediately. For reference, see the “Write immediacy” section in the Readme.
There’s no equivalent for setSocketSize() or setStackHeap(). Those are specific to how...
I tried making the switch over to QNEthernet this week but I had a few issues/questions.
First issue I noticed was that the data that I was sending from the Teensy to the PC wasn't being received fast enough, I did...
Nice you have some T_4.1's on hand Ken.
I changed my ISP ... DSL finally made it the last mile to my home. Two miles of old wire actually bonding two 20 Mb pairs for 40 Mbps and 11ms pings from passing fiber. Best...
You really should write some small test programs using the ARM cycle counter to measure the actual speed. When you test, use "volatile" on the variables or pointers your code uses, so the compiler doesn't optimize away...
Wow is right. I have spent the last two weekends working on FTP_Server_Teensy41 and WiFiNINA. The problem is with data.connected() always shows 1. Using the same library with QNEthernet would show data.connected() going...
Paul made this PSRAM test sketch: PaulStoffregen/teensy41_psram_memtest/blob/master/teensy41_psram_memtest.ino
It shows clock speed and tests various data patterns with write and read verify without any cache...
This is the directory listing, showing correct octocat.jpg file size of 51695 bytes, after running FTPClient_UploadImage example. The server is VSFTP on RPi
pi@raspberrypi-02:/home/ftp_test $ ls -la
total 80...
Hi All,
Wow, I just found out and fixed the bug in WiFiNINA + WiFiNINA_Generic libraries. Already tested OK using Nano_RP2040_Connect with FTPClient_Generic.
The very bad bug affects sending TCP data...
The last portion of the recently completed batch of Teensy 4.1 is still en-route to Sparkfun and Adafruit. Both sites are allowing backorders. Placing a backorder with them is by far your best chance to get a Teensy...
As Defragster has pointed out, I have some of the Teensy 4.1 in stock, though I am a little surprised he can see my website at all. ;)
Most of the ones I sell are the value-added 'Fully Loaded versions, i.e. modified...
A few points:
you never set s back to 0, so you will only ever trigger/start the cancellation signal once: I assume that's not your intent...
audio updates, and hence new values for rms1.available() and rms1.read(),...
Thanks Rolf
I've tried all your suggestions, unfortunately I'm still stuck with no complete bank dump.
I'm going crazy with such a "simple" thing.
If my calculations are right (and MIDIOX displays the blocks right)...
Some few with QSPI FLASH/RAM preinstalled: protosupplies.com/product/teensy-4-1-fully-loaded/
And showing 41 unpinned : protosupplies.com/product/teensy-4-1/ and 4 with pins
I was only testing on windows10 and Linux for Teensy3.2. FrankB_Patch worked for me as described in #75. You need to add the bits in RED text #DEFINE and #ifdefs etc.
This is location for file for Teensy3.2...
If you disabled in usb.c the usb midi flush output() you have to after midi data has been sent, a flush() must be sent.
This function forces the USB layer to send the data immediately. Since the USB bus is not...
When I use FrequencyMeasure on an LC, I am getting 60hz mains as a reading (LC powered by USB on a desktop pc) while testing the circuit. To me, this shows that any fluctuations on the power/ground line will be echoed...
Trying to read the datasheet makes me realize how much I don't know, but so far I think I understand that:
- The PSRAM will clock at 84MHz for Linear Burst operation (which will let me read across the 1024-byte page...
I want to do some low tech debugging (blink LEDs) to see how far teensy gets with my slow start power supply. Before I begin I need to know what modules are executed, and in what order, before setup is called. That way...
Hello, I've never owned a microcontroller and have no background in EE, so I have a lot of questions. The project will consist of a Teensy 4.0 / 4.1, the ILI9341 touch display...
Hello
I am fairly new to making things with teensy
My present primary focus is making MIDI control Surfaces that can be used to control various features of computer based Digital Audio Workstations (such as cubase...
I realize this is a really old thread, but I’m having this same “clicking” issue on a Teensy 4.0 and Teensyduino 1.56 (on Mac) when using USB Audio.
It happens when running the simple sine wave sketches earlier in...
Thank you @lerxstrulz, the same trick fixed my problem.
It's really a pity that nothing is written in the documentation about this use of AudioNoInterrupts():...
It depends... It is slower than the other memory locations, but again it depends on your usage. In particular how often you read/write to cache versus how often does it actually have to read/write the actual physical...
I did a draft of a Encoder Matrix Proto board. The idea is that one can start developing without the tedious wiring of a lot of encoders. After development the board can be easily cut or broken or extended to fit the...
You are reading the RMS result thousands of times a second even when it is not available. Try changing your loop function to this:
void loop()
{
if(rms1.available()) {
x = rms1.read();
if(x != 0.0 && s ==...
You probably need a switch circuit after the voltage regulator and before the Teensy that only switches on when voltage has reached 3V.
If that was not clear the switched voltage will supply the Teensy when up to at...