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

Search:

Type: Posts; User: KurtE

Page 1 of 10 1 2 3 4

Search: Search took 0.05 seconds.

  1. @Paul, @wwatson @mjs513 and all... Would be...

    @Paul, @wwatson @mjs513 and all...

    Would be nice to get rid of that code, that runs in loop, to say did something change...

    If I were doing this just for me, I would tend to create a new...
  2. I just pushed up changes to the USBHost branch...

    I just pushed up changes to the USBHost branch and the MTP_Teensy.

    Where my code that says maybe up to two drives and 5 file systems,...

    The code is now setup and after the drive is claimed,...
  3. Good to hear. So far that is mostly all of...

    Good to hear.

    So far that is mostly all of your stuff moved around. Does not have the glue in that one, to hopefully activate a partition once the drive is there.

    I have code now that I am...
  4. Right now I am sort of playing with the code and...

    Right now I am sort of playing with the code and experimenting of moving most of the code into USBHost.

    @Paul - I am experimenting with moving all of the USBHost code into src directory, which...
  5. Again DiskIO looks like some very interesting...

    Again DiskIO looks like some very interesting stuff, that I would like to play with more. I can imagine both LittleFs and SD could be a challenge, if the desire to automatically detect different...
  6. Replies
    5
    Views
    150

    Actually: tft.updateScreen does not update the...

    Actually: tft.updateScreen does not update the screen using DMA, think of it like a call to writeRect with a bitmap the size of the screen. So it is going to stay in this code however long it takes...
  7. If it were me, I would probably go into...

    If it were me, I would probably go into LittleFS.cpp and uncomment some of the Serial.print statements in the begin method and see
    if it is finding data or not...

    Maybe it is finding it is a...
  8. Not sure on if the question is using MTP or...

    Not sure on if the question is using MTP or not... But with MTP you could do something like:

    #include <SD.h>
    #include <LittleFS.h>
    #include <MTP_Teensy.h>

    #define DBGSerial Serial
    ...
  9. Replies
    22
    Views
    534

    Again don't use Mac much... but assuming it is...

    Again don't use Mac much... but assuming it is like linux... when you type: arm-none-eabi-addr2line
    it looks on the path to find the executable. You need to give it a full path like:...
  10. Have you looked at:...

    Have you looked at: https://en.wikipedia.org/wiki/Game_port
  11. Replies
    22
    Views
    534

    Sorry I don't use my mac much, but on my machine...

    Sorry I don't use my mac much, but on my machine I found something at : hardware\tools\arm\bin\arm-none-eabi-addr2line

    Did not try it, Mac just rebooted, battery down to 0... now up to 1%...
  12. Good Morning all including Paul, mjs513, wwatson...

    Good Morning all including Paul, mjs513, wwatson ... : (maybe) Probably afternoon by the time I type this ;)
    Sorry in advance it probably will be reasonably long.

    Now that a lot of the FS only...
  13. :D - Mine normally only takes a week to get here...

    :D - Mine normally only takes a week to get here from CO :) Wonder why yours took so long. And when I purchased my first MMod found I did not have any of the right cables... Only had ones for IPAD,...
  14. Fixed the T3.x copy issue. Can post additional...

    Fixed the T3.x copy issue. Can post additional information if interested.
  15. Obviously Paul, can give you a lot more...

    Obviously Paul, can give you a lot more information, although not sure about AVR or STM32...

    But I know that for T4 and T4.1 Paul has setup a few beta boards with a beta version firmware and...
  16. Paul, back to MTP on T3.x and transfer of files. ...

    Paul, back to MTP on T3.x and transfer of files.
    For the heck of it I tried updating the descriptor to have TX and RX on different end points... Did not help...

    Right now the code for T3.x...
  17. Sorry, sometimes this stuff can be a pain in the...

    Sorry, sometimes this stuff can be a pain in the ...

    That is why most of my flexIO system code includes debug stuff, like:

    // Lets print out some of the settings and the like to get idea of...
  18. Replies
    19
    Views
    387

    Might help to know what setup you are using.......

    Might help to know what setup you are using.... And software.
    That is if you re using for example SDFat directly and before current beta Teensyduino... Dates/times you need extra stuff in your...
  19. @Paul It would be interesting to see if you have...

    @Paul It would be interesting to see if you have any ideas on the T3.x MTP USB code.

    As we mentioned when we do a send object to the save a file out... It appears like we may lose a packet or...
  20. Actually I am pretty sure there is some form of...

    Actually I am pretty sure there is some form of corruption going on in the T3.6 when calling off to a file (SD/SDFat), where the write actually does a write.
    Up till then I think it has a data...
  21. Good Morning all (at least for a little more...

    Good Morning all (at least for a little more time):

    I have been doing some testing on T3.6 with MTP code. Setup with T3.6 and Rev D Audio board (yes wrong one), but only using it for SPI and...
  22. Replies
    3
    Views
    100

    Might help to know more information, like what...

    Might help to know more information, like what does not allow you to choose a port?

    The Arduino IDE? Which version? Which version of Teensyduino do you have installed?
    Download of the current...
  23. Sorry, I have not fully read through the code or...

    Sorry, I have not fully read through the code or the like, but I get the impression, like your switch statement, that maybe your cases have multiple ones that could be true and if so that it always...
  24. I am not sure... As I mentioned there are a few...

    I am not sure... As I mentioned there are a few cases where formtting with change from Fat to ExFat for ExFat to Fat...

    Although not sure how much sleep to lose over some cases like this.
    ...
  25. 4. As I mentioned in a different post, we could...

    4. As I mentioned in a different post, we could extend our begin like:

    bool begin(uint8_t csPin = 10, uint32_t maxSpeed=SD_SCK_MHZ(16), uint8_t opt=0, SPIClass & spi) {
    From this we can generate...
  26. @mjs513... @Paul ... Pushed up MTP changes for...

    @mjs513... @Paul ... Pushed up MTP changes for format.

    Works better now with LittleFS and smaller SD drives... Still more testing on that.

    Also wondering at the SD.format()...

    Currently I...
  27. I would say at this point, hopefully good enough....

    I would say at this point, hopefully good enough. If we run into issues later could always revisit..
  28. Quick update on the FreeSectorcount stuff... ...

    Quick update on the FreeSectorcount stuff...

    Did second PR: https://github.com/PaulStoffregen/SdFat/pull/2

    Used the FSCache.clear() method, which if dirty tries to sync it out and then gives...
  29. I sent you a PR with your code merged in to...

    I sent you a PR with your code merged in to replace the free cluster count...

    Could maybe do things like, grab the cache buffer to use instead of stack space...

    I think 25mhz would be fine for...
  30. Paul, I will take a look. Should be...

    Paul,

    I will take a look. Should be reasonably simple as similar to the stuff for MSC, where we added the Read multiple sectors with CB...

    The other option I wondered about with the block...
  31. Yes that is in the...

    Yes that is in the https://events.static.linuxfound.org/images/stories/pdf/lceu11_munegowda_s.pdf
  32. Yes - could at some point become an issue. Not...

    Yes - could at some point become an issue. Not sure of things like MSC reads in blocks:

    // Read Sectors (Multi Sector Capable)
    uint8_t msController::msReadBlocks(
    const uint32_t...
  33. Replies
    2
    Views
    117

    You can use the NVIC_SET_PRIORITY(irqnum, value)...

    You can use the NVIC_SET_PRIORITY(irqnum, value)
    calls to control the priority of the interrupts. The lower the number the higher the priority.
    I believe all default to 128. You can set any value...
  34. Sounds good... Actually sounds like what we added...

    Sounds good... Actually sounds like what we added to USBMSCFat (MSC) code in the PFSVolume code...

    Where we were calling:

    succeeded =...
  35. Paul: was wondering if there was a reason, that...

    Paul: was wondering if there was a reason, that SD.format() is not simply:

    bool SDClass::format(int type, char progressChar, Print& pr)
    {
    return sdfs.format(&pr);
    }


    Which internally I...
  36. Might help to have some additional information. ...

    Might help to have some additional information.
    Things like:
    What version of Teesnyduino are you running?
    What version of Mac are you running?
    What version of Mac OS are you running?
    Any...
  37. By all I assume the smaller buffer like up to 16...

    By all I assume the smaller buffer like up to 16 sectors worth?

    As on my 32GB SD card: Sectors Per Fat: 7633 which comes out to almost 3908096 bytes of data...
  38. Will test more tomorrow. I have 5 more...

    Will test more tomorrow.

    I have 5 more micoSD cards arriving I think Tuesday. A 3 pack of 34GB a 64GB and a 128GB...

    If I integrated some of these functions and plan to use them I would...
  39. Thought I would play a little more with that test...

    Thought I would play a little more with that test sketch for free space, and also brought in from the PFSLib code we have to
    be able to read and write the information sector to try to get the...
  40. I have not used RTTI was back on bigger machines...

    I have not used RTTI was back on bigger machines like > 20 years ago... So a bit rusty.
  41. Some of these changes may not be overly...

    Some of these changes may not be overly substantial, like cherry picking some features/issues that are really hurting some things, and fix those. Those chould not be overly difficult to then be able...
  42. Replies
    975
    Views
    50,134

    Sorry I have not played much with this library......

    Sorry I have not played much with this library... So hopefully Frank or Tim will take a look.

    I do see one issue:
    Currently in header file there is:

    #if !defined(ARDUINO_TEENSY40) &&...
  43. Did a little playing with Free Cluster count. On...

    Did a little playing with Free Cluster count. On big external...
    Thought I would play in case the DEDICATED turns into another Rabbit hole :D

    Example sketch:

    // List files, format, list...
  44. Quick update on DEDICATED... Note I hacked my...

    Quick update on DEDICATED... Note I hacked my format sketch some, to create a couple of files and then do an LS then wait for you to hit enter... does format and LS again...

    All without SD...
  45. That was what I was noticing as well. When I...

    That was what I was noticing as well. When I suggest meybe we should change the SD.begin()

    To be more like:

    bool begin(uint8_t csPin = 10, uint32_t maxSpeed=SD_SCK_MHZ(16), uint8_t opt=0,...
  46. Paul, it will interesting. What is totally...

    Paul, it will interesting. What is totally unclear to me is if the DEDICATED will then not set/clear the CS pins when the SD is in use or just sets it low at begin and assumes it has full use of...
  47. Run with Paul's code on 32gb samsung card... ...

    Run with Paul's code on 32gb samsung card...

    Initializing SD card...Free Cluster Count: 976978 dt: 7167
    2021-01-01 00:00 11 File0
    2021-01-01 00:00 11 File1
    2021-01-01 00:00 ...
  48. Thought I would take a minor diversion from this...

    Thought I would take a minor diversion from this part of the problem and look at the SD.transfer stuff mentioned on the issue: Here is the class definition for the SPI wrapper.

    Paul, I am going to...
  49. @Paul/@mjs513 I pushed up first version hack...

    @Paul/@mjs513 I pushed up first version hack wrapper class of SD object. Where for both Format and usedSize I try to go into DEDICATED mode...

    Not working yet, but in case you are interested. ...
  50. I thought you might like that... SDMTPClass, I...

    I thought you might like that...
    SDMTPClass, I left as I thought I might use it as an experiment like:

    class SDMTPClass : public SDClass {
    public:
    uint64_t usedSize();
    bool format(int...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4