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. Ick - that was so nice when you undid that ... of...

    Ick - that was so nice when you undid that ... of course Serial.begin() is optional.
  2. Before I powered up my first Teensy I was looking...

    Before I powered up my first Teensy I was looking at DigiSpark 8 bit AVR - a guy there did dithering for gray scale. I don't find signs of it from 6+ years ago ...

    @MichaelMeissner - any chance...
  3. Thread: Micropython

    by defragster
    Replies
    11
    Views
    218

    Not sure if that was crosspost? But the same PCB...

    Not sure if that was crosspost? But the same PCB builds both 3.5 and 3.6 - unless 3.5 was hidden under the big USB CAP - all else is common.
  4. Thread: Micropython

    by defragster
    Replies
    11
    Views
    218

    That is a T_3.6. Reason: The T_3.5 and T_3.6...

    That is a T_3.6.

    Reason: The T_3.5 and T_3.6 share the exact same PCB.

    Differences are:

    MCU Marked as MK66 on that T_3.6 picture and the T_3.5 would have an MK64.

    Also on that the row of...
  5. Not having used the library - but again...

    Not having used the library - but again charlieplexing works by running (fast cycling) power out the desired pins counting on the diode to light when biased properly and block otherwise.


    RE p#6...
  6. Three pins - at any one time one is GND and at...

    Three pins - at any one time one is GND and at most two on a row are HIGH?

    wiring not shown - and just guessing from general understanding and quick wiki glance ... 5 and 6 are on a row and...
  7. Okay, thought maybe you had the math and logic to...

    Okay, thought maybe you had the math and logic to find and walk back the call stack.

    Frank has the PR to PJRC CORES for his code and I put a PR on hit PowerButton with an updated copy of the...
  8. No interrupt disable! I should try looking at...

    No interrupt disable! I should try looking at the Teensy3 code ( that does disable ) to replace when over 48 MHZ ( exclude T_LC with no CYCCNT and slow speed issue ? - but ould require CYCNT - and...
  9. Cool! - you got it working Single 32 word is...

    Cool! - you got it working

    Single 32 word is to be atomic - says Paul - is lastCurrent not a single 32 bit DWORD word ... from a single DWORD? Maybe it changes between READ and Assignment?

    If...
  10. Found this newer post that may work as a faster...

    Found this newer post that may work as a faster example: Teensy-4-0-PORT-manipulation-to-read-write-data-to-multiple-pins

    Shows port read from ordered pins and masking to get the value. Post #9...
  11. There is this page with a sample sketch that...

    There is this page with a sample sketch that should run and provide a table of the PIN to PORT mapping :: TeensyUser/doc/wiki/Mapping-Pins-to-Ports

    Look around there perhaps for port read usage? ...
  12. Follow the links in this post - one should demo a...

    Follow the links in this post - one should demo a port read of all the pins on that port :: Teensy-4-1-8-Bit-Parallel-I-O

    That post is from mid 2020 - there may be other newer posts but IIRC at...
  13. Replies
    17
    Views
    4,478

    Quick single search shows it here :...

    Quick single search shows it here : www.math.sci.hiroshima-u.ac.jp/m-mat/MT/TINYMT/index.html

    URL the same - just a ~ changed in the path.

    On github as : github.com/MersenneTwister-Lab/TinyMT...
  14. Good luck with whatever is working to trace back....

    Good luck with whatever is working to trace back.

    If you have code that can walk back and uncover the stack in any way please post.

    The code edit just forwarded to FrankB could capture that...
  15. That would be this then :: effective states : -1...

    That would be this then :: effective states : -1 (when REV held) or 0 or +1 (when FWD held)

    The code posted has a lot more involved that isn't relevant given no analog is desired ...

    Perhaps...
  16. Since it wasn't stated ... had to ask given the...

    Since it wasn't stated ... had to ask given the use of 5V - could have been an AVR Teensy - otherwise it makes no sense to use 5V for an input when while 5V tolerant - it is a device designed for...
  17. I'm using p#522 here - just minor tweaks for...

    I'm using p#522 here - just minor tweaks for cleaner output and a KurtE Edit that works between 506 and 507.
  18. What Teensy is in use? Is it one that is 5V...

    What Teensy is in use? Is it one that is 5V tolerant?

    From 2 buttons FWD and REV ? Is the motion to stop when the button released - not return to zero?
  19. Replies
    8
    Views
    109

    Looking at the T_3.5 card. The Compact notations...

    Looking at the T_3.5 card. The Compact notations there indicate::

    For WIRE [ Wire0 ] - bold is default pin and non-bold is alternate for selection using .setXXX() to use the Alternate pins
    pin:...
  20. Was there a change I missed for improved SD card...

    Was there a change I missed for improved SD card reading? I have four partitions on mine and it is only giving this:


    Initialize SD card...SD card is present.

    SD Fat Type: Fat32
    Volume Name:...
  21. FrankB's code isn't in a PJRC release yet - just...

    FrankB's code isn't in a PJRC release yet - just a Pull Request on github.

    I made some edits for his review that allows call to user sketch on a FAULT to save data to DMAMEM or EXTMEM for view...
  22. The Bootloader responds to the button by a...

    The Bootloader responds to the button by a hardware signal on the board.

    The USB Wire signal requires a functional USB Stack. Having output is one thing that somehow often works.

    But the USB...
  23. @MeBoop: Writing to the SD in faulted state is...

    @MeBoop: Writing to the SD in faulted state is suspect? Lots of overhead and moving parts have to be working for that? As noted - some faults allow USB Serial.print() others do not - but returning...
  24. @MeBoop - indeed - would be great to see your...

    @MeBoop - indeed - would be great to see your 'crash trace dumo' code.

    FrankB added a great T_4.x solution using the RAM2 area for Fault data storage. RAM2 is not zeroed on restart and if power...
  25. Looks right for FAT32. Fat16 was big enough for...

    Looks right for FAT32. Fat16 was big enough for MS-DOS as HDD's grew - much more so accounting for var sized clusters with compression factor of 16:1. Even Win95 with FAT32 couldn't fit FAT in...
  26. p#523 crosspost ... Windows view of USB Hub...

    p#523 crosspost ...

    Windows view of USB Hub Drive >> H: << and Flash drives >> F: and G: << as below:
    23845

    Here is run on p#522 updated code - now has ExFat drive size:


    Waiting up to 5...
  27. Just plugged in my 5 TB external - yesterday's...

    Just plugged in my 5 TB external - yesterday's code - doesn't matter given the part ID #238:


    msc # Partition Table
    part,boot,bgnCHS[3],type,endCHS[3],start,length...
  28. Replies
    8
    Views
    109

    Great! Also easy to use :: #define WIRE WIRE2 ...

    Great! Also easy to use :: #define WIRE WIRE2

    Not sure where those pin numbers came from they don't seem to match any 32 bit Teensy card. The T_3.5 and 3.6 can use ALT WIRE on pins 7&8.
  29. Replies
    302
    Views
    38,712

    The T_4.1 package is : LFBGA196 and 12 x 12 mm,...

    The T_4.1 package is : LFBGA196 and 12 x 12 mm, 0.8 mm pitch, ball matrix

    The 1170 package is : LFBGA289 and 14 mm x 14 mm, 0.8 mm pitch

    There was a note IIRC the board would have to be bigger...
  30. Replies
    8
    Views
    109

    As noted those pins are for Wire2 So all the...

    As noted those pins are for Wire2
    So all the WIRE commands need to use WIRE2 not WIRE

    That should select the right internal hardware to connect those pins.
  31. Glad you got it - there is an #if 0 in setup that...

    Glad you got it - there is an #if 0 in setup that will quickly confirm Faults are trapped as configured.

    Locked up? Does it do the CARAT printing from timer with "#define SHOW_CLOCK_CARAT 1"? If...
  32. @wwatson - perhaps with line #16 on in UPDATE...

    @wwatson - perhaps with line #16 on in UPDATE sketch below : //#define SHOW_CLOCK_CARAT 1
    That will show MCU running but USB msgs stalled. Have you hacked in the PR for HardFaults just to know if...
  33. Fun News: Fresh 128GB SD - as noted with 116GB...

    Fun News: Fresh 128GB SD - as noted with 116GB primary ExFat.

    Week old Windows 10 i7 - running next release of Windows 21H1 insider build:

    On SD Deleted Factory Partition - Created one of 8GB {...
  34. p#494 sketch looks Great! Grabbed a fresh...

    p#494 sketch looks Great!

    Grabbed a fresh 128GB SD card and will make it Multi Partition.

    I thought to do something like procesMSDrive(1, msDrive1, msc1); rather than Dupe - but time was...
  35. Buying a Teensy LC would have least cost -...

    Buying a Teensy LC would have least cost - especially if you really use 5 of them. Not sure of any reason it wouldn't work as well as the others for this dedicated purpose?

    See this for PCB...
  36. Done for now - Got Twin Drives Hacked in and...

    Done for now - Got Twin Drives Hacked in and working!!!!

    Duplicated setup code for msDrive 1 and 2 in loop() - and pass ptr to msc1 or msc2 to the func( UsbFs *myMsc )'s that need it ( mbrDump and...
  37. GOOD NEWS! Looks like it was used a year ago for...

    GOOD NEWS! Looks like it was used a year ago for USBHost testing.

    Now it just needs to be coded to bring up a second drive as well.

    My 120GB HUB DRIVE is ExFat and now works - seems to have...
  38. Turned on USB DEBUG This is the inital case on...

    Turned on USB DEBUG

    This is the inital case on power up where ExFat works:


    new_Pipe
    new_Pipe
    Descriptor 5 = ENDPOINT
    Descriptor 5 = ENDPOINT
    Initialize USB drive...control CallbackIn...
  39. Put the Teensy MSC formatted ExFat drive on...

    Put the Teensy MSC formatted ExFat drive on Windows - looks good.

    Had 16 MB Unallocated before the ExFat Partition. Made that space into a FAT drive.

    Both Volumes have usable names - NOT...
  40. Code Merged - ExFat 128GB Flash lives: ...

    Code Merged - ExFat 128GB Flash lives:


    Waiting up to 5 seconds for USB drive
    ^^^^Initialize USB drive...^^^^^~USB drive 1 is present.


    msc1 Partition Table...
  41. Argh - that p#479 doesn't have my edits in :( ...

    Argh - that p#479 doesn't have my edits in :(

    I have another drive : Flash 128 GB that was seen to FAIL using to backup PC data.

    I just went to MSC ExFatFormatter - here is Format okay and...
  42. Turns out BOTH of these drives are MSFT formatted...

    Turns out BOTH of these drives are MSFT formatted :) One for recover 64GB with 2nd partition now formatted where they image it with one of 32GB

    The second 16GB drive they format when putting on...
  43. Just made this ehci.cpp change to my system - No...

    Just made this ehci.cpp change to my system - No change to (1) on the startup Hang with write protected drive:

    USBHS_USBCMD = USBHS_USBCMD_ITC(1) | USBHS_USBCMD_RS |


    This system has...
  44. Just back ... 'not Working' is the norm ......

    Just back ... 'not Working' is the norm ... didn't read enough of the thread :)
    > this with minimal USB 2.0 'hub' - not powered

    Updated above post #470 ::
    That is how Windows sees it, MSFT...
  45. TyCommnader finds all online Teensy units. When...

    TyCommnader finds all online Teensy units. When part of the build process it pops up a dialog to 'pick your Teensy' the first time that hex is uploaded - then on subsequent uploads of that hex it is...
  46. Replies
    1
    Views
    73

    ... first pass answers links to other info ... ...

    ... first pass answers links to other info ...

    Forum search for ILI9488 will find development and notes on SPI display usage. There are options for continuous DMA update or single write...
  47. ... using the p#469 code { I added :...

    ... using the p#469 code { I added : >>>pt->type: 12 }
    My favorite/most used Flash is a FAT32 16GB with a physical write protect switch.
    23836
    That is how Windows sees it, MSFT formatted it when...
  48. Replies
    3
    Views
    111

    Always a pain to plan soldering in advance for...

    Always a pain to plan soldering in advance for pin or socket and top or bottom - and picking the wrong combo leaves a hassle to deal with :(

    If properly wired - and the jumpers are well connected...
  49. T_4.1 with KurtE code ( and the p#467 Volume Name...

    T_4.1 with KurtE code ( and the p#467 Volume Name edit ) - on unpowered hub just the two partition 64GB Flash works!
    >> NOTE: putting this flash in Win machine mounts both partitions/drive letters...
  50. Using unpowered Hub and the 64GB Flash with 32 GB...

    Using unpowered Hub and the 64GB Flash with 32 GB recovery Part - the 2nd part shows using KurtE code:

    Notes on output below:
    > there are about 300-400 pages of files displayed in TyComm on the...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4