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. Good Morning! I have not had a good chance to...

    Good Morning!

    I have not had a good chance to go through all of the code:
    I don't see anywhere that you call attachInterruptVector, but if you did, I would probably make sure all of my interrupt...
  2. Replies
    489
    Views
    29,110

    Good Morning all: Sounds like we have things...

    Good Morning all:

    Sounds like we have things coming along well here, to understand some about partitions and getting the volume label. :D
    But our test has not handled SD Cards with multiple...
  3. Replies
    489
    Views
    29,110

    My exfat was failing as well, will look tomorrow...

    My exfat was failing as well, will look tomorrow unless someone beats me to it.
  4. Replies
    489
    Views
    29,110

    Have Fat16 working I believe at least for USB,...

    Have Fat16 working I believe at least for USB, have not tried with SD yet...

    // VolumeName.ino
    // An example of how to retrieve Fat32 and ExFat volume names using SdFat.
    // Works with SD...
  5. Replies
    489
    Views
    29,110

    Hi @defragster and others... Thought I would...

    Hi @defragster and others...

    Thought I would show so more stuff that is not working :D

    // VolumeName.ino
    // An example of how to retrieve Fat32 and ExFat volume names using SdFat.
    // ...
  6. Replies
    489
    Views
    29,110

    Note: I have been playing some with adding Fat16...

    Note: I have been playing some with adding Fat16 maybe stuff and not finding the VolID...

    Some output currentlly:

    Waiting up to 5 seconds for USB drive
    Initialize USB...
  7. Replies
    489
    Views
    29,110

    @all - Wondering in my above Partition table dump...

    @all - Wondering in my above Partition table dump you see:

    msc1 Partition Table
    part,boot,bgnCHS[3],type,endCHS[3],start,length
    1,0,0x4,0x1,0x4,0xB,0xFE,0xC2,0xFF,2048,8192000...
  8. Replies
    489
    Views
    29,110

    Hi @mjs513, I slightly hacked up your sketch,...

    Hi @mjs513,

    I slightly hacked up your sketch, by moving a lot of it from setup() to loop() with a wait at the end of loop() for user to enter character.

    That way you can hopefully rerun.

    I...
  9. Replies
    489
    Views
    29,110

    @all... I am winding my way through the...

    @all...

    I am winding my way through the different layers and trying to figure out how to get USB Drive partitions to work.

    It might be nice to be able to do something like: today the...
  10. Replies
    489
    Views
    29,110

    Glad you have some building and ready to play :D ...

    Glad you have some building and ready to play :D

    Did not get as much done yesterday, but will now try to see if I can get this MSC volume code and the like to read from all 3 partitions on my USB...
  11. Replies
    489
    Views
    29,110

    Take this with a grain of salt, but what I am...

    Take this with a grain of salt, but what I am planning to look at includes:

    In the sketches we have: msController msDrive1(myusb);

    Each one of these is for a physical USB drive, I believe it...
  12. Replies
    489
    Views
    29,110

    Note: the get volume label code was not working...

    Note: the get volume label code was not working for me as probably timing. My USB is connected through HUB and so takes a bit of time before all of the stuff is setup. So I have it check to make...
  13. Replies
    28
    Views
    3,233

    As far as I know it should work. The code just...

    As far as I know it should work. The code just figures out which Serial port gets passed in to dxlInit:
    void dxlInit(long baud, HardwareSerial* pserial, int direction_pin, int tx_pin, int rx_pin )...
  14. Replies
    21
    Views
    6,329

    Sort of an old thread to resurrect. But by...

    Sort of an old thread to resurrect.

    But by PMs been asked if I could convert the board to Altium... Not sure if you would gain much. The whole design:
    23820

    I did try to export the board...
  15. Replies
    489
    Views
    29,110

    Mtp serial still need the usb_desc.h stuff copied...

    Mtp serial still need the usb_desc.h stuff copied in
  16. Replies
    489
    Views
    29,110

    Thanks @wwatson - tried the sketch, but the two...

    Thanks @wwatson - tried the sketch, but the two drives I tried were exfat... Will try again.

    Thanks for the hints:

    I verified that in my debug outputs, the first calls msReadBlocks is in the...
  17. Replies
    489
    Views
    29,110

    @wwatson @mjs513 and @all - my eyes are mind is...

    @wwatson @mjs513 and @all - my eyes are mind is not seeing some things...

    For example:
    I fixed my USB thumb drive partitions to not use extended partition...
    I turned off USBHost_t36 debug (in...
  18. Replies
    489
    Views
    29,110

    @... I have been playing around and...

    @... I have been playing around and understanding some more with the MSC stuff and partitions...

    If you run the sketch SdInfoUSB it will print the partition table stuff (Block 0).

    My output is...
  19. Replies
    489
    Views
    29,110

    I tried formatting a thumb drive to have 3...

    I tried formatting a thumb drive to have 3 partitions,

    A Fat32 primary
    An extended partition table
    With a secondary partition with Fat16
    and a secondary partition with Fat32

    And my MTP with...
  20. Replies
    489
    Views
    29,110

    @mjs513 an d @wwatson I will try playing some...

    @mjs513 an d @wwatson I will try playing some with that.

    Have anyone tried doing some of the same type tests on thumb drives or the like? I think I will try to partition a test thumb drive and...
  21. Replies
    489
    Views
    29,110

    @mjs513 - Not a problem... Hope not too much...

    @mjs513 - Not a problem... Hope not too much snow! Here it is raining and upper 40s...

    Will play more, but may want to switch gears to see about partitions on USB disks, which is probably more...
  22. Replies
    489
    Views
    29,110

    For the fun of it, I thought I would see if I...

    For the fun of it, I thought I would see if I could get it to read an ExFat one...

    I think this one sort of works for it. Probably a real hack, but...

    When you are dumping out the top...
  23. Replies
    88
    Views
    3,183

    @defragster - Looks great. Interesting with Low...

    @defragster - Looks great. Interesting with Low memory availability messages, I assume they most use a percentage... As 4K free on an LC would be 50% ;)

    I see the changes were pulled in
  24. Replies
    489
    Views
    29,110

    @... @mjs513 - tried you sketch above with a...

    @...

    @mjs513 - tried you sketch above with a few cards. And it looks like it dumps lots of interesting info...

    Tried reformat 32gb SD to exFat. As you mentioned not able to read that data...
  25. Replies
    489
    Views
    29,110

    @mjs513 @wwatson - looks like you are having some...

    @mjs513 @wwatson - looks like you are having some fun. Now to figure out how to integrate this with MTP :D I was happy yesterday to be able to plug in USB drive and it shows up and unplug it and it...
  26. Replies
    899
    Views
    64,655

    I put in a fix for now... Which is during the...

    I put in a fix for now... Which is during the reset when the host asks for Storage IDS, I check to see if the name has been removed and if so it skips that slot...
    So now when I remove the drive it...
  27. Replies
    76
    Views
    1,451

    It appeared to work on my RPI4 with 64 bit......

    It appeared to work on my RPI4 with 64 bit... looked good when I did ls -l /dev/hidr*
    Plus I told it to program the keyboard one which the reboot worked and so did the terminal monitor.

    Thanks...
  28. Replies
    899
    Views
    64,655

    In case anyone wishes to play along. I have...

    In case anyone wishes to play along.

    I have added some code to the MTP-Test with the MSC stuff where your define for including it value > 0 is the Max count of USB drives you wish to use...

    I...
  29. Replies
    899
    Views
    64,655

    Was able to substitute the usage of MSCClass for...

    Was able to substitute the usage of MSCClass for the UsbFs class and that appears to work.

    I just updated my branch (warning left the define = 2, so will require the additional libraries.
    But...
  30. Replies
    899
    Views
    64,655

    Looks like sort of a pain... But you got to to do...

    Looks like sort of a pain... But you got to to do what you got to do :D
  31. Replies
    489
    Views
    29,110

    First attempt is to substitute MSCClass for UsbFs...

    First attempt is to substitute MSCClass for UsbFs and it compiles and runs for 1 item...

    Again hard to know if should talk about it here or MTP or...

    But my MTP test code is setup now like:
    ...
  32. Replies
    489
    Views
    29,110

    As I asked in the MTP thread: My next question...

    As I asked in the MTP thread:

    My next question to self and others maybe other thread
    is to support multiple MSC drives, I was using the global object (MSC) to add the one MSC object as is in the...
  33. Replies
    899
    Views
    64,655

    My next question to self and others maybe other...

    My next question to self and others maybe other thread
    is to support multiple MSC drives, I was using the global object (MSC) to add the one MSC object as is in the FilesUSB object.

    Thought I...
  34. Replies
    6
    Views
    163

    I wonder if maybe you may want to play around...

    I wonder if maybe you may want to play around with the different pin configurations information like speed, or drive strength...
    i.e. look at the RM for the different IOMUXC_PAD_ values like DSE,...
  35. Replies
    899
    Views
    64,655

    Now hopefully will get a little time to play a...

    Now hopefully will get a little time to play a little more and see about defining multiple MSC objects.

    Also see about them coming and going... Sort of along the line of SD card being inserted.
    ...
  36. Replies
    88
    Views
    3,183

    Decided to go ahead and check the other two...

    Decided to go ahead and check the other two regions as well and error out.

    Also print out message... Feel free to change anything :D

    23791
  37. Replies
    88
    Views
    3,183

    I submitted a PR for first pass: I have an...

    I submitted a PR for first pass:

    I have an RA8876... test sketch that did a picture embed. That compiled fine with PROGMEM defined, but if as I have now, commented that out, it errors out the...
  38. Replies
    76
    Views
    1,451

    Sounds good, For the fun of it you might try...

    Sounds good,

    For the fun of it you might try a simple on your machine like: grep hidraw /etc/udev/rules.d/*
  39. I took a look and there were a few things I...

    I took a look and there were a few things I changed and it now does not crash :D

    In the file RF24.h
    The SPIClass object I don't initialize in header as you are doing it in constructor:

    ...
  40. Replies
    88
    Views
    3,183

    Thanks, Will play soon, trying to help...

    Thanks,

    Will play soon, trying to help someone update the RF24 library right now to handle multiple SPI ports.
  41. Replies
    88
    Views
    3,183

    I will take a look, I remember from my other...

    I will take a look,

    I remember from my other size program based off of Franks stuff (https://github.com/KurtE/imxrt-size)
    simply returned -1 from main which caused the build to error out.
  42. Replies
    489
    Views
    29,110

    @mjs513 and @wwatson @wmxz @paul - That is why I...

    @mjs513 and @wwatson @wmxz @paul - That is why I started playing and why I started that other thread. Sometimes hard to know what is going to happen when you try to integrate several of these...
  43. Replies
    88
    Views
    3,183

    Looking good, I will have to try it out. ...

    Looking good, I will have to try it out.

    Wondering, In my size program I put check in for in your case free for local variables if it <=0 the program returns an error status

    don't see it in...
  44. Another issue came up today in the thread:...

    Another issue came up today in the thread: https://forum.pjrc.com/threads/66335-MTP-dependency-issues-w-Teensy-3-6-and-SDFat-2-0-4?p=270956&viewfull=1#post270956

    in there he is trying to enable...
  45. Replies
    489
    Views
    29,110

    I have done a little playing here with the...

    I have done a little playing here with the MTP-test to add an MSC drive. I turned it off by default as you need to install the libraries mentioned here.

    I also did a Pull Request to change the...
  46. Replies
    899
    Views
    64,655

    @WMXZ - I have a package coming from digikey with...

    @WMXZ - I have a package coming from digikey with some more external sdcard units... For the fun may play with a few, probably won't get up to 6.
    And yes you would need to hook up extra pins for...
  47. Sorry, I am not sure if the main owner @WMXZ of...

    Sorry, I am not sure if the main owner @WMXZ of the library has looked at Unicode stuff yet.

    I will try to take a quick look, but busy playing with other stuff :D
  48. Have you looked at using the Adafruit library? ...

    Have you looked at using the Adafruit library? Adafruit_SSD1306

    One of it's constructors:

    Adafruit_SSD1306(uint8_t w, uint8_t h, TwoWire *twi = &Wire,
    int8_t rst_pin =...
  49. @mjs513 - I totally agree that in many cases...

    @mjs513 - I totally agree that in many cases posting to a thread specific to a library for something specific to that library...

    But was wondering where for example would be a good place to post...
  50. Hard to say without looking through all of the...

    Hard to say without looking through all of the changes.

    And checking any other places that do something funky...

    You might try embedding a copy of your current library changes. Could zip...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4