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
    872
    Views
    119,643

    "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...
  2. Replies
    872
    Views
    119,643

    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...
  3. Replies
    872
    Views
    119,643

    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...
  4. Replies
    872
    Views
    119,643

    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...
  5. Replies
    872
    Views
    119,643

    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....
  6. Replies
    872
    Views
    119,643

    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...
  7. Replies
    19
    Views
    909

    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...
  8. Replies
    19
    Views
    909

    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...
  9. Replies
    19
    Views
    909

    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.
    ...
  10. Replies
    19
    Views
    909

    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?
  11. Replies
    19
    Views
    909

    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:
    ...
  12. Replies
    19
    Views
    909

    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...
  13. Replies
    19
    Views
    909

    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...
  14. Replies
    45
    Views
    2,150

    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...
  15. Replies
    45
    Views
    2,150

    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...
  16. Replies
    45
    Views
    2,150

    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.
    ...
  17. Replies
    45
    Views
    2,150

    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...
  18. Replies
    45
    Views
    2,150

    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...
  19. Replies
    45
    Views
    2,150

    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...
  20. Replies
    45
    Views
    2,150

    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?
    ...
  21. Replies
    45
    Views
    2,150

    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...
  22. Replies
    45
    Views
    2,150

    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...
  23. Replies
    16
    Views
    1,165

    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...
  24. Replies
    16
    Views
    1,165

    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.
    ...
  25. Thread: GUI interface

    by bvernham
    Replies
    13
    Views
    1,795

    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? ...
  26. Replies
    872
    Views
    119,643

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

    Yes, I use it exclusively for my teensy 4.1 application.
  27. Replies
    966
    Views
    135,907

    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...
  28. Replies
    966
    Views
    135,907

    Needed to edit boards.txt.

    Needed to edit boards.txt.
  29. Replies
    98
    Views
    9,660

    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.
  30. Replies
    98
    Views
    9,660

    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...
  31. Replies
    966
    Views
    135,907

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

    Issue fixed.

    Missed modifying boards.txt.

    Thanks

    Bruce
  32. Replies
    0
    Views
    263

    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...
  33. Replies
    872
    Views
    119,643

    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...
  34. Replies
    872
    Views
    119,643

    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...
  35. Replies
    872
    Views
    119,643

    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...
  36. Replies
    872
    Views
    119,643

    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...
  37. Replies
    872
    Views
    119,643

    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;
    ...
  38. Replies
    872
    Views
    119,643

    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.
  39. Replies
    872
    Views
    119,643

    #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...
  40. Replies
    872
    Views
    119,643

    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...
  41. Replies
    13
    Views
    1,089

    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...
  42. collect2.exe: error: ld returned 1 exit status

    Never mind....fixed my one problem.

    Thanks


    Bruce
  43. Replies
    6
    Views
    415

    For your reference. Brue

    For your reference.

    Brue
  44. Replies
    6
    Views
    415

    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
  45. Replies
    6
    Views
    415

    #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
  46. Replies
    13
    Views
    1,089

    Got it, thanks!

    Got it, thanks!
  47. Replies
    6
    Views
    415

    Does ofstream in SDFat work with Fat32

    I have used SDFat with Fat and ofstream with never a hick up.

    Try to copy the same code to the Teesnsy 4.1 and nothing.

    I can open, read/write flawlessly with File32 (for some reason when I...
  48. Replies
    13
    Views
    1,089

    Thanks for the clarification. What version of...

    Thanks for the clarification.

    What version of Arduino IDE and Teensyduino are you using?

    Thanks
  49. Replies
    13
    Views
    1,089

    Unfortunately I am one of those heathen Windows...

    Unfortunately I am one of those heathen Windows people so I need to modify the cores as in the GitHub Page?

    When I flash the code to I select MTP in the Serial drop down?

    Thanks for the help.
    ...
  50. Replies
    13
    Views
    1,089

    PS I am running Arduino IDE 1.8.15 and...

    PS I am running Arduino IDE 1.8.15 and Teensyduino 1.5.4 Beta 9 so I am interested to understand what Teensy4,1 core changes are necessary.

    I did find the github page but I am not sure what is...
Results 1 to 50 of 153
Page 1 of 4 1 2 3 4