Morning all
@defragster - gave your mods a go and all seems to be working.
1. SSD 120GB - 2parts, extFAT/FAT32
2. SD CARD in adapter - 32GB - 2 FAT32 parts
3. 2 GB Thumb drive - 1 FAT16
All worked without a...
I am in serial mode, I also tried whilst in mtp mode.
It is not that it doesn't print to serial, it is that the device doesn't even show up on USB or run blink
Maybe Teensy is transmitting "*** ONLINE ***" before your PC is able to complete USB detection, and then you interpret the lack of that message as the USB device not working? But that doesn't explain needing the press...
I verified your sketch on a T4.1 and with or without the analogRead(randomVar ); line, it shows a serial USB device .
Did you set Menu > Tools > USB Type to Serial?
Using Arduino 1.8.13 & Teensyduino 1.53 on Windows...
Generally, for strips having more than 3 DotStar LEDs, you want to power that strip externally. You don't want the propshield board to supply significant current to DotStar strips. See this page for more info how to...
In the code below, if I do not put the analogRead function in the code, the Teensy wont show up via USB and I have to press the reset to upload new code.
However if I put the analogRead in, it functions without issue. ...
Buying a Teensy LC would have least cost - especially if you really use 5 of them. Not sure of any reason it wouldn't work as well as the others for this dedicated purpose?
See this for PCB creation and DEMO:...
Done for now - Got Twin Drives Hacked in and working!!!!
Duplicated setup code for msDrive 1 and 2 in loop() - and pass ptr to msc1 or msc2 to the func( UsbFs *myMsc )'s that need it ( mbrDump and volLabel()'s )
>>...
Hi Everyone.
I'm working on a project that requires input from 5 cherry mx switches, 5 force sensors, 5 capacitive touch sensors, a photodiode and an EEG shield. I'm using a teensy 4.1 to poll all of these sensors...
GOOD NEWS! Looks like it was used a year ago for USBHost testing.
Now it just needs to be coded to bring up a second drive as well.
My 120GB HUB DRIVE is ExFat and now works - seems to have Vol Label - and it...
int velocity = map(peak, thresholdMin, 1023, 1, 127);
Serial.println (velocity);
usbMIDI.sendNoteOn(note, velocity, channel);
Yeah, how can you be getting those values at all? If you are then the MIDI...
Hello again,
I fixed the issue by adding an amp in my audio graph and using the amp gain to achieve the intended function. I'm just going to set sgtl5000_1.volume() once in setup() and then leave it alone. Maybe I...
as follow the limits:
PLL5 - DIV = 27..54, NUM max 960000, DENOM max 960000, PLL5_POST_DIV = 1,2,4, VIDEO_DIV = 1,2,4
SAIx_PRED = 1..8
SAIx_PODF = 1..64
vco = must be in range 650MHz - 1.3GHz
xtal = must be 24MHz...
Hi Folks,
I'm doing the initial bringup on a synth and a bug is bothering me. I want to sort it out before I proceed. I'm running Teensy 4.0 and an Audio Board Rev D.
The first thing I want to do is generate a...
I wonder if in the cases where you want to simply have the detector stand-alone outside its not easier to add a simple bluetooth transmitter that is connected to the phone-out of the detector ?
That sounds interesting. I have been thinking about this while waiting for all my parts to arrive. Are you using a module like HC-05/06? I was wondering about using an ESP32 as a co-processor (it would relieve the...
Turned on USB DEBUG
This is the inital case on power up where ExFat works:
new_Pipe
new_Pipe
Descriptor 5 = ENDPOINT
Descriptor 5 = ENDPOINT
Initialize USB drive...control CallbackIn (msController)
00 00 00...
the problem is here
flash_block (base_address + address + FLASH_BUFFER_ADDR, (char *)data, byte_count)
so first offset is 3/4 of FLASH_SIZE, i think it is wrong
1 :10000000F8FF022099010000652C03001D2C03005D...
the datasheet is very vague in many respects. its a pure datasheet with almost none reference to practicle use.
the MCUXpresso Config Tool gives at least some ideas about coherences, limits and restrictions
Gruß aus...
Unfortunately I didn't succeed to load big program (295 kB)
first i fogot to change FLASH_BUFFER_ADDR to (3 * FLASH_SIZE/4) to load my large application
and i got this
8188 ...
Put the Teensy MSC formatted ExFat drive on Windows - looks good.
Had 16 MB Unallocated before the ExFat Partition. Made that space into a FAT drive.
Both Volumes have usable names - NOT SHOWN, and it sees the...
@All
When you guy's go for something, it always amazes me. I learn so much from your testing:)
There are two timeouts in 'msc.h' located in the 'USBHost_t36/utility' folder that you can tweak at the driver level....
Code Merged - ExFat 128GB Flash lives:
Waiting up to 5 seconds for USB drive
^^^^Initialize USB drive...^^^^^~USB drive 1 is present.
msc1 Partition Table
part,boot,bgnCHS,type,endCHS,start,length
exFAT:...
I have 2 of these buydisplay7.84 "candy bar" 1280 X 400 displays ..
They require SPI for the RA8876
and SPI for the ssd2828 chip .. which needs to initialize communications to the RA8876
(its sort of set it and...
Damn - thought I posted the fix:
// VolumeName.ino
// An example of how to retrieve Fat32 and ExFat volume names using SdFat.
// Works with SD cards and USB mass storage drives.
#include "Arduino.h"
#include...
Argh - that p#479 doesn't have my edits in :(
I have another drive : Flash 128 GB that was seen to FAIL using to backup PC data.
I just went to MSC ExFatFormatter - here is Format okay and startup okay ... then...
Ok here is the fix for extFat:
Waiting up to 5 seconds for USB drive
Initialize USB drive...USB drive 1 is present.
msc1 Partition Table
part,boot,bgnCHS,type,endCHS,start,length
FAT32:...
Turns out BOTH of these drives are MSFT formatted :) One for recover 64GB with 2nd partition now formatted where they image it with one of 32GB
The second 16GB drive they format when putting on the WIN 10 install...
@defragster
Wondering if its an issue with MSFT formatted drive. I put a 128GB SD Card in a usb adapter with 2 FAT32 and 1 extFAT. But looks like the exFAT is failing for some reason;
Initialize USB drive...USB...
Just made this ehci.cpp change to my system - No change to (1) on the startup Hang with write protected drive:
USBHS_USBCMD = USBHS_USBCMD_ITC(1) | USBHS_USBCMD_RS |
This system has HardFault detection enabled -...
Now looking at the waveforms between the T3.5 and T4.1 when it works the command takes about 1.2seconds to complete and they look alike (Used a Salae Logic Analyzer). When it fails on the T4.1 the signal just keeps...
Was working on my DCC++ for Model Train Control with Teensy 3.x and Teensy 4.x as a result of problem that some one was running into with running on a T4.1. Going to get complicated so here it goes.
In DCC you have...
Just back ... 'not Working' is the norm ... didn't read enough of the thread :)
> this with minimal USB 2.0 'hub' - not powered
Updated above post #470 ::
That is how Windows sees it, MSFT formatted it when they...
@KurtE
Fantastic. I was playing with and trying to make it work like FAT by opening the root directory but failed miserably. Where did you find the rootDirStart?:
msc1.usbDrive()->readSector(partVol.rootDirStart(),...
Have Fat16 working I believe at least for USB, have not tried with SD yet...
// VolumeName.ino
// An example of how to retrieve Fat32 and ExFat volume names using SdFat.
// Works with SD cards and USB mass storage...
Hi @defragster and others...
Thought I would show so more stuff that is not working :D
// VolumeName.ino
// An example of how to retrieve Fat32 and ExFat volume names using SdFat.
// Works with SD cards and...
Your servo error outputs will need to be open collector. Most of the error outputs I have seen are OC and pull the signal low on an error. If you want to wire OR them, you will need to set the EStop input to NO.
...
TyCommnader finds all online Teensy units. When part of the build process it pops up a dialog to 'pick your Teensy' the first time that hex is uploaded - then on subsequent uploads of that hex it is associated with...
Greetings,
I am hoping to use my teensy 3.6 to collect some data with 16bit resolution. While the ADS1115 works well, it is simply not fast enough. The ARD-LTC1867(iowa scaled engineering) is a shield made for...
ORing all the servo error signals together into EStop would work.
BTW, Is there any reason that JP11 can't be fed with 24V ?
I can share a GND somewhere with my 24V supply since JP11 doesn't have a GND, but it...
You are welcome. Perhaps, the Teensy upload scripts will one day learn from bossa (an open source tool to flash ARM MCUs), used by Arduino’s ATSAMD based boards and their clones how to auto detect the port where the...
And that was just a matter of adding :
upload_port = COM35
to the projects platformio.ini file. I imported a bigger project over, manual copied it's local libraries to the project lib directory, edited platformio.ini,...
I look forward to seeing the results of your efforts.
A number of my customers using servos bring the error signal into EStop. There is a movement to bring out another input signal - Servo-Alarm on an unused Limit...
Can anyone tell me what how much current the LED driver pins on the prop shield can handle? I'd like to plug in the DotStar LED strip I have but I'm afraid of frying the board with it's current draw (72 LED's, it pulls...
Thanks!
The reference manual says not any word about this. (only that it can be 29 (or was it 30?) Bits wide) - I'll test if it makes any difference. As said.. the program works .. so i wonder if there is a difference...
Thanks for the response.
I think initially this will be just fine. Eventually, once I get my head wrapped around the code, I'll look into adding some things.
I'm using servos so I can bring their error signal back...
thanks Frank - my little program was all about test of functionalty not absolut numbers :cool:
by the way .. TMR4_CSCTRL3 can be set to "0" since there isnt a real output to any pin
i also saw you use .. static...
Hi,
AudioProcessorUsage() does not take the time needed for the DMA ISRs into account.
Some need quite a time (like S/PDIF emulation on Teensy 3.x).
I'd suggest a function like update_all() that informs the...
... first pass answers links to other info ...
Forum search for ILI9488 will find development and notes on SPI display usage. There are options for continuous DMA update or single write processing and the screen can...
... using the p#469 code { I added : >>>pt->type: 12 }
My favorite/most used Flash is a FAT32 16GB with a physical write protect switch.
That is how Windows sees it, MSFT formatted it when they put on a Win 10...
Working on a handheld audio project, I recently abandoned Raspberry Pi (boot time too long) in favor of Teensy 4.1 -- I am very excited about the audio possibilities.
I need touchscreen LCD for menu/navigation only...
Nope. The cards are always included for distributors. The distributors get the cards bulk packaged, usually in sets of 100.
But mistakes and misunderstandings can happen. Sometimes a person will misplace the bulk...
Hi Paul Stoffregen,
Thank you very much for the offer, much appreciated!
Although it would be nice to have original cards, I do not want to put extra costs on you. I can manage with the print I made from the...
You were right, length on the jumpers was the issue. I soldered some female headers to the top of the teensy, plugged in the shield and ran erase everything again and it ran. Thanks for the help!
Note: I have been playing some with adding Fat16 maybe stuff and not finding the VolID...
Some output currentlly:
Waiting up to 5 seconds for USB drive
Initialize USB drive...FsVolume::begin(20001b28)...
The I/O on the current board (V 2.09) is pretty much the same as earlier versions. I will put up a schematic of it on github. here ]
Yes, you can use either USB or Ethernet to communicate with the Ethernet version...
I'm really sorry this happened. Every Teensy is always supposed to come with the documentation card.
Robin & I will contact TinyTronics....
If you want the original printed card (which is much nicer & more...
Always a pain to plan soldering in advance for pin or socket and top or bottom - and picking the wrong combo leaves a hassle to deal with :(
If properly wired - and the jumpers are well connected - the jumper type...
When searching further about the difference between an SSD1306 and a SH1106, I saw some display pictures looking very similar to your picture in message #4.
Here is such a thread.
And another thread. The solution is...
Well, you have saved me banging my head on the wall any longer. I've installed latest VS Code and PlatformIO. First impressions are very good. Seems a bit complicated to get your head round but it is very comprehensive....
Dag PaulS,
Oke, have sent an email to Tinytronics and already got an answer, I have to give it to them, they are very fast with delivery of goods and als in replying to customers.
their answer is below(in Dutch)...
T_4.1 with KurtE code ( and the p#467 Volume Name edit ) - on unpowered hub just the two partition 64GB Flash works!
>> NOTE: putting this flash in Win machine mounts both partitions/drive letters also.
Pulled SD card...
Just to elaborate a little more I have everything connected via jumpers at the moment because I'm a dunce and soldered breadboard pins to both the Teensy and the prop shield. I've swapped cables just to make sure...
You may have seen setup() and loop()
Forget that.. they are just functions.
its something like
void setup() { your code here }
void loop() { your code here }
void main() {
I might be reading too much into your question, but it sure sounds like you have a misunderstanding how of how programming Teensy really works.
The "Arduino language" really is just C++ which very minor...
Using unpowered Hub and the 64GB Flash with 32 GB recovery Part - the 2nd part shows using KurtE code:
Notes on output below:
> there are about 300-400 pages of files displayed in TyComm on the recovery drive - does...
Is there a version of schematic available which allows me to search signal names?
I'm trying to apply this to a custom-built lathe. I certainly appreciate the schematic, but in JPG form it cannot be searched. I just...
Some hacking here - esp with my odd powered hub that has internal device #1 of a 120GB HDD - then as coded it doesn't look beyond msDrive1.
Also odd about the hub as before - once enabled the Hub/HDD backfeeds power...
First of all, you should think about what you actually mean by "memory management".
Since you obviously know C, you know that there is at most new/malloc/free - and there is the stack, variables and pointers, RAM and...
Just gave it a try and works for me. We all are really hacking away - but its working at least so making progress.
Not sure we are supporting FAT16 - or should we?
As for different types of FAT32 codes that easy...
Hi. Very nice to meet you all.
I have done some projects with leds but i need some guidance before i start the next one because it's bigger.
I want to use a display made of 10x 1meter of 144led/m RGBW SK6812...
IIRC, SLIP was used in the dial-up.
PPP, again as IIRC, is simply a format which encapsulates the packet (anything, really).
It was based on HDLC, so it used a special flag character 7E which means you need...
Thank you very much for your help.
I will count this as a beginning on my journey.
I want to clarify one more thing related to the core processor of this chip.
There are any way to program the memory management in...
I used one of these extenders, Bill is talking about, to try sdio-access to multiple microSD.
while the extenders worked fine, my attempts to have multiple SD cards on the sdio bus failed. only one card was responding...
Here is Flasher3d.zip. This version lets you set FLASH_BUFFER_ADDR (in file FlashT3x.h). I have only tested on T3.2 so far. The size of Flasher3d is about 42K, so I have set FLASH_BUFFER_ADDR = FLASH_SIZE/4 = 64K....