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

Search:

Type: Posts; User: xxxajk

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    57
    Views
    4,311

    Very cool. Note I do not mind if data sent out is...

    Very cool. Note I do not mind if data sent out is polled, I can imagine that DMA could have an advantage in many cases. Keep up the haxxoring!
  2. Replies
    57
    Views
    4,311

    T3.6 direct register writing, not released yet,...

    T3.6 direct register writing, not released yet, because it's not good enough.
  3. Replies
    57
    Views
    4,311

    Some polling results

    Been optimizing the parallel display here (polled, 8bit and 16bit) and I thought I would share my results:


    8bit
    ILI9341 Test!
    Display Power Mode: 0x9C
    MADCTL Mode: 0x48
    Pixel Format: 0x5...
  4. Replies
    57
    Views
    4,311

    That sounds like DSPI/QSPI...

    That sounds like DSPI/QSPI...
  5. Replies
    57
    Views
    4,311

    Nope, not. I did this board back in 1996... I've...

    Nope, not. I did this board back in 1996... I've moved on since then.
  6. Replies
    57
    Views
    4,311

    Note there's no ROM on it... The 6502 is halted,...

    Note there's no ROM on it... The 6502 is halted, code uploaded, and unleashed. There's a mailbox bit for ISA to basically say "freeze me, I got something for you". The PC then stops the 6502, and has...
  7. Replies
    57
    Views
    4,311

    @jonathan322 Don't forget that 65xx/85xx CPU does...

    @jonathan322 Don't forget that 65xx/85xx CPU does RMW for writes, i.e. on the bus does Read/Modify/Write, this is in sync with theta 2. And you need to account for that,
    *Cough!* Yes 65xx was the...
  8. Replies
    57
    Views
    4,311

    @miciwan Think on how the classic Hardware Serial...

    @miciwan Think on how the classic Hardware Serial (and actually, USB does it to) buffers, in order to handle bursts.

    Since there's only one DMA controller, you just use the CPU as the "second DMA...
  9. Replies
    57
    Views
    4,311

    @miciwan perhaps a double-buffered DMA or...

    @miciwan perhaps a double-buffered DMA or interleave could work for you?

    Idea 1: Single stage FIFO
    Loop DMA to a "fast dma buffer" and then another DMA relays that to the EXTMEM, which can use...
  10. Replies
    57
    Views
    4,311

    Yes, input from cameras is another use case.

    Yes, input from cameras is another use case.
  11. Replies
    57
    Views
    4,311

    Nice! So, where are these wonderful libraries...

    Nice! So, where are these wonderful libraries located? I have the components here to try things.
  12. Replies
    57
    Views
    4,311

    Yeah, there lies the difference in end-goals. You...

    Yeah, there lies the difference in end-goals. You are rendering entire frames, I'm not always doing that, thus I only update areas that are changed.
    You could get a huge speed boost if you could...
  13. Replies
    57
    Views
    4,311

    Yeah, but I just got 2 320x240 ILI9341, which has...

    Yeah, but I just got 2 320x240 ILI9341, which has a flash chip, and SPI resistive touch controller on-board for under $12 delivered, from Amazon.
    The date codes suggest that they're new-old-stock,...
  14. Replies
    57
    Views
    4,311

    Yes, but no price listed, and anything else I've...

    Yes, but no price listed, and anything else I've managed finding cost over 100USD... :-(
  15. Replies
    57
    Views
    4,311

    What I'd love to see is a 4:3 TFT that's 640x480,...

    What I'd love to see is a 4:3 TFT that's 640x480, seems that they're no where to be found, because everyone thinks 16:9 is all cool and stuff, bleh.
    Why? well, I'm not rendering fancy graphics, I...
  16. Replies
    57
    Views
    4,311

    DemoSauce...

    DemoSauce https://www.youtube.com/watch?v=Vjb6h8Yx78Q
    Benchmark https://www.youtube.com/watch?v=BbsSy956H8Q
  17. Replies
    57
    Views
    4,311

    My library is for teensy 3.[01256]. There's the...

    My library is for teensy 3.[01256]. There's the difference. The library also isn't as efficient as it could be.
    With an under 10ms update rate, there's no reason why you couldn't break the update...
  18. Replies
    57
    Views
    4,311

    Direct to port writing, and delayNanoseconds for...

    Direct to port writing, and delayNanoseconds for pacing the signals. Full screen blit takes ~7.7ms.
    I'll be sharing the library soon, and I just got DemoSauce going.
    Uploading a video to ewwtwob...
  19. Replies
    57
    Views
    4,311

    ...interesting idea, however I've not found a use...

    ...interesting idea, however I've not found a use case where DMA can help.
    As of right now, I have a Teensy 3.6 operating in 8-bit parallel mode with an almost complete library. It's good enough to...
  20. Replies
    2
    Views
    461

    While it doesn't actually use microsecond...

    While it doesn't actually use microsecond resolution, the project that uses this code does, so it made sense to just leave it as-is and share it with the world.
  21. Replies
    2
    Views
    461

    No frills console on LCD/TFT displays

    I've just released a no-frills fb console that's easily portable to just about any LCD/TFT display.
    Included is an example doing direct displaying of the character set on both the monochromeST7565...
  22. Replies
    475
    Views
    145,571

    Why not use a static variable that the user can...

    Why not use a static variable that the user can set before threads start?
  23. Replies
    605
    Views
    80,064

    Kinetis is for Teensy 3.[012] :-) The other is...

    Kinetis is for Teensy 3.[012] :-) The other is for MAX3421E on SPI, and yes, you can use that (up to two MAX3421E) plus native USB at the same time, AND SDcard after 2 simple soldering modifications....
  24. Replies
    605
    Views
    80,064

    @wwaton It was a bug that crept in. Fixed and...

    @wwaton It was a bug that crept in. Fixed and working.
  25. Replies
    605
    Views
    80,064

    Is this a powered hub by any chance?

    Is this a powered hub by any chance?
  26. Replies
    4
    Views
    427

    Ok, that sort of makes sense... I managed to get...

    Ok, that sort of makes sense... I managed to get him rolling again. He needed to plug-in the T3.6 while holding down the upload button, and recover by uploading good old reliable blink.ino.

    What's...
  27. Replies
    4
    Views
    427

    Wacky code size TD 1.54

    Friend of mine in India is having a VERY strange problem with TD 1.54.
    The compile is fine, but the TD uploader shows something WAY out of wack. See photo.

    25659

    No way the hex file is too...
  28. Replies
    605
    Views
    80,064

    @wwatson More improvements have been pushed, pull...

    @wwatson More improvements have been pushed, pull and try again.
    More information can be gathered by turning on the host debugging in the sketch
  29. Replies
    605
    Views
    80,064

    Status code 0x01 and error 0x11 shouldn't be...

    Status code 0x01 and error 0x11 shouldn't be possible...
  30. And now for the universal one... //...

    And now for the universal one...



    // PROGMEM fix for section type conflict
    #define QUO(x) #x
    #define QLINE(x,y) QUO(x)QUO(y)
    #define PFIX QLINE(.progmem.variable, __COUNTER__)
    #define...
  31. @Paul (and everyone else) I have a working...

    @Paul
    (and everyone else)
    I have a working magic set of macros that fix this

    Here you guys go!


    #define DMAMEM __attribute__ ((section(".dmabuffers"), used))
    #define FASTRUN __attribute__...
  32. Macro magic anyone? :-D all you need to do (yes,...

    Macro magic anyone? :-D
    all you need to do (yes, I just said that) is have a macro that adds another subsection.
    In theory, that's the fix.
  33. Technically, there is a fix, but it has to happen...

    Technically, there is a fix, but it has to happen on the teensy4 core side of things.
    #‎define‬ PROGMEM __attribute__((section(".progmem.vars")))

    **note fixes global variables ONLY, but PSTR()...
  34. I too just ran into this :-) Apparently there's...

    I too just ran into this :-)
    Apparently there's a VERY tight constraint that GCC is using during the compilation, and marks the sections different if it's global, or not. :-/
  35. Replies
    605
    Views
    80,064

    @wwatson You forgot to recursively clone, see...

    @wwatson
    You forgot to recursively clone, see the readme and optionally the wiki
  36. Replies
    605
    Views
    80,064

    Oh one other thing, You should be able to extend...

    Oh one other thing, You should be able to extend UHS_FS to accommodate littleFS, and even ISO9660 if you want to use it for CD/DVD. :-)
  37. Replies
    605
    Views
    80,064

    @wwatson Certainly! Now note that it will have...

    @wwatson
    Certainly!
    Now note that it will have some issues depending on the SCSI version on the USB (same is true with any Mass storage/bulk storage) in particular, thumbdrives and external drives...
  38. Replies
    605
    Views
    80,064

    FWIW, UHS 3.0 is in a basically usable state now...

    FWIW, UHS 3.0 is in a basically usable state now for EHCI on teensy 3.6.
    What's tested so far:
    HUB, bulk storage (UHS_FS, which contains FAT32, and a driver for the SDcard, although a small...
  39. Here's my modified Teensy 3.6 for SDcard IRQ...

    Here's my modified Teensy 3.6 for SDcard IRQ detection of card presence.
    25347
    One extra detail for the Teensy 3.6 only, as it is missing the ground connection. This connection is present on Teensy...
  40. Replies
    24
    Views
    1,811

    Actually, paint white on the top, black on the...

    Actually, paint white on the top, black on the bottom, yes, that's really a thing.
  41. I know this is an old thread, however, you can do...

    I know this is an old thread, however, you can do sdcard detect with an interrupt.
    25344
    Works for Teensy 3.5/6 and Teensy 4.0/1 with UHS3 (which properly supports the change detect pin!!!).
    :cool:
  42. Replies
    30
    Views
    22,580

    It's used to generate an 8MHz signal on pin 9....

    It's used to generate an 8MHz signal on pin 9. You can comment this stuff out if your board has a crystal.
  43. Replies
    30
    Views
    22,580

    Never used 328 much, too limited for what my...

    Never used 328 much, too limited for what my clients need.
    Weakest MCU used by my clients is the mega2560.
  44. Replies
    30
    Views
    22,580

    Yeah, and if you want a better, non-screwedup...

    Yeah, and if you want a better, non-screwedup bootloader, that has the ability to write flash (Only tested on the 2560) go here:
    https://github.com/xxxajk/Arduino-stk500v2-bootloader
    I still need...
  45. Replies
    30
    Views
    22,580

    Pin assignment doesn't matter on the host, only...

    Pin assignment doesn't matter on the host, only the target really matters.
    Here's a starting point for you, that uploads a bootloader, it's pretty easy to modify to upload program only....
  46. Replies
    30
    Views
    22,580

    Yes, this is totally possible. I have a...

    Yes, this is totally possible.

    I have a similar set of tools that I have made for mass programming.
    The bigger question is are you wanting to burn a bootloader, program only, or both?

    For...
  47. Replies
    50
    Views
    18,612

    /tmp directory have proper permissions?

    /tmp directory have proper permissions?
  48. Replies
    50
    Views
    18,612

    No problem :-)

    No problem :-)
  49. Replies
    50
    Views
    18,612

    Probably the one in the OS path, even so, you can...

    Probably the one in the OS path, even so, you can increase the initial allocation at startup.
    type

    java -X
    to see the memory options.
    it's usually -Xms

    -Xms<size> set initial Java...
  50. Replies
    50
    Views
    18,612

    Sounds to me like you need to tell the jvm to use...

    Sounds to me like you need to tell the jvm to use more memory so that it gc's less often?
    The
    -verbose:gc option should be helpful.
    On my system, 16GB RAM, 16 cpu's, Linux 64bit:

    IBM's java:...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4