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. Replies
    35
    Views
    984

    @Paul - Another Ref point for above post...

    @Paul - Another Ref point for above post USB-Serial-Print-Speed-Test and @mjs513 sketch.

    I have a zip install for IDE 1.8.13 and TD 1.53 that I didn't delete.

    The Teensy is running the prior...
  2. Replies
    3
    Views
    46

    Okay, was just clarifying the need to use Teensy...

    Okay, was just clarifying the need to use Teensy Host to Emulate libusb as Windows Host would present it. T4.x makes sense.

    Names above are the API Doc's - and the source code :(

    USB Host has...
  3. I added a file to examples? Not where it should...

    I added a file to examples? Not where it should be ... but ...
  4. I made a forked copy and put that folder and file...

    I made a forked copy and put that folder and file on this system.

    Then made that PR - not sure how it isn't normal.

    When I go to the www.git clicking Pull Request want's to know from where. If...
  5. Probably not :) It seemed a new folder was...

    Probably not :)

    It seemed a new folder was needed - not sure if I can do that from the web?

    If I had write permission - or you created a new git for that?

    Will go try ...
  6. Replies
    3
    Views
    46

    Some of that in MSC and USBHost work ongoing in...

    Some of that in MSC and USBHost work ongoing in other threads ( wwatson, WMXZ, KurtE, mjs513 ) - how many of those elements are supported now?

    This is for use on USB Host connect on Teensy 3.6 and...
  7. Replies
    3
    Views
    93

    opps ... misread ... not an EE for solving the...

    opps ... misread ... not an EE for solving the real problem then.

    But do understand that having two supplies is a bad idea without diode protection, the VIN<>VUSB trace should be cut - why the...
  8. Replies
    12
    Views
    163

    In use the direct read of the end switches may...

    In use the direct read of the end switches may chatter as well - depending on how they are switched - could result in bouncing on/off - adding those as two more de bounced buttons may be better.
    ...
  9. Replies
    35
    Views
    984

    @Paul for reference using :...

    @Paul for reference using : github.com/PaulStoffregen/USB-Serial-Print-Speed-Test

    With IDE 1.8.13 SerMon and T_4.1 [ Win 10 w/TD 1.54b7 ]:
    SerMon works for some time - spewed some ASM source -...
  10. Replies
    12
    Views
    163

    Referring back to post#6 sketch - the BOUNCE2 lib...

    Referring back to post#6 sketch - the BOUNCE2 lib was used as an example to make sure the buttons were properly monitored without BOUNCE - pushing/releasing most buttons will see them cycle HIGH/LOW...
  11. UPDATING to DELETE PRIOR POST - external drive...

    UPDATING to DELETE PRIOR POST - external drive had POWER OFF :( - it FELL once - changed Teensy setup on desk and put rubber feet on External HUB/DRIVE.

    Got the updated p#23 UsbMsc. Using the...
  12. IGNORE THIS POST - The external HUB/HDD was...

    IGNORE THIS POST - The external HUB/HDD was unplugged

    The SD card on the PC looks like this with 4 Parts:
    23878
  13. Indeed if it can work include @all >> @All...

    Indeed if it can work include @all

    >> @All here : wwatson, mjs513, KurtE. WMXZ ...

    Lots of libs in :: MTP-MSC-FS-SD-SDFat-LittleFS-UsbMSCFat

    Other: USBHost@PJRC
  14. @All here : wwatson, mjs513, KurtE ... If I...

    @All here : wwatson, mjs513, KurtE ...

    If I made the Unified multi Lib on github and gave all write access we wouldn't need PR's (or catching diff edits) - just fixes?

    Does that have validity -...
  15. Replies
    35
    Views
    984

    As noted the 'java exceptions' were not PJRC code...

    As noted the 'java exceptions' were not PJRC code but the IDE SerMon! It was working better than T_sermon - until it ran out of memory.


    Was going back to other code that wouldn't build - and...
  16. Same build issue here on prior code. Must be...

    Same build issue here on prior code. Must be another moving part?

    I like the idea of having one thread for this combination effort for context - so here is fine without jumping threads or...
  17. Replies
    35
    Views
    984

    Glad to confirm - saw your note and had to go to...

    Glad to confirm - saw your note and had to go to effort to remove TyComm as that is the default here.

    Now that it got the noted Java Exceptions - even restarting the IDE didn't seem to bring the...
  18. Thanks TonTon81 - I did go look at your code and...

    Thanks TonTon81 - I did go look at your code and saw that watchdogs have their own exit path not through Fault. Of course by default no watchdogs are enabled.

    @FrankB and @MeBoop : bummer their...
  19. Replies
    35
    Views
    984

    I can confirm this on my new i7-10700 Windows 10...

    I can confirm this on my new i7-10700 Windows 10 machine.
    With Teensyserialmon.exe
    I pulled out TyCommander as default and using IDE 1.53 with TD 1.54b7
    > It Stalls printing about 1.5 seconds
    >...
  20. dir() is the other way around. Running along and...

    dir() is the other way around. Running along and see a problem and cause a reset.

    The userHFDebugDump() is:
    > Fault happens - as it does log return address
    > Call empty weak userHFDebugDump() :...
  21. Replies
    3
    Views
    93

    The 3.3V pin on Teensy can only take a regulated...

    The 3.3V pin on Teensy can only take a regulated 3.3V if feeding that.

    If Feeding VIN on a T_3.2 the card spec shows 3.6 to 6.0 Volts. Any less than that and the Teensy can't assure 3.3V as there...
  22. Replies
    12
    Views
    163

    If the post #6 code works reliably to print the...

    If the post #6 code works reliably to print the desired message using wired buttons - then instead of just printing - issue the commands to the motor as indicated for FWD or REV? What the commands...
  23. 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.
  24. 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...
  25. Thread: Micropython

    by defragster
    Replies
    11
    Views
    307

    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.
  26. Thread: Micropython

    by defragster
    Replies
    11
    Views
    307

    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...
  27. 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...
  28. 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...
  29. 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...
  30. 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...
  31. 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...
  32. 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...
  33. 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? ...
  34. 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...
  35. Replies
    17
    Views
    4,490

    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...
  36. 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...
  37. Replies
    12
    Views
    163

    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...
  38. Replies
    12
    Views
    163

    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...
  39. 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.
  40. Replies
    12
    Views
    163

    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?
  41. Replies
    8
    Views
    126

    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:...
  42. 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:...
  43. 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...
  44. 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...
  45. @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...
  46. @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...
  47. 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...
  48. 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...
  49. 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...
  50. Replies
    8
    Views
    126

    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.
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4