Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: Teensy.exe remains active after Arduino IDE closed -- failed file creation repeatedly

  1. #1
    Member
    Join Date
    Apr 2016
    Location
    Honolulu, Hawaii
    Posts
    37

    Teensy.exe remains active after Arduino IDE closed -- failed file creation repeatedly

    After I close the Arduino IDE and unplug the teensy board, the teensy.exe process remains active and continuously attempts to create a file, always getting a "Path not found" result.

    In this particular instance teensy.exe is attempting to create the hex file corresponding to the last sketch I was working on before shutting down the IDE:

    C:\Users\cff\AppData\Local\Temp\build1a815bdf9c5bf de50d8033dce09cdb00.tmp\WhisperSom_01g.ino.hex

    Is this behavior by design?

    I've attached a ProcMon screen shot.

    Click image for larger version. 

Name:	ProcMon_teensy_exe.jpg 
Views:	152 
Size:	88.3 KB 
ID:	6968

    Thanks!!

    -- CraigF

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    21,827
    It's trying to read the file, not create it.

    In the WIN32 API the CreateFile function does many things depending on its inputs. Despite the name, it's actually used to open existing files without creating them, if given the option to not consider a missing file as an error.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •