Ok - commented out the MBR and seems to have got it working. But noticed something funny. I modified the drive partitions so Part 1 = Fat32, 2 = Fat32, 3 = extFat, 4 = Fat16. Going through the...
Type: Posts; User: mjs513
Ok - commented out the MBR and seems to have got it working. But noticed something funny. I modified the drive partitions so Part 1 = Fat32, 2 = Fat32, 3 = extFat, 4 = Fat16. Going through the...
@KurtE - got it.
Oh just ran across another issue using a SDCard in a USB Adpater.
If I run VolumeName sketch it pulls up the MBR as:
msc # Partition Table...
Thanks Kurt will see if I can get everything synched up. Anyway, think that makes sense. Think that goes back to what we were saying earlier, each partition is going to be its own drive: 1 drive =...
Morning @KurtE and @all
Very cool what you got managed to accomplish in a short time, relatively speaking, considering how intertwined all this stuff is.
Of course, you know I am a gluten for...
Found this that might be of interest going further: https://www.linuxtv.org/wiki/index.php/RealTek_RTL2832U#Device_info. Interesting so I put it here so I don't loose the link
Oops missed this.
Don't see it. Maybe its looking at like a HID device. Its not showing device class?
Could this be it:
---------------------- Device Descriptor ----------------------
bLength : 0x12 (18 bytes)
bDescriptorType : 0x01 (Device Descriptor)
bcdUSB ...
Short answer is that i2c_t3 doesn’t work with teensy 4.0 or 4.1 you will have to switch to just using standard Wire library. But I don’t think wire supports wire.stautus
Yes definitely Paul - HAPPY BIRTHDAY !!!!! ;)
Enjoy your day :)
Funny mine was yesterday the 28th :)
@KurtE - @wwatson
Would think you would need a UsbFS pointing to each partition?
Think it was like my thought that for each partition you need a addfilesystem(....,....,..., partition number) so...
At 24 pages, think that its going on the list of things to do :)
Cool. So many choices. Think volume stuff needs to be added to volume interface - would make it more transparent I think ?
Just ordered the one Kurt posted as well - told you I am in trouble when I get curious.
Yes it does - has the right components and same labeling.
To be honest - think it should as well. Would be good info to have available and inline with SDFat-beta
Yes please. Now I am curious which implies I am in trouble :)
Something like this:
https://www.amazon.com/Digital-Receiver-Antenna-Multi-Picture-Display/dp/B07MBGTVFV/ref=sr_1_4?dchild=1&keywords=dvb-t+receiver&qid=1614605707&sr=8-4
Is this what you are trying to implement:
Child Device 2 : HID Infrared Remote Receiver ?
Be honest - I would plug it in with all the debug turned on and see what it recognizes and...
@Frank B
Might be easier to know what device you are trying to connect to USB host.
When I was trying to add new devices I would start by turning debug on in USBHost, and the different .cpp files...
Just re-synched and seems to be working. Put in the SD Card Adatpter with 3 partitions:
Waiting up to 5 seconds for USB drive 1
^Waiting up to 5 seconds for USB drive 2
^^^^^^^^~~~~:(Initialize...
@defragster
Didn't have the problem with the java exceptions that you saw. SerMon would come to life if I closed it and reopened but would stop again.
I did notice that TyCommander didn't have...
@KurtE
Just tried compiling for the T4.1 (VolumeName.ino) in the examples folder and got the following error:
...
@KurtE
Fantastic job.... think duplicating the sub-library was the best approach and then modifing it. Will download and give it a try.
@defragster
Thanks for confirming the issue -- glad it is not just me.
Not quite sure how that is being done but I did see in micros() looks like you have to wrap msec = systick_millis_count; with disabling the interrupt and then re-enabling it.
Guess that answers that question :)
@KurtE
Ran a test with analog read in the interrupt and worked down to 20us. This makes sense since analog read is taking about 17us.
Did get response on github discussion:
So pretty much...
@KurtE
My advanced c++ skills are limited to looking things up as I go :)
Anyway, what you say seems to make sense, at least to me. Now just to decided where to put all this. At this point...
Morning @all
@KurtE - ambitious and good luck.
But to your point on SDCards - think you are going to have to implement something similar if it has more than one partition. But I think if you...
Morning @KurtE
Yeah me too!
within the interrupt it just calls off to analogRead - nothing fancy going on there. Was thinking about that myself especially since I have the test in post #19 as...
SOLVED:
Ok just to say thanks to everyone for helping and let you know that I finally tracked down the issue.
It appears that problem is using analogRead is not interrupt friendly.
The...
Just messed up my sdfat lib as well just for a another data point for you.:
This is for a SD Card with 2 FAT32 and 1 exfat:
msc # Partition Table
part,boot,bgnCHS[3],type,endCHS[3],start,length...
Maybe using the drive as the pointer instead of the volume so everything in MTP going to associated with the drive not the vol?
@KurtE
Was toying with something like this for MTP but don;t think I am passing the right things:
uint32_t sd_addFilesystem(FS &fs, const char *name, const char *volumeID) {
if...
@Frank B
Assume you are talking about the USBHost Shield 2.0: http://shop.tkjelectronics.dk/product_info.php?products_id=43
If you are I have the original version and it works for teensy 3 and 4...
Makes absolute sense to me - that sketch is coming in handy for testing.
Very cool = I just gave you last set of chances a try and they worked = both thumb drives came up - even the SD Card.
Thanks will pull down the latest changes and give it a go. Not even going to touch linux - having enough problems :)
@KurtE
Just tried your updated MTP and this is what I am seeing. Look like it works for SSD:
MTP_test
sd_addFilesystem: 0 20006328 RAM1
RAM Storage 0 RAM1 199936 512
sd_addFilesystem: 1...
Morning all
Decided to start playing. Ran @defragster's updated sketch on 3 devices: (1) an old 2GB thumb drive (FAT16 only), (2) a 32GB Sandisk thumb and (3) my HP 120GB SSD.
One thing I...
@KurtE
Was just looking over your code snippet so this is a question - it may be buried but I don't see where you are setting up expartVol/partVol .begin for the different partitions and then...
Trying a whole host of things but no luck. Hate issues like this reminds me of UncannyEyes! Going to go back and play with MSC/MTP!
@luni
Found the problem - the program for doesn't like going to USB1 when using a T3.5 and T3.6. Removed it and got everything started working as before. Did test with a T3.2 but it hanging...
Funny it worked with the code I posted now must have did something to make it fail. Going to run a test just to see with time.h.
EDIT:
Something else must of broke. Just this test sketch and it...
Nope nothing else gets printed as I am playing.
BTW will it work with a Teensy 3.x
Remember when I said it was working for a T3.5 well now its not working - argh. - no start up info from timer.h...
@luni
Seeing exactly the same thing on startup as you:
init 0x0
setPeriod(58)
attachInterrupt()
start
out of curiosity I switched the prog track to use pins 3/11 just in case. No difference
@KurtE
Did try and putting asm("dsb")'s in different places associated with the interrupts but still had the problem. Tried playing with volatile's as well but no luck.
Ok now have another interesting thing going on.
I wanted to try with a Teensy 3.6 but as soon as turn power on with the sketch loaded the T3.6 is sending signals to the lock to move but its not...
Will give it a try - just after a fresh pot of coffee.
Oops - thats @Frank B's library = I added it get freemem for the T4.1: https://github.com/FrankBoesing/T4_PowerButton
Sorry about that - forgot I was using it so distracted with the other problem.