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. Alternate to wire for T_3.x is i2c_t3 , but not...

    Alternate to wire for T_3.x is i2c_t3 , but not updated for 1062 based Teensy.

    It has this not in the .h:


    //...
  2. Sticky: Which Teensy? 3.x or 4.x? {local...

    Which Teensy? 3.x or 4.x?

    {local install}\hardware\teensy\avr\cores\teensy4\usb_joystick.h

    {local install}\hardware\teensy\avr\cores\teensy3\usb_joystick.h:
  3. Replies
    938
    Views
    53,868

    @Paul - just recalled a historical note that some...

    @Paul - just recalled a historical note that some idea for LFS to have a way to emulate 'perhaps' some 'SerialFlash' type storage files? i.e. direct access to sequential blocked files ???
    > seems...
  4. Indeed it does - was just getting there. p#1 and...

    Indeed it does - was just getting there. p#1 and p#4 variant both work debug and normal fastest.

    I started with p#6 - can't get that resolved for working hook()'s ... even moving the init_array()...
  5. Thread: GPS and DMA

    by defragster
    Replies
    3
    Views
    89

    There are add memory to Serial functions that can...

    There are add memory to Serial functions that can provide a local buffer to extend the GPS Rx and the HC-06 Tx.

    How big and how often if the GPS incoming message?

    If the serialEvent() funcs are...
  6. @chipaudette ... Don't recall anything going by...

    @chipaudette ... Don't recall anything going by that seems related?

    There was a general startup issue addressed in TD 1.54 regarding cache or other configuration that causes weird hangs where the...
  7. Saw the second go by but didn't look at that. I...

    Saw the second go by but didn't look at that. I wasn't feeling up to doing the buffer math and trusting that it might help without drops or dupes of chars.

    Picked the path posted and got proper...
  8. Indeed - T_4.1 is mentioned (a bit low) in p#51...

    Indeed - T_4.1 is mentioned (a bit low) in p#51 and #52 to which p#53 refers - as was attempted in prior posts - but the posted speeds are only possible on T_4.x.

    The point was to stress the Host...
  9. Replies
    938
    Views
    53,868

    The SerialFlash was specifically coded to avoid...

    The SerialFlash was specifically coded to avoid overhead - all blocks sequential and no FS overhead - just minimal linkage.

    Not surprising on SPI it will suffer more overhead with LFS at slower...
  10. @PaulStoffregen > Code in p#51 shows good perf...

    @PaulStoffregen
    > Code in p#51 shows good perf and no loss of USB data or Host data corruption
    > Notes in p#52 offers details

    It seems overwhelming the OUTPUT is filling ALL USB buffers? The...
  11. FASTER write throughput, and NO HOST breakage with output wait in while()

    Updated CODE in prior post #5.
    Added count of the repeats of:


    while ( Serial.availableForWrite() < 132 ) {
    Serial.flush();
    //delayMicroseconds(25);
    cntW++;
    ...
  12. As noted - the problem is on the 'Host' side with...

    As noted - the problem is on the 'Host' side with send rates it isn't capable of keeping up with. When the device properly constrains the rate of output - the host receives the USB certified data.
    ...
  13. For easy 4 Hz count this example looks like a...

    For easy 4 Hz count this example looks like a good start: pjrc.com/threads/48101-PMT-pulse-counting-using-Teensy-3-2

    You can ignore the priority setting if some nanoseconds doesn't hurt.
  14. Replies
    938
    Views
    53,868

    @Sandro - seems good to me to post that here -...

    @Sandro - seems good to me to post that here - use case and perf data.
    Did I miss what Teensy ... ah T_4.1 ... and what Flash media/interface?
  15. Installed HTerm - short learning curve - nice...

    Installed HTerm - short learning curve - nice features - like RCV CNT. Works okay against T_3.2.

    HTerm chokes against the T_4.1 - like IDE and TyComm - after 164040 chars last time ... even added...
  16. @Frank - is this H-Term as in use there? ::...

    @Frank - is this H-Term as in use there? :: https://www.der-hammer.info/pages/terminal.html

    The only recurring issue I find in Teensy is trying to trust 'Serial.availableForWrite()' to show...
  17. Odd - I didn't see it 'halt before 9999' the...

    Odd - I didn't see it 'halt before 9999' the first couple times I ran it ... maybe the port is getting tired :)
    > scanning 9999 lines is not fast/fun :(

    Both TyComm and IDE:teensy_ports? : and as...
  18. Using TyCommander as SerMon code below sends...

    Using TyCommander as SerMon code below sends perfectly displayed data from a T_3.2:


    T:\tCode\Serial\SerSpeed\SerSpeed.ino Aug 2 2021 01:32:23
    starting with Serial.availableForWrite() 64...
  19. Wonder if some odd number use might explain the...

    Wonder if some odd number use might explain the Zero temp @mjs513 showed in a CrashReport w/final beta and one here showed a version of NAN on restart.
  20. This reply from other thread - second of two ...

    This reply from other thread - second of two ...
  21. Replies
    11
    Views
    178

    And if there are large segments of code used only...

    And if there are large segments of code used only on startup() - or rarely - and losing DTCM were a problem - that code can be kept in FLASH with FLASHMEM

    If using current TD 1.54 the (near)...
  22. Replies
    94
    Views
    8,786

    You'd have to look at the...

    You'd have to look at the unused_interrupt_vector() code in startup.c - and what leads to it.

    To get CrashReport the fault handling was altered for TD 1.54 - not sure but seems that might be...
  23. Replies
    94
    Views
    8,786

    was an 8 second pause after the caused fault and...

    was an 8 second pause after the caused fault and then a restart seen?

    TD 1.54 added : if ( CrashReport ) Serial.print( CrashReport );

    That comes from info saved in unused_interrupt_vector()
    ...
  24. Replies
    40
    Views
    255

    This was done during Paul's pjrc teensy_sermon...

    This was done during Paul's pjrc teensy_sermon testing against the 10+MB T_4.x
  25. Replies
    40
    Views
    255

    The p#21 github linked Teensy code runs against...

    The p#21 github linked Teensy code runs against SerMon for just a visual integrity test.

    Run that code on T_3.2 against SerMon - then slow it down to the data rates needed in the use case at hand...
  26. Replies
    40
    Views
    255

    This was the REF code for Teensy unconstrained...

    This was the REF code for Teensy unconstrained print to test computer reception speed with USB serial:

    github.com/PaulStoffregen/USB-Serial-Print-Speed-Test

    Not seeing it run now but seems each...
  27. Replies
    40
    Views
    255

    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...
  28. Replies
    40
    Views
    255

    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...
  29. Replies
    25
    Views
    304

    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...
  30. Replies
    21
    Views
    313

    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...
  31. Replies
    25
    Views
    304

    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...
  32. Replies
    21
    Views
    313

    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...
  33. Replies
    6
    Views
    3,272

    :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...
  34. Replies
    6
    Views
    3,272

    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...
  35. Replies
    21
    Views
    313

    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...
  36. Replies
    25
    Views
    304

    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...
  37. Replies
    23
    Views
    3,775

    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.

    ...
  38. Replies
    4
    Views
    204

    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. { :( }
    ...
  39. Replies
    7
    Views
    163

    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()...
  40. Replies
    23
    Views
    3,775

    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 ...
  41. Replies
    23
    Views
    3,775

    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;
  42. 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...
  43. Replies
    23
    Views
    3,775

    @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...
  44. Replies
    23
    Views
    3,775

    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...
  45. Replies
    13
    Views
    160

    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...
  46. 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/...
  47. Replies
    13
    Views
    160

    That seems likely :(

    That seems likely :(
  48. Replies
    29
    Views
    617

    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 :(...
  49. Replies
    29
    Views
    617

    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 * ...
  50. Replies
    29
    Views
    617

    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...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4