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

Search:

Type: Posts; User: manitou

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. One minor problem with your sketch is your file...

    One minor problem with your sketch is your file names are too long. SD lib filenames are in 8.3 format, so "name" is max of 8 characters with optional . and 3 character extension.

    The major...
  2. Replies
    3
    Views
    151

    yep, as noted in this post...

    yep, as noted in this post, T4 TRNG is much slower than T3.5/3.6 TRNG. T4 TRNG has lots of tuning options, mainly to strengthen "randomness" at a cost of even slower speed. Limited documentation...
  3. See the NativeEthernet thread...

    See the NativeEthernet thread or the lwIP tests
    The Teensy 4.1 native Ethernet does not use SPI, rather uses onboard PHY connected with 6 pins to RJ45 module.
  4. Very strange. SPI has no error checking or...

    Very strange. SPI has no error checking or "delays". I often do SPI performance tests with no wires connected to anything! So I don't understand how a sketch can hang in a SPI.transfer(). As...
  5. In IDE Tools drop down, what do you have for USB...

    In IDE Tools drop down, what do you have for USB type: and what does Port say?

    here's my teensy loader verbose for build and run of CoreMark witrh serial monitor...

    15:41:56.942 (post_compile...
  6. Replies
    9
    Views
    118

    Ahhh, shared SPI. You'd need to pull the display...

    Ahhh, shared SPI. You'd need to pull the display CS pin HIGH (digitalWrite) to keep the display's SPI "quiet" .... or as you noted, init the screen. Good job.
  7. Replies
    9
    Views
    118

    i'm guessin the adafruit board is corrupting the...

    i'm guessin the adafruit board is corrupting the SPI signals some how. A scope might show something ...
  8. Replies
    9
    Views
    118

    Have you tried other uSD cards? tried...

    Have you tried other uSD cards? tried reformatting uSD card? what does SD -> examples -> Cardinfo report

    what version of IDE and Teensyduino?

    how is uSD attached to T3.2, photo?

    works for...
  9. Replies
    783
    Views
    27,150

    here are a few data points T4.1 HW_OCOTP_CFG0...

    here are a few data points

    T4.1
    HW_OCOTP_CFG0 0x65f8296a
    HW_OCOTP_CFG1 0xc19a9d2
    HW_OCOTP_CFG2 0x50000029
    HW_OCOTP_CFG3 0x420002
    HW_OCOTP_CFG4 0x0
    HW_OCOTP_CFG5 0x80018
    HW_OCOTP_CFG6 0x0
  10. Replies
    783
    Views
    27,150

    PJRC sets some fuses in each T4 for unique...

    PJRC sets some fuses in each T4 for unique ethernet MAC address and USB id,
    in hardware/teensy/avr/cores/teensy4/usb_desc.c, num = HW_OCOTP_MAC0 & 0xFFFFFF;
    and T4 mac

    static void...
  11. Replies
    30
    Views
    1,487

    ethernet power numbers here...

    ethernet power numbers here, table and graph
  12. Replies
    44
    Views
    1,594

    You should experiment with T4.1 ...

    You should experiment with T4.1 FNET/NativeEthernet. Its API is like Arduino's Ethernet lib, so porting should be easier than with the T4.1 lwIP implementation (polling and callback)
  13. Replies
    783
    Views
    27,150

    I created fnet_tftpd_SPIFFS...

    I created fnet_tftpd_SPIFFS a tftp server using SPIFFS on EFLASH with FNET and NativeEthernet libs
  14. Replies
    783
    Views
    27,150

    I just checked my notes. I had to fix those...

    I just checked my notes. I had to fix those typedef conflicts with the previous version of SPIFFS lib when used with lwip


    hack libraries/SPIFFS_t4/src/spiffs_config.h
    // ...
  15. Replies
    783
    Views
    27,150

    well that error means you haven't hacked...

    well that error means you haven't hacked boards.txt to add the include mod described in the README .... then you'll get the typedef conflict ;)

    (i could create a SPIFFS version of tftpd for the...
  16. Replies
    783
    Views
    27,150

    https://github.com/PaulStoffregen/teensy41_etherne...

    https://github.com/PaulStoffregen/teensy41_ethernet
  17. Replies
    783
    Views
    27,150

    Re: T4.1 SPIFFS With 1.8.12 and 1.52 and the...

    Re: T4.1 SPIFFS

    With 1.8.12 and 1.52 and the new SPIFFS lib, I decided to update my Ethernet lwip_tftpd_SPIFFS sketch. I got compile errors because of typedef conflict between lwip and spiffs...
  18. Replies
    303
    Views
    38,030

    what would be required to provide MTP and a file...

    what would be required to provide MTP and a file system on T4.1 (optional) external flash? and someday maybe "reserved" area of internal flash (bootloader mods required?) circuitpython on T3 and T4...
  19. Replies
    783
    Views
    27,150

    yes, this would be helpful to...

    yes, this would be helpful to circuitypython/micropython "disk drive" and maybe Teensy could support popping up a USB drive ... Paul had some discussion on the circuitypython thread
  20. Replies
    783
    Views
    27,150

    Interesting your cached times are faster. the...

    Interesting your cached times are faster. the fs_unmount() is good, but i'm surprised that it would make a difference. I would think the SPIFFFS would be inactive. what memcpy() times do you get...
  21. Replies
    783
    Views
    27,150

    #define BYTES 32*1024 DMAMEM uint8_t...

    #define BYTES 32*1024
    DMAMEM uint8_t ocram[BYTES] __attribute__ ((aligned(32)));
    PROGMEM uint8_t prog[BYTES] __attribute__ ((aligned(32)));
    uint8_t dst[BYTES] __attribute__ ((aligned(32)));...
  22. Replies
    783
    Views
    27,150

    OK, that got example eram_spifffs working so i...

    OK, that got example eram_spifffs working so i got directory listing from EFLASH, and I added memcpy() tests using 0x70800000

    memcpy 32768 bytes from 0x70800000 flash 779 us
    ...
  23. Replies
    783
    Views
    27,150

    No. i'm still confused. From your link...

    No. i'm still confused.
    From your link https://github.com/PaulStoffregen/teensy41_extram/tree/SPIFFS-FLASH-ONLY
    I cloned the SPIFFS-FLASH-ONLY branch, and moved the directory SPIFFS_t4/ into my...
  24. Replies
    783
    Views
    27,150

    i don't think i have an extra lib. you have...

    i don't think i have an extra lib. you have spiffs_file fd1; in both extRAM_t4.cpp and spiffs_t4.cpp in libraries/SPIFFS_t4/src/

    maybe use static ? static spiffs_file fd1;

    and there is the...
  25. Replies
    783
    Views
    27,150

    @mjs513 i did fresh install of 1.8.12 and 1.52...

    @mjs513 i did fresh install of 1.8.12 and 1.52 on 32-bit linux, and cloned your branch and put SPIFFS_t4/ in my libraries/ and tried to compile example eram_spiffs and got errors, attached.
  26. Replies
    783
    Views
    27,150

    Can one still directly address the EFLASH...

    Can one still directly address the EFLASH locations for read's? and what is the base address 0x70000000? 0x71000000? 0x7080000? or depends on whether EFLASH chip is also installed?

    and...
  27. Replies
    783
    Views
    27,150

    macros are used for testing compile-time...

    macros are used for testing compile-time variables, you're trying to use run-time variable with compile-time statements
    #define X 2
    #if X > 1
    ....
  28. Replies
    783
    Views
    27,150

    I'll wait 20140

    I'll wait

    20140
  29. Replies
    783
    Views
    27,150

    So it is still required to hack the core...

    So it is still required to hack the core startup.c to change clock frequency and set the FLASH size 0x4000, yes?

    my T41 SPIFFS sketches all had my own copy of Frank's EFLASH config code embedded...
  30. Replies
    9
    Views
    523

    FNET/NativeEthernet tftp server I cobbled...

    FNET/NativeEthernet tftp server

    I cobbled together a tftp server (UDP) for the T4.1 that uses the onboard microSD and the SD lib to put and get files.
    ...
  31. Replies
    783
    Views
    27,150

    The PSRAM data sheet says max SPI CLK is 133 mhz....

    The PSRAM data sheet says max SPI CLK is 133 mhz. try

    CCM_CBCMR = (CCM_CBCMR & ~(CCM_CBCMR_FLEXSPI2_PODF_MASK | CCM_CBCMR_FLEXSPI2_CLK_SEL_MASK))
    | CCM_CBCMR_FLEXSPI2_PODF(4) |...
  32. Replies
    783
    Views
    27,150

    in 1.52-beta5, PSRAM clock is not being set...

    in 1.52-beta5, PSRAM clock is not being set correctly see post

    EDIT
    (fixed on github 18 hours ago with 88 mhz update)
  33. Replies
    13
    Views
    752

    I think this is wrong in teensy4/startup.c ...

    I think this is wrong in teensy4/startup.c

    CCM_CBCMR = (CCM_CBCMR & (CCM_CBCMR_FLEXSPI2_PODF_MASK | CCM_CBCMR_FLEXSPI2_CLK_SEL_MASK))
    | CCM_CBCMR_FLEXSPI2_PODF(7) |...
  34. Replies
    783
    Views
    27,150

    Seems like we've been successful with 132 MHz,...

    Seems like we've been successful with 132 MHz, but I just noticed in PSRAM data sheet it says 133 MHz max, but if you are doing a "burst command across a page boundary" (?) the max is 84 MHz.
  35. Replies
    783
    Views
    27,150

    flash only should be good enough

    flash only should be good enough
  36. Replies
    9
    Views
    523

    Nice! Works for me. thanks

    Nice! Works for me.

    thanks
  37. Replies
    783
    Views
    27,150

    I'm just guessin, but Paul said default size for...

    I'm just guessin, but Paul said default size for 2nd flash/ram was 8 MB in his latest core. so for 16MB you need
    FLEXSPI2_FLSHA1CR0 = 0x4000;
    FLEXSPI2_FLSHA2CR0 = 0x40000;
  38. Replies
    783
    Views
    27,150

    Here are some times for memcpy() for 32KB from...

    Here are some times for memcpy() for 32KB from various memories (data is aligned(32) but NOT cached) to DTCM.

    from DTCM 15 us
    from OCRAM 55 us
    from PROGMEM 558 us
    ...
  39. Replies
    9
    Views
    523

    Thanks for setting up separate thread. Here is my...

    Thanks for setting up separate thread. Here is my summary of T4.1 Ethernet testing that includes performance comparisons of NativeEthernet/FNET with lwIP and USB ethernet and 2016 T3.5/3.6 ethernet.
  40. Replies
    783
    Views
    27,150

    I got latest NativeEthernet from github. Hmmm,...

    I got latest NativeEthernet from github.

    Hmmm, not quite. Seems to fix 25 second delay before SYN packet, but if the server is not running for a while, then client eventually gets into a state...
  41. Replies
    783
    Views
    27,150

    Understood. another question: in my test...

    Understood.

    another question: in my test sketch doing tcp_send(), it connects, sends data and does client.stop() and then delays 5 s and does the connect again. Watching the packets, it takes 25...
  42. Replies
    783
    Views
    27,150

    I did some tuning experiments with your...

    I did some tuning experiments with your NativeEthernet.

    increased ethernet ring buffers from 2 to 5 in port/cpu/fnet_cpu_config.h. No change in TCP Tx or Rx performance
    reference manual...
  43. Replies
    783
    Views
    27,150

    well, sketch says its sending 100,000 bytes (100...

    well, sketch says its sending 100,000 bytes (100 x 1000), but tcpdump shows it just stops sending at some point. I'm still looking at the packet trace. here is test sketch...
  44. Replies
    783
    Views
    27,150

    Wow! This wrapper looks good. :D i'm running...

    Wow! This wrapper looks good. :D i'm running my UDP/TCP tests....

    ntp drift test (UDP)

    ntp 3797960422.015705 rtt 189 us -7 ppm over 10 s
    ntp 3797960432.015986 rtt 193 us -7...
  45. Replies
    783
    Views
    27,150

    I added some FNET TCP/UDP performance numbers...

    I added some FNET TCP/UDP performance numbers for T41 native ethernet to table in post #108
  46. Replies
    783
    Views
    27,150

    click on "Description" on OSH park link...

    click on "Description" on OSH park link
  47. does breakout board have pullup resistors on SDA...

    does breakout board have pullup resistors on SDA and SCL. UNO can use internal pullups, but Teensy needs external resistors if breakout board does not provide them.
    Also try running I2C scanner...
  48. Replies
    6
    Views
    107

    see DAC/DMA/PDB sine example at...

    see DAC/DMA/PDB sine example at https://github.com/manitou48/teensy3/blob/master/dacpong.ino

    see Teensy data sheets
  49. Replies
    783
    Views
    27,150

    The Teensy 4 has a hardware RNG, but it's slow...

    The Teensy 4 has a hardware RNG, but it's slow compared to T3.5/3.6 TRNG. The Entropy lib is based on dueling clocks, separate crystals or crystal and internal RC oscillator, but T4 doesn't have...
  50. Replies
    783
    Views
    27,150

    Frank has implemented SPIFFS on the external...

    Frank has implemented SPIFFS on the external FLASH,see https://github.com/PaulStoffregen/teensy41_extram I even built a tftp server using the SPIFFS as part of ethernet testing, see last table in...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4