Home
last modified time | relevance | path

Searched refs:serial (Results 1 – 25 of 38) sorted by relevance

12

/hal_espressif-latest/tools/idf_monitor/idf_monitor_base/
Dserial_reader.py9 import serial
29 self.serial = serial_instance
32 if not hasattr(self.serial, 'cancel_read'):
35 self.serial.timeout = CHECK_ALIVE_FLAG_TIMEOUT
39 if not self.serial.is_open:
40 self.serial.baudrate = self.baud
47 self.serial.dtr = low # Non reset state
48 self.serial.rts = high # IO0=HIGH
49 self.serial.dtr = self.serial.dtr # usbser.sys workaround
51 self.serial.open()
[all …]
Dconsole_reader.py20 from serial.tools.miniterm import Console
Dserial_handler.py11 import serial # noqa: F401
12 from serial.tools import miniterm # noqa: F401
Dlogger.py20 from serial.tools import miniterm # noqa: F401
/hal_espressif-latest/tools/esptool_py/esp_rfc2217_server/
Desp_port_manager.py14 import serial
15 import serial.rfc2217
16 from serial.rfc2217 import (
31 class EspPortManager(serial.rfc2217.PortManager):
47 self.serial.dtr = False
77 HardReset(self.serial)()
93 CustomReset(self.serial, cfg_custom_reset_sequence)()
95 UnixTightReset(self.serial, delay)()
97 ClassicReset(self.serial, delay)()
Dredirector.py15 self.serial = serial_instance
19 self.serial,
53 data = self.serial.read(self.serial.in_waiting or 1)
76 self.serial.write(b"".join(self.rfc2217.filter(data)))
D__init__.py18 import serial
72 ser = serial.serial_for_url(args.SERIALPORT, do_not_open=True, exclusive=True)
82 except serial.SerialException as e:
/hal_espressif-latest/tools/esptool_py/docs/en/esptool/
Dserial-connection.rst6 The ROM serial bootloader of Espressif chips uses a 3.3V UART serial connection. Many development b…
20 Note that TX (transmit) on the ESP chip is connected to RX (receive) on the serial port connection,…
22 Do not connect the chip to 5V TTL serial adapters, and especially not to "standard" RS-232 adapters…
29 When communicating with the {IDF_TARGET_NAME} ROM serial bootloader, the following serial port sett…
Dremote-serial-ports.rst4 …worked remote serial port that supports `RFC2217 <http://www.ietf.org/rfc/rfc2217.txt>`__ (Telnet)…
10 …S automatic resetting are supported over the RFC2217 protocol, the same as for a local serial port.
15 …rt-tcp-ip-serial-bridge-rfc-2217>`__ and a `multi-port example <http://pyserial.readthedocs.io/en/…
36 For servers or hardware network/serial adapters which don't support the full RFC2217, it is also po…
62 All of the remote serial port support comes via pyserial. Read more `here <http://pyserial.readthed…
Dbasic-options.rst23 * The serial port is selected using the ``-p`` option, like ``-p /dev/ttyUSB0`` (Linux and macOS) …
24 * A default serial port can be specified by setting the ``ESPTOOL_PORT`` environment variable.
25 …L_PORT`` value is specified, ``esptool.py`` will enumerate all connected serial ports and try each…
29 …cOS may require drivers to be installed for a particular USB/serial adapter, before a serial port …
36 In Linux, the current user may not have access to serial ports and a "Permission Denied" or "Port d…
38 You can call ``su - $USER`` to enable read and write permissions for the serial port without having…
52 …so choose 74880, which is the :ref:`usual baud rate used by the ESP8266 <serial-port-settings>` to…
Dentering-bootloader.rst6 Espressif chips have to be reset in a certain way in order to launch the serial bootloader, only th…
8 …32-WROVER-KIT), esptool can :ref:`automatically trigger a reset into the serial bootloader <automa…
10 For everyone else, three things must happen to enter the serial bootloader (firmware download mode)…
Dindex.rst20 Serial Connection <serial-connection>
22 Remote Serial Ports <remote-serial-ports>
Dadvanced-options.rst22 …* ``--before default_reset`` is the default, which uses DTR & RTS serial control lines (see :ref:`…
23serial synchronisation command to the chip. This is useful if your chip doesn't have DTR/RTS, or f…
24 …no_sync`` will skip DTR/RTS control signal assignments and skip also the serial synchronization co…
34 …* ``--after hard_reset`` is the default. The DTR serial control line is used to reset the chip int…
35 …This runs the user firmware, but any subsequent reset will return to the serial bootloader. This w…
36 * ``--after no_reset`` leaves the chip in the serial bootloader, no reset is performed.
142 Filtering serial ports
147 with many serial ports. There are a few different types that can be combined. A port must match all…
Dflasher-stub.rst6serial flasher utility. It communicates with the ROM bootloader in `Espressif SoCs <https://www.es…
Dconfiguration-file.rst6 ``esptool.py`` relies on serial communication when connecting to, reading from, or writing to an ES…
7 To ensure this two-way serial connection works properly, ``esptool.py`` is tuned with several pre-d…
102 | serial_write_timeout | Timeout for serial port write | 10 s …
119 used when an :ref:`automatic reset into the serial bootloader <automatic-bootloader>` is performed.
/hal_espressif-latest/tools/idf_monitor/
Didf_monitor.py34 import serial
35 import serial.tools.list_ports
55 from serial.tools import miniterm
106 self.serial = serial_instance
107 self.serial_reader = SerialReader(self.serial, self.event_queue)
109 … self.gdb_helper = GDBHelper(toolchain_prefix, websocket_client, self.elf_file, self.serial.port,
110 self.serial.baudrate)
113 … self.serial = subprocess.Popen([elf_file], stdin=subprocess.PIPE, stdout=subprocess.PIPE,
115 self.serial_reader = LinuxReader(self.serial, self.event_queue)
120 False, False, self.serial, encrypted)
[all …]
/hal_espressif-latest/tools/esptool_py/docs/en/
Dtroubleshooting.rst17 * Check you are passing the correct serial port on the command line.
18 …ess the serial port, and other software (such as modem-manager on Linux) is not trying to interact…
61 It is possible to have a power supply that supplies enough current for the serial bootloader stage …
65 …t may seem to work sometimes, but it won't work reliably). Other USB TTL/serial adapters may also …
101 …Use any of `serial terminal programs`_ to view the boot log. (ESP8266 baud rate is 74880bps). See …
105 …Use any of `serial terminal programs`_ to view the boot log. ({IDF_TARGET_NAME} baud rate is 11520…
112 …s://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/api-guides/usb-serial-jtag-console.html>…
118 …implement this, connect the UART port to another instance of any of the `serial terminal programs`…
124serial terminal programs suitable for debugging & serial interaction. The pySerial module (which i…
125 For exact serial port configuration values, see :ref:`serial-port-settings`.
[all …]
Dindex.rst38 …Replace ``PORT`` with the name of used serial port. If connection fails, see :ref:`troubleshooting…
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/l2cap/
Dbtc_l2cap.c58 uint8_t serial; member
189 (*slot)->serial = i; in l2cap_malloc_slot()
244 l2cap_local_param.l2cap_slots[slot->serial] = NULL; in l2cap_free_slot()
246 xEventGroupSetBits(l2cap_local_param.tx_event_group, SLOT_CLOSE_BIT(slot->serial)); in l2cap_free_slot()
771 uint8_t serial = 0; in btc_l2cap_cb_handler() local
964 serial = slot->serial; in btc_l2cap_cb_handler()
976 … xEventGroupSetBits(l2cap_local_param.tx_event_group, SLOT_WRITE_BIT(serial)); in btc_l2cap_cb_handler()
1016 uint8_t serial = 0; in l2cap_vfs_write() local
1025 serial = slot->serial; in l2cap_vfs_write()
1055 if ((slot = l2cap_local_param.l2cap_slots[serial]) != NULL) { in l2cap_vfs_write()
[all …]
/hal_espressif-latest/tools/esptool_py/docs/en/advanced-topics/
Dboot-mode-selection.rst21 …The following ESP8266 pins must be in a known state for either normal (flash boot) or serial bootl…
33 …When the ESP8266 goes into serial bootloader mode, the Boot ROM switches GPIO2 to an output and th…
38 …The ESP8266 will enter the serial bootloader when GPIO0 is held low on reset. Otherwise it will ru…
43 | Low/GND | ROM serial bootloader for esptool |
66 …The {IDF_TARGET_NAME} will enter the serial bootloader when {IDF_TARGET_STRAP_BOOT_GPIO} is held l…
75 - ROM serial bootloader for esptool
88 …t also be either left unconnected/floating, or driven Low, in order to enter the serial bootloader.
92 …{IDF_TARGET_STRAP_BOOT_2_GPIO} must also be driven High, in order to enter the serial bootloader r…
102 …As well as the above mentioned pins, other ones influence the serial bootloader, please consult th…
106 …_GPIO} and {IDF_TARGET_STRAP_BOOT_2_GPIO}, the following pins influence the serial bootloader mode:
[all …]
Dindex.rst10 Serial Protocol <serial-protocol>
/hal_espressif-latest/tools/esptool_py/
DCHANGELOG.md20 - **esp32c5**: Add USB-serial/JTAG stub support
51 - **esp32p4**: Enable USB-serial/JTAG in flasher stub
71 - **esp32-c5**: Use a longer reset delay with usb-serial/jtag to stabilize boot-up
115 - **loader**: Added hints for some serial port issues when rising port error
142 - **loader**: Could not open serial port message adjusted
143 - **flasher_stub**: fix usb-serial-jtag enabled non-related intr source
162 - **CH9102F**: Suggest to install new serial drivers if writing to RAM fails
219 - **espefuse**: Close serial port even when espefuse fails
234 - Readable error message for serial-related issues
249 - Recover from serial errors when flashing
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/spp/
Dbtc_spp.c53 uint8_t serial; member
140 (*slot)->serial = i; in spp_malloc_slot()
280 spp_local_param.spp_slots[slot->serial] = NULL; in spp_free_slot()
283 xEventGroupSetBits(spp_local_param.tx_event_group, SLOT_CLOSE_BIT(slot->serial)); in spp_free_slot()
1022 uint8_t serial = 0; in btc_spp_cb_handler() local
1119 serial = slot->serial; in btc_spp_cb_handler()
1127 xEventGroupSetBits(spp_local_param.tx_event_group, SLOT_WRITE_BIT(serial)); in btc_spp_cb_handler()
1277 serial = slot->serial; in btc_spp_cb_handler()
1283 if ((slot = spp_local_param.spp_slots[serial]) != NULL && in btc_spp_cb_handler()
1443 uint8_t serial = 0; in spp_vfs_write() local
[all …]
/hal_espressif-latest/west/
Dtools.py47 import serial.tools.list_ports
51 ports = list(sorted(p.device for p in serial.tools.list_ports.comports()))
/hal_espressif-latest/tools/esptool_py/esptool/
Dloader.py32 import serial
43 if "serialization" in serial.__doc__ and "deserialization" in serial.__doc__:
59 import serial.tools.list_ports as list_ports
64 % (serial.VERSION, sys.executable)
333 self._port = serial.serial_for_url(
344 except serial.serialutil.SerialException as e:

12