Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: WMXZ

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    229
    Views
    2,525

    Yes, the possible usage (e.g. multiple disk on...

    Yes, the possible usage (e.g. multiple disk on USB hub) may need more careful thinking
    Question: Is the file system capable of handling multiple disks (i.e. not using global variables)?
    for uSDFS...
  2. Replies
    229
    Views
    2,525

    Concerning Multiple partition, IFAIK these must...

    Concerning Multiple partition, IFAIK these must also be enabled inside ffconf.h (part of uSDFS)
    maybe
    #define FF_MULTI_PARTITION 1 (line 184 or so)
  3. Replies
    11
    Views
    1,243

    NO, the teensy are made such that all foreseen...

    NO, the teensy are made such that all foreseen functionality is available without HW mods.
    what I mean is that your VREF generation must tace of the existing connection to VDD. Not really sure, if...
  4. Replies
    11
    Views
    1,243

    concerning external VREF if you look into...

    concerning external VREF
    if you look into schematic https://www.pjrc.com/teensy/schematic.html you will see that VREF is already connected to 3.3V. So, by program VREF to use 'external' puts it to...
  5. Replies
    10
    Views
    211

    the '8' seen in the T3.5 data where indeed the...

    the '8' seen in the T3.5 data where indeed the 4th bit, and it was indeed HW, but a contact issue of the sd card holder and not the T3.x board or the processor.
    (It was a fresh T3.5 never used since...
  6. Replies
    10
    Views
    211

    SDHC has it own DMA (which according to Bill...

    SDHC has it own DMA (which according to Bill Greiman is not working ?)
    The original (non T4) version is also using internal DMA,
    continue to look into
  7. Replies
    10
    Views
    211

    First observations: Using CardInfo start of...

    First observations:

    Using CardInfo
    start of program and first sector with T3.5 reads


    Initializing SD card...Wiring is correct and a card is present.

    Card type: SDHC
  8. Replies
    10
    Views
    211

    OK, I tried Cardinfo.ino with T3.6 and SD...

    OK,
    I tried Cardinfo.ino with T3.6 and SD library (I was working with) it worked.
    T3.5 failed:

    Will investigate
  9. Replies
    11
    Views
    176

    @defragster, what is the suggested solution? I...

    @defragster, what is the suggested solution?
    I remember myself that once or twice, when I plugged in a teensy (3.6?), it automatically reprogrammed.
    May it be that the initial speed negotiation...
  10. Replies
    24
    Views
    220

    But without any statistical significance (sample...

    But without any statistical significance (sample size 1)
  11. Replies
    229
    Views
    2,525

    the QUIT code is in GitHub code ...

    the QUIT code is in GitHub code

    logger_RawWrite_FS.ino is rather new and should stimulate testing the different FS used with Teensy
  12. Replies
    24
    Views
    220

    Could not deduce that from OP

    Could not deduce that from OP
  13. Replies
    24
    Views
    220

    Would add: check also all pin connections for...

    Would add: check also all pin connections for hair bridges
  14. Thread: Emmc

    by WMXZ
    Replies
    9
    Views
    150

    correct the max value should be used for...

    correct
    the max value should be used for estimating the minimum Teensy buffer size required for (drop-free) RealTime logging
  15. Thread: Emmc

    by WMXZ
    Replies
    9
    Views
    150

    So concern is the mechanical connection of uSD...

    So concern is the mechanical connection of uSD card holders? If so, consider soldering directly some wires between T3.6 uSD Card holder and standard uSD Adapter. You cab easily fix the uSD Card in...
  16. Replies
    229
    Views
    2,525

    For completeness, see also my post...

    For completeness, see also my post https://forum.pjrc.com/threads/55821-USBHost_t36-USB-Mass-Storage-Driver-Experiments?p=205971&viewfull=1#post205971 for syncing T$ with PC
  17. Replies
    229
    Views
    2,525

    The examples\ logger_RawWrite_FS has routines...

    The examples\ logger_RawWrite_FS has routines that allow rtc_sync with "__rtc_localtime" symbol that must be added to build command

    PS: will be on the road for a couple of days
  18. If you wanted to add new descriptor see for...

    If you wanted to add new descriptor see for example https://forum.pjrc.com/threads/26024-Adding-a-new-USB-type
    if you to modify a descriptor this thread gives you also what you need to know
    caveat:...
  19. Replies
    229
    Views
    2,525

    Suggest to rename the directory in MSC form MSC...

    Suggest to rename the directory in MSC form MSC to src and to add the two library files (.jason and .properties) so one can it clone directly into Arduino/libraries (the examples directory goes one...
  20. AFAIK, there is more to adding new USB device...

    AFAIK, there is more to adding new USB device than adding text to usb_desc.h
    In the forum, some years ago, there was an example on how to add own devices
  21. Replies
    2
    Views
    48

    which means your app is not working properly on...

    which means your app is not working properly on Windows
    (teensy des not know anything about host computer)
  22. Replies
    229
    Views
    2,525

    @wwatson, @mjs513, @defragster Somewhat OT if...

    @wwatson, @mjs513, @defragster
    Somewhat OT
    if you have exhausted the USB disks available for testing, I put another test program to GitHub that I plan to use for testing all common FS and Disk...
  23. Replies
    229
    Views
    2,525

    Some explanations, I declared the buffer as...

    Some explanations, I declared the buffer as uint32_t to have it word aligned, even if disk i/o is done in multiple of 512 bytes.

    The original idea of the logger_RawWrite was to get a feeling on...
  24. Replies
    229
    Views
    2,525

    Thanks, updated code on GitHub

    Thanks, updated code on GitHub
  25. Replies
    229
    Views
    2,525

    Not sure what is going on, the logger examples...

    Not sure what is going on,
    the logger examples does run for a long time, so created new test version with shorter execution time (on GitHub)
    ( only 1 file with 2 records)
    it stops regularly and T$...
  26. Replies
    229
    Views
    2,525

    I had a similar end with T$, but after using the...

    I had a similar end with T$, but after using the MSC_V3.zip version (but TD USBHost_t36) the program moved on and finished correctly.
    Not sure how to best synchronize all activity
    Maybe one could...
  27. Replies
    229
    Views
    2,525

    I may add a better write error (say how many...

    I may add a better write error (say how many records are already written)
    along the line

    Serial.printf(" write FR_DISK_ERR at count #%d\n",count);
  28. Replies
    229
    Views
    2,525

    I let you the mods and PR

    I let you the mods and PR
  29. Replies
    229
    Views
    2,525

    Got it IMO, the line must read for...

    Got it
    IMO, the line must read

    for (count=((len-1) >> 14); count; count--) {

    for 16k and smaller there should be no additional transaction
  30. Replies
    229
    Views
    2,525

    Yes, All tests, where system hangs, are done with...

    Yes, All tests, where system hangs, are done with true USB memory sticks. uSD card with uSD-USB adapter worked without problems.
    USB memory sticks where also very slow (As you noticed)
    ...
  31. Replies
    229
    Views
    2,525

    I have only T$ with USBHost possibility ...

    I have only T$ with USBHost possibility

    concerning my hang
    maybe it has something to do with USBHost::queue_Data_Transfer


    // last qTD needs info for followup
    data->qtd.next = 1;...
  32. Replies
    229
    Views
    2,525

    Here is a typical hang Test logger_RawWrite...

    Here is a typical hang

    Test logger_RawWrite
    2:/
    USB2 PLL running
    reset waited 6
    USBHS_ASYNCLISTADDR = 0
    USBHS_PERIODICLISTBASE = 20014000
    periodictable = 20014000
    port change: 10001803
  33. Replies
    4
    Views
    126

    as @defragster noted comment is for teensy...

    as @defragster noted comment is for teensy programming and not for Linux.
    On a Win PC (I do not use Linux) you have to select the Teensy Audio device (Open Sound Settings) to listen to teensy
  34. Replies
    229
    Views
    2,525

    Does it work or not?

    OK,
    I have following observation
    8 GB Transcend formatted exFAT (with Win10)
    use program logger_RAWWrite from uSDFS/examples

    case 1: BUFFSIZE 8*1024 -> program blocks
    case 2: BUFFSIZE 2*1024...
  35. Replies
    229
    Views
    2,525

    @mjs513, thanks, now it is running through ...

    @mjs513, thanks, now it is running through

    USB2 PLL running
    reset waited 6
    USBHS_ASYNCLISTADDR = 0
    USBHS_PERIODICLISTBASE = 20003000
    periodictable = 20003000
    port change: 10001803
    ...
  36. Replies
    4
    Views
    126

    USB Audio works perfectly! be aware, that you...

    USB Audio works perfectly!
    be aware, that you
    a) must configure Audio in USB type (or Serial-Midi-Audio, if you wanted to have Serial)
    b) you need a dummy ADC interface (input or output; any other...
  37. Replies
    229
    Views
    2,525

    So I got me a Transcend 8GB stick (FAT32...

    So I got me a Transcend 8GB stick (FAT32 formated)
    with debug on and program (#58) I get the following

    USB2 PLL running
    reset waited 6
    USBHS_ASYNCLISTADDR = 0
    USBHS_PERIODICLISTBASE =...
  38. Replies
    229
    Views
    2,525

    I further updated ff.c to include all ff.c...

    I further updated ff.c to include all ff.c patches by Elm Chan
  39. I would start with Files-> Examples -> SD->...

    I would start with
    Files-> Examples -> SD-> Cardinfo
    check if
    const int chipSelect = BUILTIN_SDCARD;

    obviously you need Tools-> Board: Teensy 3.6
  40. Replies
    229
    Views
    2,525

    Was typical cut/paste error (jet-lag), corrected...

    Was typical cut/paste error (jet-lag), corrected now

    @wwatson, is there a github or new zip file with latest MSC?
  41. The use the build-in card you either use...

    The use the build-in card you either use "BUILTIN_SDCARD" which IS defined if you use the correct SD library
    If you insist to use the SPI interface then you must do a little bit more:
    switch SPI...
  42. Replies
    229
    Views
    2,525

    To facilitate rc=xx understanding, I added error...

    To facilitate rc=xx understanding, I added error strings to uSDFS.h (latest gitgub version)
  43. Replies
    229
    Views
    2,525

    It seems the Win10 Format does not anymore...

    It seems the Win10 Format does not anymore introduce MBR (which is used by ff.c)
    you need official SD Formatter (see also my reply to @KurtE)
  44. Replies
    229
    Views
    2,525

    You may wanted to try this sketch #include...

    You may wanted to try this sketch

    #include "uSDFS.h"
    #include "diskio.h"
    /*
    * for APL see http://elm-chan.org/fsw/ff/00index_e.html
    */
    #define TEST_DRV 2
    //
    #if TEST_DRV == 0
  45. Replies
    2,969
    Views
    341,060

    I did another update of uSDFS to reduce the...

    I did another update of uSDFS to reduce the compiler warnings.

    For what I'm concerned concerning MSC-USBHost (USB disks) there seems to be some instabilities.
    In other words, Teensy does not...
  46. Replies
    229
    Views
    2,525

    One thing I noticed, that Win10 exFAT formatting...

    One thing I noticed, that Win10 exFAT formatting did dot work here. used the SDFormatter (the official one) and it worked.
    Reason (I believe) is that Win10 does not add a boot-record anymore,...
  47. Replies
    2,969
    Views
    341,060

    Next of my update will have this too.

    Next of my update will have this too.
  48. Replies
    2,969
    Views
    341,060

    Well, I added typedef bool boolean; into...

    Well, I added typedef bool boolean; into MSC\MassStorage.h, as I did not know how many booleans @wwatson is using in his code.

    concerning MSC library location, I have it in my local...
  49. Replies
    2,969
    Views
    341,060

    with new MSC SW this is what I get Test uSDFS...

    with new MSC SW this is what I get

    Test uSDFS
    2:/

    Change drive

    Create a new subdirectories.

    Create a new file /Ascii/HELLO13.TXT.
  50. Replies
    2,969
    Views
    341,060

    NO you dont't copy the diskio et al. files over...

    NO you dont't copy the diskio et al. files over from MSC library to uSDFS.
    the uSDFS diskio.c is already prepared for MSC. copying could impact spi and usdhc functionality

    concerning your...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4