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

  1. Replies
    4
    Views
    98

    That is a big change! : free for local...

    That is a big change! : free for local variables:229052 - even FLASH code is smaller.

    Assuming that is not compiled '-0s' ?

    Feel free to leave more details on what was changed where to address...
  2. @wwatson - sorry to hear about the loss. Good...

    @wwatson - sorry to hear about the loss. Good luck finding a worthy distraction.

    ... as far as Post #1084 ... writing this and seeing the code something really obvious came to mind!

    AHA! DOH!...
  3. Replies
    4
    Views
    98

    KurtE's "c)" brings attention to first thought...

    KurtE's "c)" brings attention to first thought here on reading. In the first case:


    teensy_size*: FLASH: code:443968, data:41008, headers:9060 free for files:7632428
    teensy_size*: RAM1:...
  4. Great. MakeFiles_v2204 coming along with Verify -...

    Great. MakeFiles_v2204 coming along with Verify - cleaning up the verbose DIR output not needed. Just stuck on verify of LAST "block" set that is indeterminate length with padding bytes to meet spec...
  5. Kurt - will give that a look. Made good headway...

    Kurt - will give that a look. Made good headway on fileVerify() in MakeFiles - after distractions and that bad (?) SD card causing hangs

    Something odd with USB here ... indeed it builds MTP EXP...
  6. : Seems the SD card is no longer reliable....

    <EDIT>: Seems the SD card is no longer reliable. Alternating that one and another, this one kept hanging on Read for Verify - or other?
    >> Switch back to PLAIN SERIAL - not trying MTP ... Zzzzz's
    ...
  7. RE p#1084 > Build in IDE and use T_SerMon -...

    RE p#1084

    > Build in IDE and use T_SerMon - Port shows as "//fake an include everything device" - I see why so the USB_Desc is getting used: {'T','e','e','n','s','y',' ','M','T','P','...
  8. Not sure what I missed? Running on T_4.1: >...

    Not sure what I missed? Running on T_4.1:

    > boards.local.txt - lost again on dumping folder :( - Teensyduino-File-System-Integration-including-MTP-and-MSC
    --> Cool same as prior string in TSET...
  9. As long as you save a copy of the original source...

    As long as you save a copy of the original source file the change can always be restored - or a reinstall with TeensyInstaller.

    It won't cause any harm - it will just NEVER reboot for upload...
  10. Replies
    6
    Views
    211

    Does post #2 show post#1 issue resolved? Was...

    Does post #2 show post#1 issue resolved?

    Was going to suggest an example after p#1 - then p#2 that worked ...
  11. Okay, that answers that quite well. Must have...

    Okay, that answers that quite well. Must have just been my machine in odd state? Was afraid something might have gone odd in TyComm with recent updates ... the added 'magic IDE SerMon' message or...
  12. Mike, did you get the latest TyComm published...

    Mike, did you get the latest TyComm published yesterday?
  13. It was getting late here ... machine was calling...

    It was getting late here ... machine was calling for update restart ... the WIP MakeFiles was printing double/Quad chars it didn't need too ...

    So machine state may have been an issue. But...
  14. Replies
    16
    Views
    316

    What Teensy is in use? This library is included...

    What Teensy is in use? This library is included in TeensyDuino: github.com/nox771/i2c_t3

    But it has not been updated for T_4's. One it's features is an async i2c interface.
  15. Replies
    23
    Views
    323

    As far as the schematic it shows on one side the...

    As far as the schematic it shows on one side the Teensy pin number and on the other on the MCU end shows the port and 'bit' number within the port.

    Running this sketch...
  16. I have not updated CORES for normal Serial. As...

    I have not updated CORES for normal Serial.

    As noted MakeFiles.INO was running as Serial and added #ifdef to ideally allow selective use of MTP.
    > the MTP.H, and All MTP code is under: #ifdef...
  17. Replies
    16
    Views
    316

    You can post issues on the github to the author...

    You can post issues on the github to the author is something could be clarified.

    As noted, the posting was two hours delayed - walked away with it written on an 'interrupting task' :)

    As noted...
  18. Wire.h is the base i2c supplied and supported by...

    Wire.h is the base i2c supplied and supported by PJRC. It covers all WIRE#'s on various Teensy models: See {local install}\hardware\teensy\avr\libraries\Wire\WireKinetis.h

    i2c_t3.h is an...
  19. Replies
    16
    Views
    316

    Once Threads are enabled - everything is 'a...

    Once Threads are enabled - everything is 'a thread' - including loop, as only one thing can run at a time on the single CPU core.

    AFAIK by default all threads are given the same value for...
  20. Replies
    5
    Views
    142

    Allow source or stand alone executable is...

    Allow source or stand alone executable is available for : Teensy-Qt

    It has a GUI - always in use here - (except Iploader for use on the LOCKABLE variants of the T_4.x 1062's) - as SerMon and...
  21. Replies
    16
    Views
    316

    If both "A" and "loop" have 10ms timeslices - as...

    If both "A" and "loop" have 10ms timeslices - as noted in p#4 - it will return in 10ms.

    So every 20ms both threads will run once. And in 1 sec, 1000 ms, both will execute 50 times.
  22. Thread: Teensy Qt

    by defragster
    Replies
    456
    Views
    188,927

    Great work, and Thank you @koromix!

    Great work, and Thank you @koromix!
  23. Replies
    16
    Views
    316

    The ReadMe does - the sentence after the...

    The ReadMe does - the sentence after the indicated text above:


    Notes on implementation
    Threads take turns on the CPU and are switched by the context_switch() function, written in assembly. This...
  24. Replies
    11
    Views
    253

    SDIO not working? Seems like the SDIO adapter may...

    SDIO not working? Seems like the SDIO adapter may have wiring issue.

    See this post and following to confirm proper wiring: T4-SDIO-SD-Card-quot-initialization-failed

    Paul made a simple sketch...
  25. No MakeFiles.ino Update, except a few minutes...

    No MakeFiles.ino Update, except a few minutes progress getting bearings in the file. A few minutes to complete left for after next daylight fades.



    FILE .++zDDd....
  26. Replies
    16
    Views
    316

    The readme might have some answers:...

    The readme might have some answers: github.com/ftrias/TeensyThreads



    Notes on implementation
    Threads take turns on the CPU and are switched by the context_switch() function, written in...
  27. Replies
    16
    Views
    316

    More info on the Threading tool in use would...

    More info on the Threading tool in use would help. TeensyThreads or other?

    With a one second test in loop() the differ in the thread Counter++ could be measured.

    But with delay(1000) in both...
  28. Did a double byte clone of MakeNames() in...

    Did a double byte clone of MakeNames() in MakeFiles.ino:


    dbMakeN File:россиянин/��.txt=32
    dbMakeN File:россиянин/��.txt=32
    dbMakeN File:россиянин/α.txt=32
    dbMakeN File:россиянин/β.txt=32
    ...
  29. Here with current MakeFiles.ino indeed, Serial...

    Here with current MakeFiles.ino indeed, Serial connect to SerMon with SereMu at : Serial online : 5010

    As Kurt notes - faster normal Serial would be better.

    If yield() / eventResponder code...
  30. In MakeFiles is an ASCII test MakeNames() -...

    In MakeFiles is an ASCII test MakeNames() - perhaps that could easily be edited/cloned to make UTF8 names in some fashion. That was done when wwatson found some naming issue before it was understood....
  31. Replies
    3
    Views
    192

    Paul can answer the BUS question ... RAM2 diff...

    Paul can answer the BUS question ... RAM2 diff somewhat from RAM1 that is why it is good for DMA
    Quick other notes AFAIK:
    - RAM1 runs at CPU speed
    - RAM2 is clocked at CPU/4 as noted
    - there is...
  32. Updated MakeFiles...

    Updated MakeFiles

    It now scans ALL DIRS! And checks any file with fileSize as start of name to match reported length.

    Byte check of file blocks not started.

    Other tidbits added - KB/sec on...
  33. Quick search shows it isn't used often "lfs.h" -...

    Quick search shows it isn't used often "lfs.h" - just one copy in "info struct" for each file:


    // Maximum name size in bytes, may be redefined to reduce the size of the
    // info struct. Limited...
  34. Replies
    8
    Views
    156

    Respect is always appreciated. When not enough...

    Respect is always appreciated. When not enough info is given to see a path to the answer seeing the code can be essential.

    Never used but this shows up: github.com/PaulStoffregen/X-Plane_Plugin
    ...
  35. Thanks for the RAM Stream code link - saw it in...

    Thanks for the RAM Stream code link - saw it in passing ... and a lot has been passing by.

    Yes, if ( !MTP.loop() ), or anything like that bool or other 'status' value as helpful could be useful....
  36. Some good questions. Could MTP.loop() have a...

    Some good questions. Could MTP.loop() have a return value indicating status? It is always called and state of it could be tracked easily.

    Would be nice to know when Serial is really .available()....
  37. Yes, byte by byte compare after the fact - with...

    Yes, byte by byte compare after the fact - with human readable index# blocks to allow one to easily see where pieces went missing or where they came from as early failures were files holding data...
  38. Indeed, for 256MB media thousands of files...

    Indeed, for 256MB media thousands of files doesn't make sense.

    Numbers in p#1011 for Flash seem reasonable for usable space and number of files if it gives more timely responsive system.

    I...
  39. With existing LFS disk params: Edited...

    With existing LFS disk params:

    Edited MakeFiles here to make files on the 2Gb flash:

    Total 127 files of Size 7766016 Bytes
    Bytes Used: 17301504, Bytes Total:265289728

    That is 6 4KB files...
  40. That is a Huuge difference ... space (50% free...

    That is a Huuge difference ... space (50% free versus over 700% short!) utilization and speed!

    BTW: I bugged koromix for 1062 uploads timing out ( long erase times or MTP online ) - he upped the...
  41. Cool ... I'm in the yard - truck loaded twice...

    Cool ... I'm in the yard - truck loaded twice more so far ... and two new computers to unbox today and update and recover old ... and seems somebody else needs a new printer
  42. Replies
    7
    Views
    152

    Thanks @joepasquariello was hoping somebody with...

    Thanks @joepasquariello was hoping somebody with a clue might see the added messages ...
  43. Replies
    7
    Views
    152

    All sources are installed by TeensyDuino...

    All sources are installed by TeensyDuino installer in the chosen Arduino install folder.

    Going to that install folder this should be the source for the 1062 AnalogWrite:...
  44. So Current - beyond TD 1.56 - is : ...

    So Current - beyond TD 1.56 - is :
    github.com/PaulStoffregen/LittleFS.git : updates including SPI clock change and flash strings
    KurtE/MTP_Teensy/tree/cache_storage_records : cache speed up trial...
  45. Replies
    7
    Views
    152

    Pending knowing useful reply ... It seems this...

    Pending knowing useful reply ...

    It seems this question was once answered ... maybe Bing or g00gle can find it?

    bing.com/search?q=site:forum.pjrc.com%20pwm+synchronization << With proper key...
  46. Cool - nice when I provoke a wealth of info with...

    Cool - nice when I provoke a wealth of info with an off key note :)

    I was not in SPI mindset ... Still thinking of turbo QSPI speeds ... that was a good wakeup!
  47. Glad that is pinpointed - though odd and not...

    Glad that is pinpointed - though odd and not ideal.

    I wonder if Paul could put those two 2Gbit chips onto TWO PCB's? And on at least one not put pins on? Then you could cut custom wires to...
  48. Oppps - was editing old post without refresh :...

    Oppps - was editing old post without refresh : THIS WORKS



    //#define SPICONFIG_NAND SPISettings(55000000, MSBFIRST, SPI_MODE0)
    #define SPICONFIG_NAND SPISettings(45000000, MSBFIRST,...
  49. Mike/All: I put 4XSPI on PJRC_MM - with SPI.ino...

    Mike/All: I put 4XSPI on PJRC_MM - with SPI.ino and it came up:
    <EDIT>: Sanity check unzipped 1.8.16 and installed TD 1.56 to fresh folder - Get the SAME behavior on that 2Gbit SPI chip on...
  50. Sorry, code not included - those are with defines...

    Sorry, code not included - those are with defines outside the func() - cannot use PROGMEM within a func()

    New var char szSZ2 in one case conflicted with independent szSZ, The second szSZ...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4