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

Search:

Type: Posts; User: bvernham

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    886
    Views
    123,769

    I think what I have going is much more...

    I think what I have going is much more complicated that what you need to roll with.

    I am handling DBC files with up to 83 messages and 400 ish signals for each buss.

    I can share some ideas if...
  2. Replies
    886
    Views
    123,769

    That is why I developed both packages. Depends...

    That is why I developed both packages.

    Depends if you want resident Ethernet or not.

    Teensy 4.1 has 100 mbs ethernet on board also the SDIO micro SD card is a tiny more stable then having to...
  3. Replies
    886
    Views
    123,769

    I have two sets right now. In on combination I...

    I have two sets right now. In on combination I do not get USB communication with one of them. If I swap the Micromod Teensy's around then everything works fine.

    This is definitely a connector...
  4. Replies
    886
    Views
    123,769

    Yes at > 1000 frames per second (for a stress...

    Yes at > 1000 frames per second (for a stress test of my code) to all 3 busses at the same time.
  5. Replies
    886
    Views
    123,769

    Micromod Teensy and 3 CAN

    I developed a board which uses all 3 CAN controller for the Micromod Teensy with the ATP board.

    26789

    All three controllers work as expected.
  6. Replies
    886
    Views
    123,769

    "I don't know your layout but FIFO occupies by...

    "I don't know your layout but FIFO occupies by default the first 8 mailboxes"

    OK, that make a lot of sense now..... Did not understand that FIFO utilizes mailboxes....I thought they were seperate...
  7. Replies
    886
    Views
    123,769

    Yes both MB and FIFO interrupts are enabled. ...

    Yes both MB and FIFO interrupts are enabled.

    Why would enabling FIFO stop MB from firing? As soon as enable the FIFO the MB stops responding?

    I also tried setting priority to MB but that...
  8. Replies
    886
    Views
    123,769

    Also, do you always need "events"? I only added...

    Also, do you always need "events"? I only added events with FIFO but when only using MB I never had "events" and only had interrupts.

    Does it matter in the order for calling "distribute"? Do you...
  9. Replies
    886
    Views
    123,769

    Yes, I am using distribution() but that does not...

    Yes, I am using distribution() but that does not seem to stop both from firing. PS I do not care of both fire as I am using the FIFO for J1939 network messages only and I am using MB for the full...
  10. Replies
    886
    Views
    123,769

    FIFO Filtering influence on MB Filters

    OK, I have a new one.

    So up to now I have been using MB filtering exclusively but for J1939 Network PGNs you need to mask them for that essentially only the PDU format and data page bits are used....
  11. Replies
    886
    Views
    123,769

    Call back function will fire when interrupt is raised.

    You can set what ever you want in the call back function.

    I use the same call back function for CAN1 to 3 so I have a bit encoded uint8_t that I set and clear the bits based on the state of the...
  12. Replies
    19
    Views
    990

    I am using Arduino 1.8.16/TD1.55 release. SDFat...

    I am using Arduino 1.8.16/TD1.55 release. SDFat from TD1.55 release.

    Time stamp is not the. I am using the Teensy3 call back with no issue.

    Data streaming with 4.1 works all the time....same...
  13. Replies
    19
    Views
    990

    OK so now I seem to be having another problem. ...

    OK so now I seem to be having another problem.

    Same scenario as above. Same SD card. Same code between the

    For the Teensy 4.1 I am always getting data stored.

    For the Micromod with the...
  14. Replies
    19
    Views
    990

    26164 This is what the board lay out in case...

    26164

    This is what the board lay out in case anyone is interested.

    I set up a circular buffer which seems to handle this better.

    Probably will move the 12v line in a new version.
    ...
  15. Replies
    19
    Views
    990

    How do I preallocate when I do not know how big...

    How do I preallocate when I do not know how big the file is?
  16. Replies
    19
    Views
    990

    I ran both the bench and TeensySDIO Demo with...

    I ran both the bench and TeensySDIO Demo with both boards.

    You have to excuse my "duh" moment but I quote # off by 1000...20K KB/set.....is not 20 kb/sec.

    Anyways here are the numbers:
    ...
  17. Replies
    19
    Views
    990

    I am basing by "good" comment based on:...

    I am basing by "good" comment based on:
    https://forum.pjrc.com/threads/57669-SdFat-SDIO-for-Teensy-4-0

    I ran the same sketch and got similar #'s to what was reported in the forum post above.

    I...
  18. Replies
    19
    Views
    990

    Teensy 4.1/Micromod Teensy and SDIO

    So I am running into what I think is a band width limit of streaming raw CAN data to an SD card.

    I am running TD 1.54 release and IDE 1.8.15. SDFat 2.1.0 (latest release)

    I am using micro SD...
  19. Replies
    45
    Views
    2,285

    Well, swapped the the boards and the original...

    Well, swapped the the boards and the original combintation will not communicate. Swap them back and it works fine.

    Seems to be a mechanical interfacing issue between the processor edge connector...
  20. Replies
    45
    Views
    2,285

    Nope, both cables show my phone as a data device....

    Nope, both cables show my phone as a data device.

    Plugged ATP/Teensy Micromod #2 in...no problem.

    Tried reseating the the Teensy in #1 ATP board. Didn't help.

    I swapped the processor...
  21. Replies
    45
    Views
    2,285

    Well I first mentioned this issue on Sparkfun...

    Well I first mentioned this issue on Sparkfun forum.

    I brought this up on this forum to see if there are any other obvious ideas as to what is going on.
    ...
  22. Replies
    45
    Views
    2,285

    As said below i have tried to program it with...

    As said below i have tried to program it with multiple cables but get nothing.

    Hit the boot button just like the Teensy 3/4's and I get nothing happens with Teensy Loader 1.54 and nothing.

    I...
  23. Replies
    45
    Views
    2,285

    Micromod Teensy

    Did it, nothing.

    I have used the Teensy 3's and 4's and never have seen this.

    LED blinks but nothing happens when the boot button is pushed after the programmer pops up.

    Never seen this...
  24. Replies
    45
    Views
    2,285

    OK, finally decided to fire up the ATP board with...

    OK, finally decided to fire up the ATP board with the Teensy processor and no communications.

    Plug it in and get the LED to blink but no USB communications. I tried two USBC cords with work with...
  25. Replies
    45
    Views
    2,285

    Teensy Micromod 3CAN SD

    Well, here is is in all it glory (so to speak) for the Teensy

    26036

    Triple CAN board and SDIO SD (via Adafruit) for the Micromod ATP with the Teensy.

    How the published pinout is correct?
    ...
  26. Replies
    45
    Views
    2,285

    Well, I started with a Teensy 4.1 and build a...

    Well, I started with a Teensy 4.1 and build a board with 3 can TX, 5v PS, some general IO pin break out and UBLOX M8U and BMP380.

    I set up my code to read in a standard DBC file and parse to...
  27. Replies
    45
    Views
    2,285

    Micromod and Micromod Teensy

    So I just received the new Micromod and Micromod Teensy processor and looking through the hookup guide it says:

    Enable (EN) - By default, the EN pin is closed. This jumper is connected to a...
  28. Replies
    16
    Views
    1,214

    Thanks for the reply's. I have asked both...

    Thanks for the reply's. I have asked both Sparkfun and Virtuino and no responses. Frankly this forum is the first place I have seen a response of any type so kudos.

    I am just trying to wrap my...
  29. Replies
    16
    Views
    1,214

    Is using a "String" still a bad idea?

    I have already been told, and read that using a "String" instead of a "string" (char array) in a microcontroller is a bad idea due the indeterminant amount of memory that the "String" will occupy.
    ...
  30. Thread: GUI interface

    by bvernham
    Replies
    13
    Views
    1,839

    One simple question. I have always been...

    One simple question.

    I have always been told/read that using "String" is a bad idea because with any micro controller due to unknown size of the what the string will contain.

    Has this changed? ...
  31. Replies
    886
    Views
    123,769

    Yes, I use it exclusively for my teensy 4.1...

    Yes, I use it exclusively for my teensy 4.1 application.
  32. Replies
    966
    Views
    140,977

    So got it to work as expected. Ran for a while...

    So got it to work as expected.

    Ran for a while then all of a sudden the "loop" function slowed everything to a crawl.

    I was not transferring nor doing anything with the MTP nor any specific...
  33. Replies
    966
    Views
    140,977

    Needed to edit boards.txt.

    Needed to edit boards.txt.
  34. Replies
    98
    Views
    9,903

    Ahh...missed that part. I know I was missing...

    Ahh...missed that part. I know I was missing something from what I did before but thanks for the reminder and quick reply.
  35. Replies
    98
    Views
    9,903

    So I installed the TD1.54 release with the IDE...

    So I installed the TD1.54 release with the IDE 1.8.15. Installed the latest version of the MTP library.

    Made the modification to the core.

    Selected the MTP disk from the pull and...
  36. Replies
    966
    Views
    140,977

    Issue fixed. Missed modifying boards.txt. ...

    Issue fixed.

    Missed modifying boards.txt.

    Thanks

    Bruce
  37. Replies
    0
    Views
    273

    GUI builder with file transfer

    I would like to find a PC GUI builder with bidirectional file transfer to work with my Teesny 4.1 can logger that I have built and written code for.

    Everything is configured form the DBC file...
  38. Replies
    886
    Views
    123,769

    When I parse the DBC file I know what ID's have...

    When I parse the DBC file I know what ID's have PIDS associated with them. If there is more than one ID with PIDS then those are assigned to another set of PIDS.

    The ID are assigned to mail boxes...
  39. Replies
    886
    Views
    123,769

    So I am trying to figure out how to use the...

    So I am trying to figure out how to use the ISO-TP with the present frame work I have.

    I am using the MB filtering to minimize the # of message ID (or a single ID if<60 ID's) that I have to search...
  40. Replies
    886
    Views
    123,769

    Winner winner chicken dinner! Moving the MaxMB...

    Winner winner chicken dinner!

    Moving the MaxMB to after begin did it!!

    0.002171 2 0x18FF1000 8 0x00 0x00 0x01 0x32 0x00 0x00 0x00 0x00...
  41. Replies
    886
    Views
    123,769

    Nope, I was wrong. I was mistaken by the...

    Nope, I was wrong. I was mistaken by the re-flash vs power cycle.

    I flashed with "accept_all" and confirmed all received frames were being accepted in MB 4. I power cycled the the controller and...
  42. Replies
    886
    Views
    123,769

    I see the following new functions (notepad ++...

    I see the following new functions (notepad ++ compare):

    bool error(CAN_error_t &error, bool printDetails);
    Circular_Buffer<uint32_t, 16> busESR1;
    Circular_Buffer<uint16_t, 16> busECR;
    ...
  43. Replies
    886
    Views
    123,769

    For get the previous post. Doesn't matter as...

    For get the previous post. Doesn't matter as soon as I power cycle the controller I do not get a interrupt call back from CAN3....really weird.
  44. Replies
    886
    Views
    123,769

    #define CAN_Clock CLK_60MHz //Enumeration for...

    #define CAN_Clock CLK_60MHz //Enumeration for CAN clock speed.

    How his this done?

    I used "accept_all" to determine is was something with the filter because if I accept all messages are...
  45. Replies
    886
    Views
    123,769

    OK, I have a new one. I have some intermittent...

    OK, I have a new one.

    I have some intermittent glitch in which CAN3 will not receive. I have all 3 CAN controllers receiving the same messages (on the same bus).

    The scenario is that am...
  46. Replies
    13
    Views
    1,121

    teensy41.menu.usb.mtp=MTP Disk (Experimental)...

    teensy41.menu.usb.mtp=MTP Disk (Experimental)
    teensy41.menu.usb.mtpserial.build.usbtype=USB_MTPDISK_SERIAL
    teensy41.menu.usb.mtp.fake_serial=teensy_gateway

    I added the above based on the below...
  47. collect2.exe: error: ld returned 1 exit status

    Never mind....fixed my one problem.

    Thanks


    Bruce
  48. Replies
    6
    Views
    431

    For your reference. Brue

    For your reference.

    Brue
  49. Replies
    6
    Views
    431

    Serial works great! I am talking about writing...

    Serial works great!

    I am talking about writing log files to an SD card.

    Thanks for the help anyways.

    Bruce
  50. Replies
    6
    Views
    431

    #include #include I...

    #include <SdFat.h>
    #include <sdios.h>

    I always include sdio.h.

    Do I need to do both?

    Like I said with the DUE, did the above and work as expected.

    Thanks
Results 1 to 50 of 158
Page 1 of 4 1 2 3 4