-
Older Activity
-
Today, 01:36 PM
Thanks thought crossed my mind - so I tested yesterday down to 24Mhz. But as a double check after your suggestion I just tested at 150Mhz - still stopped after a couple tries. Even tried tried changing compiler options
4 replies | 66 view(s)
-
Today, 01:10 PM
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...
489 replies | 29105 view(s)
-
Today, 12:25 PM
If anyone has any ideas please let me know. Ran of ideas on how to further debug.
4 replies | 66 view(s)
-
Today, 02:43 AM
@defragster - will let you do it = going get some zzz's now - been up since 4am
489 replies | 29105 view(s)
-
Today, 02:40 AM
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...
489 replies | 29105 view(s)
-
Today, 02:34 AM
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:...
489 replies | 29105 view(s)
-
Today, 02:19 AM
@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...
489 replies | 29105 view(s)
-
Today, 01:56 AM
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...
4 replies | 66 view(s)
-
Today, 01:50 AM
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...
4 replies | 66 view(s)
-
Today, 01:30 AM
@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(),...
489 replies | 29105 view(s)
-
Yesterday, 06:36 PM
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...
489 replies | 29105 view(s)
-
Yesterday, 03:58 PM
@KurtE
Fixed this now works for USB devices:
msc1 Partition Table
part,boot,bgnCHS,type,endCHS,start,length
exFAT: 1,0,0x20,0x21,0x0,0x7,0xFE,0xFF,0xFF,2048,204800000
FAT32:...
489 replies | 29105 view(s)
-
Yesterday, 03:54 PM
Out of curiosity I did add a print directory (LS) for the fat just to see if it work:
msc1 Partition Table
part,boot,bgnCHS,type,endCHS,start,length
exFAT: 1,0,0x20,0x21,0x0,0x7,0xFE,0xFF,0xFF,2048,204800000
FAT32:...
489 replies | 29105 view(s)
-
Yesterday, 03:47 PM
@KurtE
Got it partially working
msc1 Partition Table
part,boot,bgnCHS,type,endCHS,start,length
exFAT: 1,0,0x20,0x21,0x0,0x7,0xFE,0xFF,0xFF,2048,204800000
FAT32:...
489 replies | 29105 view(s)
-
Yesterday, 03:01 PM
@KurtE - @all
Finished my diversions this morning and guess I am going to start playing with partitions again. This stuff is giving me a headache to be honest - a lot of pieces to the puzzle.
@defragster
Glad...
489 replies | 29105 view(s)
-
02-23-2021, 06:16 PM
Thanks Kurt - right now by brain is mush working on multiple things at a time :) Need a break before getting back into it.
489 replies | 29105 view(s)
-
02-23-2021, 03:48 PM
Question:
To set up a volume say for an exFat partion I do a:
expartVol.begin(sd.card(), true, 1);
for an SD Card. Now, if I am using a usb drive (non sd). What do I do for a blockdevice or pointer to the...
489 replies | 29105 view(s)
-
02-23-2021, 12:47 PM
Try pulling from Paul's repository for USBHost_t36 - I switched over to that for testing. Just looked looks like its like it should be the same though.
489 replies | 29105 view(s)
-
02-23-2021, 12:43 PM
@defragster
Maybe its using an outdated USBHost_t36? or maybe try it from Arduino IDE :
Using library UsbMscFat-main at version 1.0.0 in folder: D:\Users\Merli\Documents\Arduino\libraries\UsbMscFat-main
Using...
489 replies | 29105 view(s)
-
02-23-2021, 12:29 PM
@defragster
I am assuming that those libraries in T:\tCode\libraries\ are some linked to the libaries in T:\arduino-1.8.13_t54\hardware\teensy\avr\libraries?
489 replies | 29105 view(s)
-
02-23-2021, 12:23 PM
Ok cool was just looking at this now - so now don't have to. Do have to so some testing with the changes though in MTP and standalone :)
830 replies | 24616 view(s)
-
02-23-2021, 12:21 PM
Ok here is one for you all
Out of curiosity I just downloaded it again but used Firefox. No issues with defender and my Norton pop-up came up and said it was a safe file. I added that rule a long time ago.
Now -...
24 replies | 454 view(s)
-
02-23-2021, 12:13 PM
Not 100% sure. In post #435 @wwatson mentioned that the only thing you need in your libraries folder is: https://github.com/wwatson4506/UsbMscFat..
I did delete all the old MSC files - uSDFS, MSC/MSC2 etc. so that...
489 replies | 29105 view(s)
-
02-23-2021, 12:07 PM
@wwatson - @KurtE - @defragster
Just ran your test sketch in post #433 and it worked like a charm. Recognized exFATs and FAT32 to get the volume name.
Have to go find my hub to test with again - keep loosing...
489 replies | 29105 view(s)
-
02-23-2021, 11:18 AM
@defragster
Nope the those lines are in my version. Note - never created a build.local.txt file that I remember but then who knows may have did that a long time ago and just got use to it being there. Going to add...
24 replies | 454 view(s)
-
02-23-2021, 11:11 AM
@defraster
Don't remember ever having a boards.local.txt file there before. Anyway that is in there now for all Teensy's not the the T4.1
24 replies | 454 view(s)
-
02-23-2021, 11:04 AM
Item #1: teensy.exe is staying around 0% with periodic jumps to 0.1%. Java Platform SE Binary goes between 0% and 0.7%
Item #2: see post #10
A couple things for Beta8:
1. USBHS_USBCMD_ITC(0) in usbhost_t36...
24 replies | 454 view(s)
-
02-23-2021, 10:54 AM
Did notice the new memory usage in both Verbose and non-verbose. In verbose I am seeing this additional info:
Linking everything together......
24 replies | 454 view(s)
-
02-23-2021, 10:46 AM
@Paul
Just downloaded Beta7 and pretty much saw what @defragster saw in post #4. I did one additional step. Before telling defender to Keep file I clicked on REPORT THIS FILE AS SAFE:
Once you click on report file...
24 replies | 454 view(s)
-
02-22-2021, 10:10 PM
@KurtE
Funny when I put in my SSD it showed the contents of the first partition as I expected.
I was rummaging around mscUSB but I didn't see any linkages back to SDFat for the Volume commands that we need. So...
489 replies | 29105 view(s)
-
02-22-2021, 07:01 PM
Not yet. Not sure how much of the vol and partition stuff is exposed in msc. Haven’t looked at yet
489 replies | 29105 view(s)
-
02-22-2021, 06:30 PM
@KurtE
Been searching the code and the help system as well but to no avail. Nothing I have found seems to return the volume name. Think @wwatson mentioned in an earlier post that he was doing something to get the vol...
489 replies | 29105 view(s)
-
02-22-2021, 06:15 PM
@KurtE - @wwatson
Decided to play around with the BufferedPrint example to see what it takes to write and read files from the partitions. Did manage to create 3 partitions that I can test with;
SD Partition Table...
489 replies | 29105 view(s)
-
02-22-2021, 05:39 PM
@KurtE
Sorry for the delay in responding. Was busy playing and watching more snow fall :(
Any tried to modify formatter but haven't broken the code on that one and wound up messing up my partitions on the sd card...
489 replies | 29105 view(s)
-
02-22-2021, 11:25 AM
Taxes - yep - already did mine.
Anyway get the volume directory was relative easy.
SdFat version: 2.0.5-beta.1
Assuming an SDIO interface.
type any character to start
init time: 22 ms
Card type: SDXC
489 replies | 29105 view(s)
-
02-22-2021, 01:06 AM
@wwatson
Thanks for the changes will play more with it tomorrow. May try to do a list files but intent really was to see if and how to get access via sdfat. But the use of sd.card was the key
489 replies | 29105 view(s)
-
02-22-2021, 01:03 AM
Hopefully no more issues. Hope that list is getting shorter but have a feeling it’s getting longer.
76 replies | 1450 view(s)
-
02-22-2021, 12:41 AM
Should have mentioned. Running Ubuntu 20.04.02LTS 64 bit on the PI4. Don't really have any other Linux systems. Probably can did out a RPI3 and see what I have on it and give it a try if you think its worth it?
76 replies | 1450 view(s)
-
02-22-2021, 12:14 AM
Ok - just tried it on a RPI4 and its now working.
Guess the order matters - 00 versus 49. Forgot to document but think you added an extra rule as well to the file.
76 replies | 1450 view(s)
-
02-21-2021, 11:35 PM
First don't despair. I have had many UBLOX modules working with the Teensy (most 3.2 and up) and never had a problem. The first thing I usually do is use a Hardware Serial Port as opposed to using Software Serial. ...
2 replies | 59 view(s)
-
02-21-2021, 10:47 PM
Thanks - the dummy that I am. So with that ran it but I created 4 volumes 3 are FAT32 and 1 is exFAT. This is running the SDInfo without Partition info set up:
SdFat version: 2.0.5-beta.1
Assuming an SDIO interface....
489 replies | 29105 view(s)
-
02-21-2021, 09:58 PM
Morning @KurtE
Was trying to implement your changes and found you already implement them in the repository example so.... Using just 1 MSC object ran into a couple of problems with some devices:
1. SD Card using a...
489 replies | 29105 view(s)
-
02-21-2021, 05:25 PM
RE Partitions: SDFat only supports single partition. See https://github.com/greiman/SdFat-beta/issues/69
899 replies | 64653 view(s)
-
02-21-2021, 04:01 PM
Have fun. Make sure you use @KurtE's branch. https://github.com/KurtE/MTP_t4/tree/MEM_send_object_large
899 replies | 64653 view(s)
-
02-21-2021, 03:25 PM
@KurtE
Was poking around SDFat and not 100% sure it directly supports multiple partitions. Why, Blockdevice* dev I believe has to point to the SDCard but doesn't appear we have access to that. Bill points to card into...
489 replies | 29105 view(s)
-
02-21-2021, 11:46 AM
Just including this for reference: https://forum.pjrc.com/threads/55821-USBHost_t36-USB-Mass-Storage-Driver-Experiments?p=271015&viewfull=1#post271015 on using partitions.
5 replies | 119 view(s)
-
02-21-2021, 11:41 AM
@KurtE - @wwatson
Not sure where to post this (kind of crosses - Integration Thread)
Anyway not sure how this would work but SDFat does have a FatPartition Class that looks like it would allow you address...
489 replies | 29105 view(s)
-
02-21-2021, 10:35 AM
@KurtE
You just knew I had to download your changes to test MTP with MSC (UsbMscFat).
Anyway hooked up my SSD and low and behold it showed up in MTP and was able to do several things:
1. Copy files from the SSD...
899 replies | 64653 view(s)
-
02-21-2021, 10:11 AM
Morning again - can't sleep so catching up
As for restarting. I did close and reopen the IDE but didn't disconnect the Teensy which was probably the issue - didn't even cross my mind to unplug it.
Probably a...
76 replies | 1450 view(s)
-
02-21-2021, 10:02 AM
Morning @KurtE
Sorry I didn't get to this yesterday - still recovering a bit and had another distraction.
I agree with 100%. For the things that you described those are the things that should/could be...
5 replies | 119 view(s)
-
02-21-2021, 01:14 AM
This is the latest version that I am working with and should give you everything you need: https://github.com/wwatson4506/Ra8876LiteTeensy, for the RA8876
2 replies | 77 view(s)
-
02-20-2021, 10:20 PM
@wwatson
Just downloaded UsbMscFat and so far examples working a couple different devices I tried - 32 thumb drive, SD Card in adapter and a SSD drive. Here some info from one of the examples:
init time: 1341 ms
...
489 replies | 29105 view(s)
-
02-20-2021, 09:54 PM
For comparison in the sketch I was using I have slightly different timing for messages: heartbeat = 1Hz (think this interval is fixed), AHRS (roll, pitch, yaw, rotation rates) every 100ms, GPS (lat, long, vel, alt,...
9 replies | 1877 view(s)
-
02-20-2021, 09:34 PM
@KurtE
My suggestion would be that if it is a specific library related issue it should be on the appropriate thread. For instance if LittleFS is formatting correctly or not recognizing a flash chip it would go on...
5 replies | 119 view(s)
-
02-20-2021, 04:09 PM
ok - as shown didn;t really work for me - but then I really have no idea with Linux so just used gedit to create the file. Restarted and it now works with serial monitor as you said.
Maybe Paul can add it to list of...
76 replies | 1450 view(s)
-
02-20-2021, 03:46 PM
@KurtE
getting an error when I try to execute your first line:
ubuntu@ubuntu:~$ /etc/udev/rules.d$ cat 99-hidraw-permissions.rules
bash: /etc/udev/rules.d$: No such file or directory
EDIT: never mind figured...
76 replies | 1450 view(s)
-
02-20-2021, 02:59 PM
@KurtE
Not to the serial monitor.
Either output to textEditor or directly into the IDE window - depending which I had selected (active). But I did get output even when I had keyboard printing.
Have to go finish...
76 replies | 1450 view(s)
-
02-20-2021, 02:40 PM
Can confirm that the app works with 20.04.02LTS.
Tried the same sketch as @KurtE and when I selected Serial+Keyboard... did get out on the Serial monitor.
76 replies | 1450 view(s)
-
02-20-2021, 01:51 PM
Of course
But just remembered the password when I was setting up with the new version :) Getting the updates now.
76 replies | 1450 view(s)
-
02-20-2021, 01:37 PM
Installing fresh Ubuntu on my PI now to see what happens. Using 20.04 LTS instead. Looked like 20.10 support ends april 2021. Using the Raspberry Pi imager then will do the updates.
And before you ask why fresh -...
76 replies | 1450 view(s)
-
02-20-2021, 04:16 AM
Well using the Arduino IDE I just compiled your sketch with no errors or warnings.
I am assuming you have to select Teensy 4 in platformIO so only other thing is are you sure you are compiling for Teensy 4. ...
6 replies | 126 view(s)
-
02-20-2021, 03:51 AM
It sounds like PlatformIO is using an old version of the Servo library. I don't use PlatformIO so you may what to report it to them.
You might try downloading the latest and greatest Servo library from PJRC and...
6 replies | 126 view(s)
-
02-20-2021, 03:43 AM
First nice job Brian on the Mavlink wrapper - have to look at it more if I get back to mavlink :)
@mar to your question - not really sure what happened to the references I used but I do remember it was quite a bit of...
9 replies | 1877 view(s)
-
02-18-2021, 10:54 PM
Evening @KurtE
Just downloaded you latest and greatest and gave it a try. Worked like a charm just as you described it in your post! Of course it was on a Windows 10x64 machine :)
899 replies | 64653 view(s)
-
02-18-2021, 01:27 PM
Sounds like you are talking about the old windows defrag idea or propabably format unused?
899 replies | 64653 view(s)
-
02-18-2021, 12:28 PM
@defragster
Just did the code compare and looks good for NAND. See there are 2 constructors now for blockisBlank in NAND.cpp and that was it for the changes in NAND.cpp. Other than I had some Serial prints...
830 replies | 24616 view(s)
-
02-18-2021, 12:19 AM
@defragster- @KurtE
NAND Branch if I remember correctly was incorporated into LittleFS packaged with beta6, so that should be the latest. I will take a look and let your know.
The only change is to blockisBlank...
830 replies | 24616 view(s)
-
02-16-2021, 02:52 PM
Morning @KurtE
Just gave new branch a try with LowLevelFormat on the 64MB flash, seemed to format faster:
CMD: 100f(FORMAT_STORE)l: 20 T:3a : 5 0
MTPD::formatStore called post:0
Format Callback: store: 4 p2:0
Low...
899 replies | 64653 view(s)
-
02-16-2021, 01:02 AM
Just found this in the latest F9P manual for UBX-CFG-MSG:
So I think it depends on the protocol version that your UBLOX GPS is running. So I think to be more accurate you are going to have to deal with cases where...
124 replies | 27415 view(s)
-
02-15-2021, 10:50 PM
You might try looking at this: https://www.techiedelight.com/trim-string-cpp-remove-leading-trailing-spaces/
3 replies | 138 view(s)
-
02-15-2021, 10:46 PM
No haven't see that as of yet. Haven't played with GPS except for Ardusimple RTK which doesn't use that in its setup.
Think you probably would need a firmware upgrade to your existing GPS units to go to that point.
124 replies | 27415 view(s)
-
02-15-2021, 10:30 PM
Afternoon all
Just downloaded the latest and greatest. Just formatted a 64MB Flash and works much better with the device busy. I do get the format complete window right away and not after complete - don't know if...
899 replies | 64653 view(s)
-
02-15-2021, 03:06 PM
More Info
If I do a lowlevel format of flash6:
MTP_test
sd_addFilesystem: 0 20003510 RAM1 0
RAM Storage 0 RAM1 199936 512
sd_addFilesystem: 1 200035d8 RAM2 0
RAM Storage 1 RAM2 3999744 4096
sd_addFilesystem: 2...
899 replies | 64653 view(s)
-
02-15-2021, 02:52 PM
Tried doing a 'r' a couple of times didn't work for me. Usually closing and reopening Explorer did. Seemed had to wait a while after all the debug messages completed, close and reopen explorer and then was able to...
899 replies | 64653 view(s)
-
02-15-2021, 01:47 PM
64MB QSPI FLASH:
Did a lowlevelFormat on the 64MB FLASH:
MTPD::formatStore called post:0
Format Callback: store: 0 p2:0
Low Level Format: QSPI post: 0
RESP:2001(RSP:OK)l: 20 T:1e : 1 0
MTPD::formatStore called...
899 replies | 64653 view(s)
-
02-15-2021, 01:14 PM
I ran into a similar problem when using a RA8875/6 displays. Solution was to use a Powered USB3 Hub and no issues. As @tonton81 mentioned did you try a USB3 port?
15 replies | 448 view(s)
-
02-15-2021, 01:01 PM
Just gave a LowLevelFormat of the 1G flash and same thing happens as did on the 8MB flash. The 1G shows RED in Explorer.
Interesting thing is that if I try to send a file to the 2G NAND i getting a device busy:...
899 replies | 64653 view(s)
-
02-15-2021, 12:43 PM
Good Morning All
I went back and retested the 8MB Flash and found a few interesting things.
f
Quick format of LittleFS disks selected
CMD: 100f(FORMAT_STORE)l: 20 T:8 : 2 0
899 replies | 64653 view(s)
-
02-15-2021, 12:24 PM
@defragster
Same here when I first tried it but then figured it out.
'f' toggles the type of format you want to do - quick or lowlevel. Then when you right click on the drive in Windows explorer you see "Format" on...
899 replies | 64653 view(s)
-
02-14-2021, 11:58 PM
@KurtE
Well I think good news.
With a file on a 8MB flash I did a "quick format" and it seemed to work. When I went look at the directory after the quick format file was not there and was able to copy another...
899 replies | 64653 view(s)
-
02-14-2021, 03:27 PM
Morning @KurtE
I usually use the https://www.adafruit.com/product/757, logic level converter:
Guess it really depends on what you want to really use it for. The BSS138 I think is a low-voltage/low-current. Read...
2 replies | 97 view(s)
-
02-14-2021, 01:52 PM
Morning
Just saw the post. When you use setRowCol you need to do it right at the beginning of the sketch when you do your initialization:
// Or use this initializer (uncomment) for Some 1.44" displays use different...
5 replies | 133 view(s)
-
02-13-2021, 11:28 PM
A couple things.
Before doing a drawNumber you need to tell it what datum you want to use via a
setDatum(Datum)
Where Datum goes from 0-8. Datum has the following definitions:
//These enumerate the text...
5 replies | 133 view(s)
-
02-13-2021, 03:10 PM
Ok this seems to work but just hangs the Teensy:
void deviceFormat(){
LittleFS *lfs = nullptr;
SDClass *sfs = nullptr;
// first dump list of storages:
uint32_t fsCount = storage.getFSCount();...
899 replies | 64653 view(s)
-
02-13-2021, 02:29 PM
Ok tried this which almost works. Except that it drops through selecting device without waiting for the input. But the second wait for input seems to work:
void deviceFormat(){
LittleFS *lfs = nullptr;
...
899 replies | 64653 view(s)
-
02-13-2021, 01:35 PM
@KurtE - @defragster
Just gave @KurtE's formating a try with the 64MB and nothing happened. Then I gave @defragsters a try and it worked on the 64MB chip which was unformatted .
Think the issue is going to be if...
899 replies | 64653 view(s)
-
02-13-2021, 12:53 PM
Depends on what you mean to similar to. There are several breakout boards for the T4.0 on Tindie available from what I saw.
TallDog has a board that several of us tested:...
5 replies | 266 view(s)
-
02-13-2021, 01:26 AM
I was just looking at that myself until I got distracted. As usual.
Was thinking about a sketch for Initial format like EraseEverything sketch for SerialFlash. So on initial use you do the formatting (Low Level or...
899 replies | 64653 view(s)
-
02-12-2021, 11:54 PM
WOW. Think @defragster kept telling us to do a lowlevel format. I'm pretty sure I have did that unless something got corrupted.
Just did a low level format on the 64MB flash and that seemed to clear the problem up!...
899 replies | 64653 view(s)
-
02-12-2021, 11:30 PM
Out of frustration I just tried to send the workshop.pdf file over pdf and it failed there as well.
SendObjectInfo: 1 4294967295 20002e00: 0 3000 0 87b999 3000 0 0 0 0 0 0 0 0 0 0 : workshop.pdf
RESP:2001(RSP:OK)l:...
899 replies | 64653 view(s)