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

Search:

Type: Posts; User: defragster

Page 1 of 10 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    5
    Views
    44

    As indicated the T_3.2 Serial USB normal...

    As indicated the T_3.2 Serial USB normal interface can reach 1 MB /second - with reliable communication to a host computer: Windows/Mac/Linux can all handle that in Serial Monitor.

    They can get a...
  2. Replies
    5
    Views
    44

    IIRC correctly - been some time since reading...

    IIRC correctly - been some time since reading RawHID posted notes ... or Python ...

    RawHID may be 1ms clocked for 512bit packets giving MAX 512Kb/sec is 64 KB /sec
    > See post #4 - 64 Byte packets...
  3. Replies
    24
    Views
    222

    Since the flexible PCB is dual sided - according...

    Since the flexible PCB is dual sided - according to the last image - adding GND as appropriate (whatever that might be) would make sense.

    The pic in p#22 shows that GND and 3.3V were not taken...
  4. Replies
    15
    Views
    221

    TyCommander is the coolest thing about Teensy...

    TyCommander is the coolest thing about Teensy that PJRC doesn't do - @koromix made an awesome tool!

    Keeping the IDE active and usable fits the forum and being ready for Paul's Beta stuff. But...
  5. Replies
    24
    Views
    222

    That T_4.0 breakout is a nice unit - though Paul...

    That T_4.0 breakout is a nice unit - though Paul made the T_4.1 so quickly ...
    Tindie pics don't show the flexible PC in full light:
    25461
    It is nicely flexible and good enough for reliable 480...
  6. Replies
    15
    Views
    221

    Have you tried GUI TyCommander? { mentioned p#4...

    Have you tried GUI TyCommander? { mentioned p#4 } Not sure it is perfect in this case - but it is generally, and has features that might work with states 1 and 3.

    #1 >> Send / Send File :: might...
  7. Replies
    6
    Views
    3,233

    :cool: ... Just wanted to be sure it covered the...

    :cool: ... Just wanted to be sure it covered the issue as observed. That 'updates' thread is hard to find, have to search "web site" not "website" even when you "KNOW" that thread exists :(

    That...
  8. Replies
    6
    Views
    3,233

    Is this linked page where the doc needs an...

    Is this linked page where the doc needs an update: pjrc.com/threads/60862-Web-site-could-use-a-few-updates-)
    >>"Teensy LC & 3.x support the analogWriteFrequency(pin, frequency) function to easily...
  9. Replies
    15
    Views
    221

    Started a post to note NOEXEC ... See :...

    Started a post to note NOEXEC ...

    See : {install}\hardware\teensy\avr\cores\teensy4\startup.c :: FLASHMEM void configure_cache(void)
    >> It associates cache and sets usage restrictions.

    The...
  10. Replies
    24
    Views
    222

    Don't forget to account for the SMD part between...

    Don't forget to account for the SMD part between the pad sets - unless that is going to be removed - it won't allow the flexible PCB to lie flat.

    @loglow/TallDog used a flexible PCB for the Teensy...
  11. Replies
    23
    Views
    3,733

    This from last edit 6 months back - this works...

    This from last edit 6 months back - this works when getFreeITCM() called from the linked setup() to Set a pointer to FREE RAM in the ITCM section - and get the size of that 'orphaned' area.

    ...
  12. Replies
    4
    Views
    181

    Sparkfun does have a Forum -...

    Sparkfun does have a Forum - https://forum.sparkfun.com/viewforum.php ... PROCESSOR BOARDS - but last look (again now) did not show any entry yet for 'Teensy MicroMod' processor board. { :( }
    ...
  13. Replies
    7
    Views
    125

    Not mentioned which Teensy #.#? Problem is...

    Not mentioned which Teensy #.#?

    Problem is likely the Teensy is so fast it saturates the USB line faster than the Serial Monitor can hope to display.

    Replace loop() with this::


    void loop()...
  14. Replies
    23
    Views
    3,733

    Great - That works without problem. ...

    Great - That works without problem.




    T:\tCode\Memory\T4MemInfo\T4MemInfo.ino Jul 29 2021 14:45:17
    _stext 00000000
    _etext 00006158 +24920b
    _sdata 20000000
    _edata ...
  15. Replies
    23
    Views
    3,733

    Copied new memInfo () code and it still faulting...

    Copied new memInfo () code and it still faulting here ???

    Indeed :: extern "C" uint8_t external_psram_size;
  16. This external ref device isn't providing...

    This external ref device isn't providing appropriate signal it seems.

    If the Teensy hasn't been damaged then the Post #2 Self Reference code from PWM would be a safe input - or run that from a...
  17. Replies
    23
    Views
    3,733

    @jcw - made sketch below and it hits CrashReport...

    @jcw - made sketch below and it hits CrashReport - and the ELF search worked to show line #47 - in RED. And printing stop short of that line?
    Running on a T_4.1 with twin PSRAM's.

    @Paul: Good...
  18. Replies
    23
    Views
    3,733

    Seems as a macro the data will be a STATIC...

    Seems as a macro the data will be a STATIC allocation, and then code to pass the resulting data pointer to the Audio system?

    It does indeed do the alloc from DMAMEM/RAM2: {local...
  19. Replies
    13
    Views
    129

    That would probably catch one common conflict -...

    That would probably catch one common conflict - does NoAudioInterrupts() go NULL when Audio isn't included in a sketch? Or would that pull in the Audio lib to get that?

    I started an Integrity...
  20. There are nice quality Low Profile headers...

    There are nice quality Low Profile headers @somebody linked and ProtoSupplies did a bulk order and has them :

    25401

    protosupplies.com/product/header-set-low-profile-1x14-breakaway-gold-4-pack/...
  21. Replies
    13
    Views
    129

    That seems likely :(

    That seems likely :(
  22. Replies
    29
    Views
    529

    Indeed @jcw that is the case. Also note post...

    Indeed @jcw that is the case.

    Also note post #17 code adds CrashReport - that didn't catch anything.

    But when one of those loops was first copied with changes [ and not resetting buffer_ptr :(...
  23. Replies
    29
    Views
    529

    Changing the p#17 RED code as follows gives...

    Changing the p#17 RED code as follows gives similar clocks value as while()



    T:\tCode\FORUM\GPIOreadPort\GPIOreadPort.ino Jul 29 2021 00:55:33
    9232 >> while
    9252 >>for
    9251 >>for ii * ...
  24. Replies
    29
    Views
    529

    Was wondering how 1024 port reads could complete...

    Was wondering how 1024 port reads could complete in 87 cycles??? Didn't catch the dual print on one line. So was playing with the code.

    That and the OP ref to 50 clocks per read is NOT at Teensy...
  25. Replies
    29
    Views
    529

    @KurtE has summarized pin info here :...

    @KurtE has summarized pin info here : github.com/KurtE/TeensyDocuments

    And PJRC schematic here gives it visually: pjrc.com/store/teensy41.html#tech
  26. Thread: c++17

    by defragster
    Replies
    9
    Views
    1,305

    Have seen other notes about swapping in alternate...

    Have seen other notes about swapping in alternate newer toolchain - maybe one on the linked thread - differs with platformIO .vs. Arduino building. And yes last one read said some files need to be...
  27. Replies
    13
    Views
    129

    Didn't see this asked before :( - not sure of an...

    Didn't see this asked before :( - not sure of an answer ... seems something complex needing tested ???

    Most of the testing done was on non SPI devices - ( though QSPI may have same concern? ) and...
  28. For an external trigger the interrupt pin should...

    For an external trigger the interrupt pin should be INPUT

    Well that got rid of the multiple hits per rising pin for sure :(

    To slow things down try : analogWriteFrequency(3,1000);

    Check the...
  29. Replies
    13
    Views
    129

    Yes. delete this from your system : Used:...

    Yes.
    delete this from your system : Used: C:\Users\jim\Documents\Arduino\libraries\SdFat

    Using TeensyDuino 1.54 includes the recent and fitting copy of SdFat
  30. Replies
    29
    Views
    529

    If the pins to be used fit in a port then reading...

    If the pins to be used fit in a port then reading that returns a 32 bit value of ALL pins on that port.

    The useful pins could be extracted and saved in a byte at the time- which you may not have -...
  31. Thread: c++17

    by defragster
    Replies
    9
    Views
    1,305

    latest comment on toolchain update was here :...

    latest comment on toolchain update was here : pjrc.com/threads/66738-to_string()-doesn-t-work

    Then commentary on the value/risks 3 posts later ...
  32. Seems the "dsb" help reduce the follow on repeat...

    Seems the "dsb" help reduce the follow on repeat calls?

    Try replacing the external input pin with code by @manitou


    analogWriteFrequency(3,100000);
    analogWrite(3,128);
    ...
  33. This should be an input: pinMode(InterruptPin,...

    This should be an input: pinMode(InterruptPin, OUTPUT);

    Not sure how that would affect the pin setup and response.
  34. Posting a complete sketch that will repro to...

    Posting a complete sketch that will repro to would show more - what pins and other code ... and allow others to confirm/test/modify.

    It isn't uncommon for an _isr() to double in cases - but a...
  35. USB Serial buffer size on T_4.0 is not likely the...

    USB Serial buffer size on T_4.0 is not likely the issue. It has some (8?) KB available that is sufficient to handle multiple 512B messages.
  36. Replies
    9
    Views
    115

    Is TeensyDuino 1.54 in use? If so post a link...

    Is TeensyDuino 1.54 in use?

    If so post a link to actual code in use - maybe use some of the standard TEST sound files and confirm.

    Starting with the Tutorial examples to learn the ropes and see...
  37. Replies
    14
    Views
    276

    Great you got to a solution! Reply a bit short...

    Great you got to a solution!
    Reply a bit short as was time to go offline here when posted - you found the Nice example of ... SdFat_Usage.ino

    PJRC hasn't committed to Arduino V2 AFAIK ... but...
  38. Replies
    14
    Views
    276

    From deleted post: Multiple libraries were...

    From deleted post:


    Multiple libraries were found for "SdFat.h"
    Used: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SdFat



    TD 1.54 also integrated SdFat into use wrapped by...
  39. Replies
    14
    Views
    276

    Not indicated what Teensy model #.# ?? The...

    Not indicated what Teensy model #.# ??

    The only model with real cache is T_4.x and all RAM1 code and Data are full speed not cached - only RAM2/DMAMEM goes through cache
  40. Just opened the code to see the macros ... I...

    Just opened the code to see the macros ...

    I build with IDE rules ... usually with command line from Sublimetext ... so not sure I'd try to build ... not sure of the code requirements of purpose...
  41. Replies
    968
    Views
    64,959

    Cool - the Kinivo like the PANBT400 AMZN links...

    Cool - the Kinivo like the PANBT400 AMZN links are still valid and both working is good.

    AMZN doesn't indicate one of the Kinivo was delivered here though.

    As far as @kdharbert question on...
  42. Replies
    7
    Views
    219

    Nice work showing usage of :...

    Nice work showing usage of : cppreference.com/w/cpp/types/offsetof

    Not used that before - but seemed ordering in a struct could lead to ability of the compiler to resolve offsets without 'messy...
  43. Just pulled a copy of the code - not scanned...

    Just pulled a copy of the code - not scanned before - indeed the LOG_... macros look quite extensive in HAPLogging.*! And useful when(while) the requested info actually results in usable DEBUG...
  44. Looking at the code this: // Handle input...

    Looking at the code this:


    // Handle input from serial monitor
    while(Serial.available() > 0) {

    Will take Terminal or Serial Monitor input from the USB Serial port and act on it to change...
  45. Interesting - some bad stuff happened to stop USB...

    Interesting - some bad stuff happened to stop USB and loop() it seems - seeing the interval timer _isr() LED explains it not faulting.
    > most common cause of USB stoppage is writing beyond end of an...
  46. Replies
    7
    Views
    219

    Like float, an 'int' is 32 bit? To be sure user...

    Like float, an 'int' is 32 bit? To be sure user int32_t. If everything is 4 bytes it will stack okay.

    Offhand ... without seeing the whole of the usage needs ... not sure of a neat way that...
  47. Okay, good luck. p#3 suggested " intervalTimer...

    Okay, good luck.

    p#3 suggested " intervalTimer to Toggle " LED = if it was in loop() then that was still running - suggest something is trashing USB Stack if that stops.

    Using the intervaltimer...
  48. That is a new feature AFAIK brought in with the...

    That is a new feature AFAIK brought in with the change to SdFat inclusion and indeed @PaulStoffregen did well to exemplify its usage.

    Hope it helps.
  49. Comforting ... but disturbing to have the blink...

    Comforting ... but disturbing to have the blink ...

    Not sure what _isr() looks like for the blink. Sounds like it is working as intended.

    Again, the watchdog code was not suggesting you needed...
  50. Replies
    5
    Views
    115

    The pjrc.com site for the REV D Audio board the...

    The pjrc.com site for the REV D Audio board the T_4.1 needs shows the required pins for given functions.

    It will use the i2c pins to start the audio chip. But the SPI pins for SD card and memory...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4