Open LeonBirkel opened 2 hours ago
Hi @LeonBirkel,
could you provide all the commands, how do you configure esp-idf
(install & export), build and flash example and run pytest.
Thanks.
Thank you for the fast reply. Pytest: PS C:\BA\bastion\hardware-trust-anchor\board-v5> pytest ./pytest_usb_device_serial.py
Install & import is handled by the VsCode extension. I select Express installation.
For building and flashing I use the VScode UI, it prints this command into my console: C:\Users\leonb.espressif\python_env\idf5.3_py3.11_env\Scripts\python.exe C:\Users\leonb\esp\v5.3.1\esp-idf\components\esptool_py\esptool\esptool.py -p COM9 -b 460800 --before default_reset --after hard_reset --chip esp32s3 write_flash --flash_mode dio --flash_freq 80m --flash_size 2MB 0x0 bootloader/bootloader.bin 0x10000 board-v5.bin 0x8000 partition_table/partition-table.bin
Is this the information you need @roma-jam or did I misunterstand something?
Answers checklist.
IDF version.
v5.3.1
Espressif SoC revision.
ESP32-s3 (QFN56) (revision v0.2)
Operating System used.
Windows
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
PowerShell
Development Kit.
ESP32 S3 DevKitC 1 N16R8 ESP32 S3 WROOM1 N16R8 Development Board
Power Supply used.
USB
What is the expected behavior?
After importing the example, builing and flashing. I expect the pytest to run.
What is the actual behavior?
Pytest is failing (Debug Logs)
Steps to reproduce.
Debug Logs.
More Information.
I did not do Pin Assignment since I undestand that this is not required for my board. Both USB cables are currently connected. If I do manual tests(putty), I can see the example log outputs on the board, but it seems like the board cannot send any data back. See below for more details to my manual testing