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. Replies
    15
    Views
    373

    Note: mine is sort of a mess to read: 26270 My...

    Note: mine is sort of a mess to read:
    26270
    My screwed up one is up at: https://github.com/KurtE/Teensy3.1-Breakout-Boards/tree/master/MicroMod
    Should update with my WIP...


    One signal that...
  2. Replies
    15
    Views
    373

    Sorry again I am not much of a hardware expert. ...

    Sorry again I am not much of a hardware expert. But do dabble with my own stuff.

    If it were me (and it was earlier with my own board...) I would try to do things like Measure voltages and the...
  3. Replies
    15
    Views
    373

    For what it is worth, I made a prototype, with a...

    For what it is worth, I made a prototype, with a Micro-B USB connection and switched to USB host setup closer to Teensy, although my first prototype has some issues, including
    I screwed up with the...
  4. Just pushed up changes to the USB_MTP-logger...

    Just pushed up changes to the USB_MTP-logger sketch and changes within MTP code for how the code is handling knowing a USB drive comes on line or goes away.
    It is now processing both.

    It is now...
  5. Good luck, sounds like you are busy! With the...

    Good luck, sounds like you are busy!

    With the startup sequence of things, I want to do some experiments, on the startup code, to see what might work best.

    In the USB_MTP-logger sketch, need to...
  6. Looks like you have had some fun. Have not...

    Looks like you have had some fun. Have not gathered much yet this year as still have several racks of wood from previous years. Plus don't trust self with large chain saws ;) Plus my body hurts more...
  7. Quick update: I was running into an issue where...

    Quick update: I was running into an issue where the Index list was built, and it started filling in the file index number starting right after the current number storage objects numbers... Then USB...
  8. Yes the Linux side is getting better, especially...

    Yes the Linux side is getting better, especially after Paul pointed the USB Interface data to the string MTP...

    Pushed up another change, to the date time stuff for Ubuntu. Not ideal, but not...
  9. Warning: As I mentioned: So far an experiment. ...

    Warning: As I mentioned: So far an experiment. Will see what Paul thinks and still a WIP. But I think it is coming along. Fixed a few issues running with UBUNTU today, still a few more things I...
  10. I just pushed up some fixes/enhancements to the...

    I just pushed up some fixes/enhancements to the MSC integration stuff.

    This includes updating the USB_MTP-logger sketch that the names of the MSC objects displayed on MTP are based off of volume...
  11. @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...
  12. 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,...
  13. 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...
  14. 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...
  15. 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...
  16. Replies
    6
    Views
    304

    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...
  17. 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...
  18. 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
    ...
  19. Replies
    22
    Views
    590

    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:...
  20. Have you looked at:...

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

    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%...
  22. 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...
  23. :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,...
  24. Fixed the T3.x copy issue. Can post additional...

    Fixed the T3.x copy issue. Can post additional information if interested.
  25. 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...
  26. 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...
  27. 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...
  28. Replies
    19
    Views
    500

    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...
  29. @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...
  30. 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...
  31. 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...
  32. Replies
    3
    Views
    128

    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...
  33. 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...
  34. 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.
    ...
  35. 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...
  36. @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...
  37. 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..
  38. 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...
  39. 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...
  40. 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...
  41. Yes that is in the...

    Yes that is in the https://events.static.linuxfound.org/images/stories/pdf/lceu11_munegowda_s.pdf
  42. 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...
  43. Replies
    2
    Views
    143

    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...
  44. 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 =...
  45. 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...
  46. 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...
  47. 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...
  48. 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...
  49. 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...
  50. 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.
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4