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

Search:

Type: Posts; User: fab672000

Search: Search took 0.00 seconds.

  1. Replies
    15
    Views
    338

    What I always recommend to beginners especially...

    What I always recommend to beginners especially in c/c++ languages is to _always_ initialize the variables they create

    scriptRec *scriptHead = NULL;
    scriptRec *scriptTail = NULL;

    , this is...
  2. Replies
    15
    Views
    338

    Typically when you get to this kind of trouble...

    Typically when you get to this kind of trouble the problem lies somewhere else in your code that where you currently focus:
    the pointer assignment is obviously not the root cause of the crash, ...
  3. Replies
    15
    Views
    338

    Apart from the fact that this example will not...

    Apart from the fact that this example will not return NULL as you test with 'string' not 'String', and assuming that:
    1. you handle the NULL case properly in your original code
    2. if you return a...
  4. Replies
    15
    Views
    338

    Stack and heap memory usually share in the same...

    Stack and heap memory usually share in the same ram memory space on microcontrollers (not talking about additional spi ram/flash memory here), so allocating data on the heap would still not convince...
  5. Makefiles are evil to me, what do you...

    Makefiles are evil to me, what do you specifically need to change all the time directly in the Makefile that you could not do elsewhere ?
    I would encourage luni to contribute to bigger tools in the...
  6. So I think you want to use code like below : the...

    So I think you want to use code like below : the idea is to test is a boolean flag (i.e.: my_resource_ready ) is true and early bail out if not which will cause the next thread to be executed so very...
  7. You should probably try it now, it is updated...

    You should probably try it now, it is updated regularly and very powerful, what specifically does not fit your need?


    Now that explains better why you started this, but I think new users should...
  8. Also using PlatformIO, (which also has...

    Also using PlatformIO, (which also has infrastructure for unit tests development BTW), why reinventing this, did I miss something there ?
    https://platformio.org/install/ide?install=vscode
  9. @Torsten it should be possible with the use of...

    @Torsten it should be possible with the use of semaphores, of course also there (see lock, unlock, try_lock):
    just interlock the producer and consumer of your resource.
  10. Replies
    37
    Views
    2,986

    About sensing too, USB power detection option...

    About sensing too, USB power detection option (get a 3.3v level out of the VUSB maybe add a small mosfet there?).
    About smart power switching maybe also add space for very small MBR120VLSFT1G diodes...
  11. Replies
    28
    Views
    5,188

    @PaulStoffregen Any update ?

    @PaulStoffregen Any update ?
  12. Replies
    28
    Views
    5,188

    Can we order them from paul now, despite not...

    Can we order them from paul now, despite not showing up on the current bootloaders webpage, if not when can we expect them for sell?
  13. Replies
    5
    Views
    735

    Tried everything I could to repair one of my two...

    Tried everything I could to repair one of my two teensy 4.1 i received a while ago. One of them worked fine the other one only worked once, even then when i could program it ; it was actually real...
  14. Teensy boards servicing Manuals(or sheets)

    Hi, recently I received a board that missed one capacitor, and that made me think that it would be great if we could have a BOM/PCB Fab overlays helping us to service and replace components on the...
  15. Replies
    37
    Views
    2,986

    Context: As many of you know, it is possible...

    Context:
    As many of you know, it is possible to debug those 32-bit teensies by soldering on the bootloader chip (i.e.kinetis kl02z) derivations for SWD (DIO, CLK, RESET) pins and then just set the...
  16. Replies
    797
    Views
    41,031

    That's fine if there is a 10 days or so delay,...

    That's fine if there is a 10 days or so delay, I'm sure I won't be finished with my new Kicad designs I started just after I was aware of that new board, as that should greatly simplify my current...
  17. Replies
    797
    Views
    41,031

    Well too bad for me and great for the testers of...

    Well too bad for me and great for the testers of this batch, thanks for your reply and long life to 4.1, again another beautiful board.
    Thank you for your sustained efforts, today I only use teensy...
  18. Replies
    797
    Views
    41,031

    @Franck B :I know thanks, but if there is some...

    @Franck B :I know thanks, but if there is some stock left of beta ones, I would be interested to get some of them for my lab use, as every buck counts when you spend on pcb's and various parts ...
  19. Replies
    797
    Views
    41,031

    I'm not on the list but would love to test these...

    I'm not on the list but would love to test these pre-production boards early too for my current more challenging musical pcb projects, I would offer easily $10 for each of these beta boards too if it...
  20. Replies
    7
    Views
    1,771

    Just analyzed this code this morning, it just...

    Just analyzed this code this morning, it just sends a 32 bit value to usb and that's what is called by the usb midi send(...) method and also all sysex sending code.
    I personally would not use this...
  21. Until you get an external power supply ; it does...

    Until you get an external power supply ; it does not really matter if you connect to VUSB or VIN as they are connected, you get more than enough power from VUSB to feed the entire board and USB...
  22. It all depends on your design choice, my form...

    It all depends on your design choice, my form factor and enclosure does not easily allow for an extra panel mount like this so i preferred to reuse my pcb USB connector.
    Frankly, the increased T4.0...
  23. No you can't without a workaround (see mjs513...

    No you can't without a workaround (see mjs513 suggestion), that's what I realized at my expense as DP and DM are USB host *only*, not USB device.
    Using the second USB midi port was what I was...
  24. Just had a quick look now and after analysing...

    Just had a quick look now and after analysing from:

    usb_midi_class usbMIDI;
    Then looking inside the class and following for sending only already:
    usb_midi_class define in a send() method that...
  25. Very interesting (because i would prefer a...

    Very interesting (because i would prefer a software fix, and also because it potentially gives the possibility of having an extra usb port for debug serial use ) ,

    Would the USB characteristics...
  26. Now that is a much better workaround in my use...

    Now that is a much better workaround in my use case, so that I can keep my small form factor originally planned that way and wire my pcb connector.
    Thanks a lot for sharing this mjs513.
  27. True and I read that too, but I was thinking...

    True and I read that too, but I was thinking originally that it could fullfill both host and device functions, which it does but simply not the D+/D- signal pads which I did not know were actually...
  28. Was thinking about this adapter too and this is...

    Was thinking about this adapter too and this is probably the easiest way to work this around.

    Thanks a lot for your feedback defragster + tele_player, I certainly have learned a lot on this board...
  29. USB2 (480Mbps) can also work on USB-B connectors...

    USB2 (480Mbps) can also work on USB-B connectors right? so I don't see yet why it would not be be possible to interconnect the microUSB connector with a second (tougher) USB-B connector?
    I don't...
  30. Yes, thanks at least that confirms why it does...

    Yes, thanks at least that confirms why it does not work!
    Do I need to unsolder the microUSB port to get this build working with USB-B then?
  31. Teensy 4.0 external USB-B connector: board D+ D- pads not connected to microUSB ?

    Hi Paul,

    First of all, thanks for these great boards you developed, I bought two 4.0's and I enjoy very much the MIDI functionality on them (using latest 1.49 beta 3) !

    Context:
    Enthusiastic I...
Results 1 to 31 of 31