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. See post #2 here for edit to map() code to fix...

    See post #2 here for edit to map() code to fix out of bounds return for TD 1.54 going beta.

    That Beta thread not live yet ...
  2. I've started using %ld ... painfully ... there...

    I've started using %ld ... painfully ... there was a sketch once on something that failed until I did that ...
  3. Replies
    57
    Views
    1,954

    yes I'll look at that batch of screen shots and...

    yes I'll look at that batch of screen shots and see if I can make some step-wise sense of them ...
  4. @mborgerson - yes please - wiring too ... what...

    @mborgerson - yes please - wiring too ... what @KurtE said. I have a pair of cameras and could build one to a T_4.1 to play along - but too many wires to do and redo while testing against evolving...
  5. Replies
    49
    Views
    1,659

    That looks nice, and the .ld has the .hab_log...

    That looks nice, and the .ld has the .hab_log that may or may not be empty and no need to adjust anything - except HAB users will have reduced DMAMEM - though they could creatively find that 8KB if...
  6. If keyboard is a USB Device - it can connect to...

    If keyboard is a USB Device - it can connect to the internal pins on T_3.6 for USBHost usage with proper cable.

    That page shows the needed cable and pin wiring is on the card or other pages.
    ...
  7. @luni - cross post - good example inline with p#5...

    @luni - cross post - good example inline with p#5 notes. Now coding here isn't needed :)

    Should be no reason it won't work with EXTMEM when present.
  8. Better follow up @luni - though p#2 suggestions...

    Better follow up @luni - though p#2 suggestions included much would have worked switching to _isr() timer as the loop() would then only use 'i' after .end() of the _isr() so volatile not needed -...
  9. Quick guess is the T_4.1: for(int j = 0;...

    Quick guess is the T_4.1:

    for(int j = 0; j<i; j++){
    Serial.print(data_[j]);
    ...

    Is printing too fast and overwhelming the PC ability to receive/process the data. Add some...
  10. Is the IDE being used to build? It uses the...

    Is the IDE being used to build? It uses the sketchbook copy first, some alternates do not AFAIK.

    Also when Verbose build details are shown - at least from IDE - it points out which library was...
  11. Good work ... >> Not hooked one up yet or...

    Good work ...

    >> Not hooked one up yet or following your code ... but the 32KB cache works across the PSRAM, maybe it is helping as that will transfer at CPU speed if it is covering the data

    I...
  12. Cool. Glad it helped.

    Cool. Glad it helped.
  13. Replies
    57
    Views
    1,954

    p#32 - Windows Perf Issues? Without a specific...

    p#32 - Windows Perf Issues? Without a specific case - and not knowing a single cause ... perhaps link the doc pjrc.com/teensy/td_download.html#antivirus_performance_issue to the posts here on this...
  14. Replies
    57
    Views
    1,954

    p#20...

    p#20 : 'Key Features' table on this page : pjrc.com/teensy/
    > Doesn't include T_4.x details summary - like effective EEPROM space etc.
  15. Replies
    57
    Views
    1,954

    p#18...

    p#18 : PROGMEM .vs. FLASHMEM and Add::
    Memory summary could present EXTMEM info for allocating into PSRAM at compile time

    * DONE *
  16. Replies
    57
    Views
    1,954

    p#17...

    p#17 : * DONE *
    https://www.pjrc.com/teensy/td_libs_OctoWS2811.html
    > No mention of Teensy 4: "OctoWS2811 requires the DMA (Direct Memory Access) engine which is available only in Teensy LC &...
  17. Replies
    57
    Views
    1,954

    This was in p#12 : Interrupts page seems out of...

    This was in p#12 : Interrupts page seems out of date and non-ARM helpful? : pjrc.com/teensy/interrupts.html
  18. Replies
    57
    Views
    1,954

    p#4...

    p#4 :: Might add link to ? :: https://github.com/luni64/TeensyTimerTool on IntervalTimer page?

    * DONE *
  19. Replies
    57
    Views
    1,954

    p#36...

    p#36 :: T_4.1 card needs a backside image - at least posted on the web to demark the pads and SDIO pin refs to pin #'s as well as the USBHost like T_3.6 and then the new CHIP pads noted there for USB...
  20. Good luck, sounds like a proper start - there...

    Good luck, sounds like a proper start - there must be some difference that should show.
  21. Does the 'device' have a spec showing the command...

    Does the 'device' have a spec showing the command language? Perhaps it is missing a terminator char or something simple.

    Sounds like it would be a good case for a logic analyzer to monitor the...
  22. Replies
    49
    Views
    1,659

    Indeed it has a lot of both... - that adds some...

    Indeed it has a lot of both... - that adds some clarity.
  23. Replies
    6
    Views
    178

    What Teensy is this? ... just noticed I saw 3.5"...

    What Teensy is this? ... just noticed I saw 3.5" and assumed T_3.5 :(

    okay ... so not using the native SDIO SD - but external on the display and it works fine alone, but causes grief when also...
  24. Replies
    6
    Views
    178

    Not sure if note below on this page applies the...

    Not sure if note below on this page applies the same to this display :: pjrc.com/store/display_ili9341.html

    We do not recommend using the SD card socket on this display. It does not work, but this...
  25. Replies
    6
    Views
    178

    Is the T_3.5 onboard the SD card in use? It has...

    Is the T_3.5 onboard the SD card in use? It has no common connections to SPI as it uses unique SDIO pins. Only an slower external SD on SPI could present this problem.
  26. Replies
    57
    Views
    1,954

    cross posted :( ... as I finished putting 8 items...

    cross posted :( ... as I finished putting 8 items in one post as it seemed they could be marked off as done in that single post without more scanning / searching. The original posts otherwise are...
  27. Replies
    57
    Views
    1,954

    Yes, will look after some of them and edit in...

    Yes, will look after some of them and edit in place - perhaps add notes to this post ...

    Marking them with as approp: * DONE *

    defragster pass #1 complete : 3:44 PM 10/20/2020


    Migrated to...
  28. Doing the T_4.x micros() used the ldrex/strex do...

    Doing the T_4.x micros() used the ldrex/strex do assure two values read [millis tick and the CYCCNT when it was updated] were from the same milli time tick, and it works.

    But the above seems it...
  29. Any chance the lighting is interfering with the...

    Any chance the lighting is interfering with the sensors?
  30. Replies
    8
    Views
    187

    Four second wait allows for a couple things - but...

    Four second wait allows for a couple things - but that code will leave the while() and continue as soon as Serial is online whether under 1 second or up to 4 seconds - at 4 seconds it leaves even if...
  31. It is a library installed with TeensyDuino See...

    It is a library installed with TeensyDuino

    See the install directory for :: ...\hardware\teensy\avr\libraries\Encoder\Encoder.h
  32. Replies
    49
    Views
    1,659

    re p#42 - sorry inexact language - just trying to...

    re p#42 - sorry inexact language - just trying to follow the concept ...

    Assumed mainline T_4.x's would not be changed to use this HAB overhead?
    >> If so can the DMAMEM be repurposed...
  33. Replies
    8
    Views
    187

    It is running and complete before the computer...

    It is running and complete before the computer has USB Serial connected to display the prints.
    Also the printing is going faster than the PC can make sense of.



    const int graph_size=10000;
    ...
  34. Replies
    11
    Views
    451

    See the PDF linked in this post ::...

    See the PDF linked in this post :: DOOM-running-on-the-Teensy-4-1-with-VGA-output


    NOTE: GPIO marked as #1 become #6 after startup code switched GPIO to FAST mode on 1062
  35. Can only suggest anecdotally ... it seems the...

    Can only suggest anecdotally ... it seems the Teensy will get the same info as the PC - hub or not - if the Teensy asks for or records it.

    Might show something looking in CORES code for the MIDI...
  36. If it works from PC, then the info is findable -...

    If it works from PC, then the info is findable - either from midi connect - or from Serial connect finding the Serial number for the device and then doing midi using that 'port' device? KurtE was...
  37. Replies
    49
    Views
    1,659

    If the HAB boot code can be overwritten - the...

    If the HAB boot code can be overwritten - the chip will still only boot from code matching the embedded encryption keys? The fuses enforce that against the internal stored keys right? If the user...
  38. The T_4.0 will always put the Serial# in the...

    The T_4.0 will always put the Serial# in the descriptor AFAIK - maybe the USBHost code doesn't parse that out as written - unless the midi doesn't pass that like Serial always does?
  39. Replies
    5
    Views
    286

    Faster QSPI speed can't hurt when used (if chips...

    Faster QSPI speed can't hurt when used (if chips likes it) ... indeed lower DTCM RAM runs at CPU speed, upper malloc/DMAMEM runs at CPU/4 so that can make a big difference when it doesn't run through...
  40. Replies
    49
    Views
    1,659

    Always assumed the bootloader MCU controlled the...

    Always assumed the bootloader MCU controlled the target and pushed HalKay to RAM to run and perform the code loading to target flash - as noted given it controls the JTAG pins.

    If so then when HAB...
  41. T_4.1 with PSRAM soldered to underside does not...

    T_4.1 with PSRAM soldered to underside does not use any 'edge' pins like D34-37 or other? Those pins for bottom chip pads are unique, shown here on this PDF by KurtE...
  42. Perhaps run an example to see it work. Then...

    Perhaps run an example to see it work.
    Then following an example to swap the library and instantiation, the change would come with updates to the buffer - then kicking off the DMA driven update -...
  43. Replies
    5
    Views
    286

    Nice, Is the PSRAM access speed setup changed...

    Nice, Is the PSRAM access speed setup changed from 88 MHz to 132MHz? If that is a bottleneck it might be some easy help to performance.

    link here : Teensy-4-1-PSRAM-Random-Access-Latency
  44. @KurtE has developed a DMA based update for the...

    @KurtE has developed a DMA based update for the ILI9341 - it might be this with "Asynchronous Update support (Frame buffer)" :: github.com/KurtE/ILI9341_t3n

    That takes a memory buffer for the...
  45. Replies
    49
    Views
    1,659

    What Paul says of course ... I was assuming new...

    What Paul says of course ... I was assuming new to github to ask?
    It can be done on the web - to be somewhat clearer ... with a github account - go to each file and edit "on Paul's repository" - and...
  46. Replies
    49
    Views
    1,659

    If you go to github and make a Pull Request...

    If you go to github and make a Pull Request - include the changed files - they will be placed online for Paul to review and incorporate.

    Very cool by the way.
  47. Nice work KurtE, ... wondering how fast lines...

    Nice work KurtE,
    ... wondering how fast lines per second test runs across the USBHost Serial ... will see if I can try it before you
  48. Replies
    3
    Views
    210

    Seems it should - QSPI reads from FLASH as 'just...

    Seems it should - QSPI reads from FLASH as 'just a pointer'? Can't confirm - but seems that is the case - others may knwo for sure to say not or point to example ???
  49. Replies
    3
    Views
    210

    The W25Q256 is 16MB flash. It supports QSPI. For...

    The W25Q256 is 16MB flash. It supports QSPI. For T_4.1 usage it would make sense to use the QSPI capable pads on the bottom side for much better processor supported Quad SPI performance. It would...
  50. Replies
    49
    Views
    1,659

    Indeed no confidential or other markings on the...

    Indeed no confidential or other markings on the 70 page:


    High Assurance Boot Version 4
    Application Programming
    Interface Reference Manual

    COPYRIGHT 2018-2019 NXP

    Or the 73 page:
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4