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.06 seconds.

  1. Replies
    18
    Views
    160

    combined in one in mspaint and shifted USB offset...

    combined in one in mspaint and shifted USB offset and got the same size - lost some quality on save - but photoshop again too much for now.

    20993

    I can save as SVG - but not sure of the params...
  2. Replies
    18
    Views
    160

    I saved them at highest quaility after edit -...

    I saved them at highest quaility after edit - can't restore jpeggery - but they double++'d in size.

    Paul had those in great light and mostly square when I cropped them - not sure a better image...
  3. Replies
    18
    Views
    160

    cropped the white space - still offset with USB...

    cropped the white space - still offset with USB on one end but not the other - then grew the back image up to the same 750 pixel width.
    20991
    20992

    With white space on ends opposite the USB it...
  4. Replies
    18
    Views
    160

    They are oriented as flipped with micro USB - it...

    They are oriented as flipped with micro USB - it has to flip on some axis?

    Size off some by amount of crop/white space diff.

    Open that image in browser and zoom to 500% and it doesn't get...
  5. Replies
    18
    Views
    160

    And the back image {800 x 293:...

    And the back image {800 x 293: pjrc.com/teensy41_2.jpg

    20989
  6. Replies
    18
    Views
    160

    PJRC has this FRONT image - not huge res {758 x...

    PJRC has this FRONT image - not huge res {758 x 224} - but blows up pretty clean: forum.pjrc.com/teensy41_4.jpg

    20988
  7. Replies
    18
    Views
    160

    Cool - it works!

    Cool - it works!
  8. Replies
    6
    Views
    146

    That sounds right - just a potentiometer with a...

    That sounds right - just a potentiometer with a long cable and a cool pedal.

    If ring and sleeve can be safely wired (without short) as GND and 3.3V the wiper tip will show the value vary with the...
  9. So many questions ... might serve well to work...

    So many questions ... might serve well to work with a tutorial and write some code on Teensy and get used to printing and editing ... mostly what I do here looking at code.

    Like:...
  10. Replies
    8
    Views
    66

    next problem is this :: int previousMillisServo =...

    next problem is this :: int previousMillisServo = 0;

    Should be :: uint32_t previousMillisServo = 0;

    That is the clearest way to get known Unsigned 32 bit integer.
  11. Replies
    8
    Views
    66

    Nothing updates :: unsigned long currentMillis =...

    Nothing updates :: unsigned long currentMillis = 0;

    It might work with this change to a PJRC elapsedMillis that auto updates with reference to millis() :: elapsedMillis currentMillis = 0;
  12. Replies
    134
    Views
    7,102

    It is there as #define USBHOST_PRINT_DEBUG in :...

    It is there as #define USBHOST_PRINT_DEBUG in : ...\hardware\teensy\avr\libraries\USBHost_t36\USBHost_t36.h
  13. Replies
    134
    Views
    7,102

    Problem is missing DISPLAY library info...

    Problem is missing DISPLAY library info ...ILI9341_TFTWIDTH' was not declared in this scope

    Library info not shown as if one was found
  14. As noted seemed as if 'magic' must be involved...

    As noted seemed as if 'magic' must be involved ... for true understanding perhaps would have to look at the generated assembly to understand if there are chances for the 1062's dual execute to do all...
  15. Replies
    18
    Views
    160

    Getting a CARD with each Teensy is Awesome - so...

    Getting a CARD with each Teensy is Awesome - so nice to have a ready reference for pin functions. Getting any other 'Arduino' ready device and no card makes them harder to confirm function and use....
  16. That code is hitting some magical dual execute...

    That code is hitting some magical dual execute sweetspot! In fact it is faster than t T_4.1 can just read 16 pins it has presented just read and right shifted 16?

    Timing converted to Cycle Counts...
  17. Replies
    127
    Views
    1,862

    Good to have added focus - hoping to add some...

    Good to have added focus - hoping to add some soon :) If only extended samples to track working versus other points.

    Where does NAND's format before write happen?
    What happens if the cache is...
  18. There is a recent and active thread for GDB...

    There is a recent and active thread for GDB software debugging support that works on Teensy 4.x (and some others).

    It will halt on faults and allow code examination as I saw it. Teensy CORES does...
  19. Replies
    781
    Views
    26,272

    Okay read enough to be entertained by it being...

    Okay read enough to be entertained by it being controlled by the DEGUG :: #define USBHOST_DEGUG_MEMORY_STREAM

    Sounds like a nice feature to stream spew/data that otherwise comes too fast to deal...
  20. Replies
    127
    Views
    1,862

    Didn't look much at the code - but unpacked a new...

    Didn't look much at the code - but unpacked a new T_4.1 - loaded an SD Test sketch that worked logging values to new SD card.

    Soldered a NAND and a PSRAM - brushed clean with 90% ISO - dried with...
  21. Replies
    6
    Views
    146

    What's the spec on the 'expression pedal'? Is it...

    What's the spec on the 'expression pedal'? Is it self powered or is that third line feeding power to the pedal to feed/return the signal? If power make sure it can work with 3.3V max output to the...
  22. The compiler likely will take away any clear /2...

    The compiler likely will take away any clear /2 or /4 and program as a shift, and if not the CPU can do integer divisions in a single cycle AFAIK - so not worth worrying over the difference ... what...
  23. Replies
    127
    Views
    1,862

    Indeed a print of 0x0 breaks the output copy...

    Indeed a print of 0x0 breaks the output copy paste. I put in an IF() case for altered print somewhere once when it wanted to print zero.

    Not getting time to test/work on this :( - phone calls and...
  24. It all depends on the reception and measure of...

    It all depends on the reception and measure of the analog values in the system for how it actually works out to get better reading on two more bits ... so only you can test this ... i.e. YMMV

    But...
  25. Awesome the unrolled loop shows promise! Are the...

    Awesome the unrolled loop shows promise! Are the 8 averages on 10 or more bits of resolution?

    It is global variables that are evil ... because that is the easiest thing to do - though can be made...
  26. Replies
    127
    Views
    1,862

    This :: int w25n01g_t4::readBytes(uint32_t...

    This :: int w25n01g_t4::readBytes(uint32_t Address, uint8_t *data, int length)

    doesn't have any:: return int_??;

    After a run leaving the 42 on NAND - a Power Off/On fails to find the 42's after...
  27. Replies
    127
    Views
    1,862

    @mjs513 - got the latest 2hr old changes. Will...

    @mjs513 - got the latest 2hr old changes. Will get it built and at least a quick look shortly.

    @KurtE - I made sure to test T_4.1 before - did skip that once - always a bit of wonder while...
  28. Replies
    127
    Views
    1,862

    Such a change from prior results though on the...

    Such a change from prior results though on the same chip? If code is now actually doing more complete read write perhaps?

    Should add each block timing recording to track average and extreme?
    ...
  29. Replies
    127
    Views
    1,862

    Got the latest just now ... Busy a couple hours...

    Got the latest just now ... Busy a couple hours here ...

    I see the startup issue compare fail? Maybe something different here ?? Below - only on POWER UP? The Comapre loop and err print needs...
  30. See post #107 - github.com/Defragster/Tset...

    See post #107 - github.com/Defragster/Tset updated to work in the case where multiple INO's break command line build!

    In SublimeText run the BUILD :: Tools Set { as updated below, stored as a...
  31. Replies
    127
    Views
    1,862

    @wwatson - My tag in the NAND's had blue on too -...

    @wwatson - My tag in the NAND's had blue on too - I didn't bother looking given they just got here double or triple wrapped. Are they usually pink?

    Good luck with soldering! Mine went...
  32. Still using this and working with Teensy up to...

    Still using this and working with Teensy up to T_4.1 and before on SublimeText with IDE 1.8.13 and TD 1.53 ... on WINDOWS >> github.com/Defragster/Tset

    Looking at a change to specify target...
  33. If there isn't a forum example search the CORES...

    If there isn't a forum example search the CORES ... otheriwse the manual ...

    Not sure if this is a good start :: ...\hardware\teensy\avr\libraries\FreqMeasure\util\FreqMeasureCapture.h
    It doesn't...
  34. Sounds like it would be one of these perhaps in...

    Sounds like it would be one of these perhaps in the indicated file:

    IRQ_FLEXPWM1_0 = 102,
    IRQ_FLEXPWM1_1 = 103,
    IRQ_FLEXPWM1_2 = 104,
    ...
  35. T_4.0 came first and was set up for that device...

    T_4.0 came first and was set up for that device with imxrt design versus the architecture to prior ARM Teensy.

    Using proper build commands that same directory supports the newer T_4.1 as well by...
  36. Replies
    5
    Views
    128

    Without code it isn't clear if this was called...

    Without code it isn't clear if this was called for desired frequency :: analogWriteFrequency(uint8_t pin, float frequency);

    For a given resolution a range of clock setting are available to specify...
  37. This "-Timxrt1062.ld " shows the build process...

    This "-Timxrt1062.ld " shows the build process was told the target T_4.0 not T_4.1 which would show "-Timxrt1062_t41.ld "

    The makefile needs to pass in whatever fashion as appropriate ::...
  38. AFAIK that page still relates to Teensy AVR not...

    AFAIK that page still relates to Teensy AVR not ARM - posted recently to ask for that to be updated.

    On ARM - like the T_4 - interrupts are handled differently - For T_4 unique available vectors...
  39. Replies
    127
    Views
    1,862

    @mjs513 - keep up the good work/effort. Just...

    @mjs513 - keep up the good work/effort.

    Just noted that IDE won't build that without the FOLDER name matching sketch - so github could be re-organized? And as noted using TSET Frank_B's CmdLine...
  40. @Paul and @LAtimes :: Indeed that is a BAD HACK...

    @Paul and @LAtimes :: Indeed that is a BAD HACK! I had it in place and next 'FASTER' compile of the NAND WIP progress code FAILED to start like in Post #1.

    Added a NOTE to that PR #481 and CLOSED...
  41. BTW: on power up GPIO[6,7,8,9] are GPIO[1,2,3,4] ...

    BTW: on power up GPIO[6,7,8,9] are GPIO[1,2,3,4] but are SHIFTED by FIVE before setup() is called - as the pin access is shifted to high speed.

    So when looking at a doc like:...
  42. Yes, the basic PORT architecture is the basically...

    Yes, the basic PORT architecture is the basically same in the 1062 used on T_4.0 and 4.1 and prior ARM Teensy.

    Check out the T_4.0 schematic or a posted summary for pin to port mapping.

    The...
  43. Replies
    127
    Views
    1,862

    @mjs513 - how are you building? Have been using...

    @mjs513 - how are you building? Have been using TSET and it just finds .INO without needing matching directory name like IDE requires - problem when wrong INO picked up :(

    Updated github - saw...
  44. seems the file locations were migrated ... maybe...

    seems the file locations were migrated ... maybe something else.
  45. Replies
    2
    Views
    125

    The interior pad near USB connector is NOT GND. ...

    The interior pad near USB connector is NOT GND. That is the VUSB pin - i.e. 5 volts from USB unless the trace is cut or power is applied externally to the VIN pin.

    If you have any other ARM...
  46. Is it this: replace "tCode" with personal...

    Is it this:



    replace "tCode" with personal sketchbook folder name and the drive letter instead of "T:"
  47. @LAtimes - good feedback for Paul. Seeing that...

    @LAtimes - good feedback for Paul. Seeing that optimize used throughout - hoped it might disable some compiler smarts behind the trouble. Though indeed seems on the edge some timing race? Starting...
  48. Not if you got to grow up with it of course -...

    Not if you got to grow up with it of course - then the other way is confusing.

    Went to another forum with fixed date format like : Fri Jul 10, 2020 11:59 pm with Pretty colors and modern - and no...
  49. Quick check doesn't show an option for that...

    Quick check doesn't show an option for that either in user settings - luckily it is already right :)

    Ancient (but awesome) Forum software is due for an update/replacement - acknowledged years back...
  50. as noted ... understood ... only saying the power...

    as noted ... understood ... only saying the power to do that and more is there - if the I/O can be handled. Interrupts can be responsive - but incur overhead. Polling is faster but takes the loop()...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4