Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Teensy 3.6 test #190

Open
Vict0rAH opened this issue Apr 7, 2021 · 0 comments
Open

Teensy 3.6 test #190

Vict0rAH opened this issue Apr 7, 2021 · 0 comments

Comments

@Vict0rAH
Copy link

Vict0rAH commented Apr 7, 2021

Hi.

I am having difficulties executing tests using PlatformIO on my Teensy 3.6.
Initially I wrote my own test after reading the Unit Testing tutorial, but when I try to execute the tests with the board connected, it builds, uploads and starts testing but nothing more happens. When I press the reset button after 10 seconds, the the terminal output is the following,

`Testing...
If you don't see any output for the first 10 secs, please reset board (press reset button)

Error: Traceback (most recent call last):
File "c:\users\victo.platformio\penv\lib\site-packages\platformio_main_.py", line 109, in main
cli() # pylint: disable=no-value-for-parameter
File "c:\users\victo.platformio\penv\lib\site-packages\click\core.py", line 829, in call
return self.main(*args, **kwargs)
File "c:\users\victo.platformio\penv\lib\site-packages\click\core.py", line 782, in main
rv = self.invoke(ctx)
File "c:\users\victo.platformio\penv\lib\site-packages\platformio\commands_init_.py", line 44, in invoke
return super(PlatformioCLI, self).invoke(ctx)
File "c:\users\victo.platformio\penv\lib\site-packages\click\core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "c:\users\victo.platformio\penv\lib\site-packages\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\users\victo.platformio\penv\lib\site-packages\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "c:\users\victo.platformio\penv\lib\site-packages\click\decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "c:\users\victo.platformio\penv\lib\site-packages\platformio\commands\test\command.py", line 171, in cli
"succeeded": tp.process(),
File "c:\users\victo.platformio\penv\lib\site-packages\platformio\commands\test\embedded.py", line 52, in process
return self.run()
File "c:\users\victo.platformio\penv\lib\site-packages\platformio\commands\test\embedded.py", line 83, in run
line = ser.readline().strip()
File "c:\users\victo.platformio\penv\lib\site-packages\serial\serialwin32.py", line 275, in read
raise SerialException("ClearCommError failed ({!r})".format(ctypes.WinError()))
serial.serialutil.SerialException: ClearCommError failed (PermissionError(13, 'Enheden genkender ikke kommandoen.', None, 22))

============================================================

An unexpected error occurred. Further steps:

============================================================`

I then tried to use the calculator example, but the outcome is the same. It simply tries to run the test, but nothing ever happens.
I've also made sure I am using the latest version of PlatformIO.

What am I doing wrong?
Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant