0073b6236ed1bdf62b3e821590308b09aeca3367
Board-dat/NWI/NWI1243-dat/NWI1243-dat.md
| ... | ... | @@ -1,6 +1,11 @@ |
| 1 | 1 | |
| 2 | 2 | # NWI1243-dat |
| 3 | 3 | |
| 4 | + |
|
| 5 | +[ESP32-S3 Development Board, Dual USB, Wifi + BLE5](https://www.electrodragon.com/product/esp32-s3-development-board-dual-usb-wifi-ble5/) |
|
| 6 | + |
|
| 7 | + |
|
| 8 | + |
|
| 4 | 9 |  |
| 5 | 10 | |
| 6 | 11 |  |
SDK-dat/ESP-SDK-dat/esptool-dat/esptool-dat.md
| ... | ... | @@ -3,8 +3,83 @@ |
| 3 | 3 | |
| 4 | 4 | ## python CLI version |
| 5 | 5 | |
| 6 | -### ESP32C3 |
|
| 7 | -C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.2.1/esptool.exe --chip esp32c3 --port COM12 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x0 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_867944/NWI1119-AP-1.ino.bootloader.bin 0x8000 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_867944/NWI1119-AP-1.ino.partitions.bin 0xe000 C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/partitions/boot_app0.bin 0x10000 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_867944/NWI1119-AP-1.ino.bin |
|
| 6 | +- [[python-dat]] |
|
| 7 | + |
|
| 8 | + |
|
| 9 | +## install python 3 |
|
| 10 | + |
|
| 11 | + pip3 install esptool |
|
| 12 | + |
|
| 13 | +or python2 == pip install esptool |
|
| 14 | + |
|
| 15 | + |
|
| 16 | + |
|
| 17 | + |
|
| 18 | +## basic usage |
|
| 19 | + |
|
| 20 | +first erase the entire flash using: |
|
| 21 | + |
|
| 22 | + esptool.py erase_flash |
|
| 23 | + |
|
| 24 | +log |
|
| 25 | + |
|
| 26 | + C:\Users\Administrator>esptool erase_flash |
|
| 27 | + Warning: Deprecated: Command 'erase_flash' is deprecated. Use 'erase-flash' instead. |
|
| 28 | + esptool v5.0.1 |
|
| 29 | + Connected to ESP32-S3 on COM3: |
|
| 30 | + Chip type: ESP32-S3 (QFN56) (revision v0.2) |
|
| 31 | + Features: Wi-Fi, BT 5 (LE), Dual Core + LP Core, 240MHz, Embedded PSRAM 8MB (AP_3v3) |
|
| 32 | + Crystal frequency: 40MHz |
|
| 33 | + USB mode: USB-Serial/JTAG |
|
| 34 | + MAC: f0:9e:9e:22:1d:d0 |
|
| 35 | + |
|
| 36 | + Stub flasher running. |
|
| 37 | + |
|
| 38 | + Flash memory erased successfully in 28.6 seconds. |
|
| 39 | + |
|
| 40 | + Hard resetting via RTS pin... |
|
| 41 | + |
|
| 42 | + |
|
| 43 | + |
|
| 44 | +esptool.py will try to detect the serial port with the ESP32 automatically, but if this fails or there might be more than one Espressif-based device attached to your computer then pass the --port option with the name of the target serial port. For example: |
|
| 45 | + |
|
| 46 | +Flashing |
|
| 47 | + |
|
| 48 | +Then deploy the firmware to the board, starting at address 0: |
|
| 49 | + |
|
| 50 | + esptool.py --baud 460800 write_flash 0 ESP32_BOARD_NAME-DATE-VERSION.bin |
|
| 51 | + esptool --baud 460800 write_flash 0 ESP32_GENERIC_S3-20250415-v1.25.0.bin |
|
| 52 | + |
|
| 53 | +log |
|
| 54 | + |
|
| 55 | + esptool --baud 460800 write-flash 0 ESP32_GENERIC_S3-20250415-v1.25.0.bin |
|
| 56 | + esptool v5.0.1 |
|
| 57 | + Connected to ESP32-S3 on COM3: |
|
| 58 | + Chip type: ESP32-S3 (QFN56) (revision v0.2) |
|
| 59 | + Features: Wi-Fi, BT 5 (LE), Dual Core + LP Core, 240MHz, Embedded PSRAM 8MB (AP_3v3) |
|
| 60 | + Crystal frequency: 40MHz |
|
| 61 | + USB mode: USB-Serial/JTAG |
|
| 62 | + MAC: f0:9e:9e:22:1d:d0 |
|
| 63 | + |
|
| 64 | + Stub flasher running. |
|
| 65 | + Changing baud rate to 460800... |
|
| 66 | + Changed. |
|
| 67 | + |
|
| 68 | + Configuring flash size... |
|
| 69 | + Flash will be erased from 0x00000000 to 0x00198fff... |
|
| 70 | + Compressed 1673008 bytes to 1096502... |
|
| 71 | + Writing at 0x0006b8d1 [====> ] 17.9% 196608/1096502 bytes... |
|
| 72 | + |
|
| 73 | +Troubleshooting |
|
| 74 | + |
|
| 75 | + If flashing starts and then fails partway through, try removing the --baud 460800 option to flash at the slower default speed. |
|
| 76 | + |
|
| 77 | + |
|
| 78 | +### ESP32C3 log |
|
| 79 | + |
|
| 80 | + C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.2.1/esptool.exe --chip esp32c3 --port COM12 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x0 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_867944/NWI1119-AP-1.ino.bootloader.bin 0x8000 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_867944/NWI1119-AP-1.ino.partitions.bin 0xe000 C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/partitions/boot_app0.bin 0x10000 C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_867944/NWI1119-AP-1.ino.bin |
|
| 81 | + |
|
| 82 | +segmented |
|
| 8 | 83 | |
| 9 | 84 | C:\Users\Administrator\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.2.1/ |
| 10 | 85 |
SDK-dat/LUAT-dat/LUAT-dat.md
| ... | ... | @@ -0,0 +1,13 @@ |
| 1 | + |
|
| 2 | +# LUAT-dat |
|
| 3 | + |
|
| 4 | +- [[nodeMCU-dat]] - [[LUA-dat]] |
|
| 5 | + |
|
| 6 | + |
|
| 7 | +## board |
|
| 8 | + |
|
| 9 | +- [[NWI1044-dat]] |
|
| 10 | + |
|
| 11 | +## ref |
|
| 12 | + |
|
| 13 | +- [[script-based-SDK]] |
|
| ... | ... | \ No newline at end of file |
SDK-dat/microPython-dat/2024-10-08-17-35-01.png
| ... | ... | Binary files /dev/null and b/SDK-dat/microPython-dat/2024-10-08-17-35-01.png differ |
SDK-dat/microPython-dat/2024-10-08-17-35-13.png
| ... | ... | Binary files /dev/null and b/SDK-dat/microPython-dat/2024-10-08-17-35-13.png differ |
SDK-dat/microPython-dat/MP-ESP32-dat/ESP32_GENERIC_S3-20250415-v1.25.0.bin
| ... | ... | Binary files /dev/null and b/SDK-dat/microPython-dat/MP-ESP32-dat/ESP32_GENERIC_S3-20250415-v1.25.0.bin differ |
SDK-dat/microPython-dat/MP-ESP32-dat/MP-ESP32-dat.md
| ... | ... | @@ -0,0 +1,31 @@ |
| 1 | + |
|
| 2 | +# MP-ESP32-dat |
|
| 3 | + |
|
| 4 | + |
|
| 5 | + |
|
| 6 | +## Microptyhon for ESP32-S3 |
|
| 7 | + |
|
| 8 | +- [[ESP32-S3-dat]] |
|
| 9 | + |
|
| 10 | +- [[ESPtool-dat]] - [[ESP-SDK-dat]] |
|
| 11 | + |
|
| 12 | +https://micropython.org/download/ESP32_GENERIC_S3/ |
|
| 13 | + |
|
| 14 | +- after flash [[ESP32_GENERIC_S3-20250415-v1.25.0.bin]], re-open new COM port and find: |
|
| 15 | + |
|
| 16 | + MicroPython v1.25.0 on 2025-04-15; Generic ESP32S3 module with ESP32S3 |
|
| 17 | + Type "help()" for more information. |
|
| 18 | + >>> |
|
| 19 | + |
|
| 20 | +try |
|
| 21 | + |
|
| 22 | + >>> import machine |
|
| 23 | + >>> machine.freq() |
|
| 24 | + 160000000 |
|
| 25 | + >>> |
|
| 26 | + |
|
| 27 | + |
|
| 28 | + |
|
| 29 | +## ref |
|
| 30 | + |
|
| 31 | +- [[micropython-dat]] |
|
| ... | ... | \ No newline at end of file |
SDK-dat/microPython-dat/MP-STM32-dat/MP-STM32-dat.md
| ... | ... | @@ -0,0 +1,44 @@ |
| 1 | + |
|
| 2 | +# MP-STM32-dat |
|
| 3 | + |
|
| 4 | + |
|
| 5 | +## repro |
|
| 6 | + |
|
| 7 | + |
|
| 8 | +- https://github.com/Edragon/Code-MicroPython |
|
| 9 | +- https://github.com/Edragon/STM32-F4-MicroPython2 |
|
| 10 | +- https://github.com/Edragon/STM32F4_MP-TPY |
|
| 11 | + |
|
| 12 | +legacy wiki page - https://w.electrodragon.com/w/Micropython_Guide |
|
| 13 | + |
|
| 14 | + |
|
| 15 | + |
|
| 16 | + |
|
| 17 | + |
|
| 18 | + |
|
| 19 | +## Micropython Firmware / Bootloader |
|
| 20 | + |
|
| 21 | +For STM32F405RGT |
|
| 22 | + |
|
| 23 | +* Upload firmware hex by ST-link, no need reset pin |
|
| 24 | +* Flash Firmware - TPYBoardV102.hex |
|
| 25 | + |
|
| 26 | +* Reboot board and connect by USB, it will format itself, two LEDs ON, this takes 3-5 seconds |
|
| 27 | + |
|
| 28 | +* after this, U-disk will show up and sequential LED blink. |
|
| 29 | + |
|
| 30 | +* Now can upload new sketch into it. |
|
| 31 | + |
|
| 32 | + |
|
| 33 | +## hardware flash size |
|
| 34 | + |
|
| 35 | +Since the memory of STM32F401 is small, you need to install flash to simulate a USB flash drive. Recommended flash: W25Q32JVSSIQ 32MBit |
|
| 36 | + |
|
| 37 | +The memory of STM32F411 is twice as large, so you don’t need an external flash to simulate a USB flash drive |
|
| 38 | + |
|
| 39 | +Open the USB flash drive, edit the main.py file, click Save, reset the MCU and you can execute the program. |
|
| 40 | + |
|
| 41 | + |
|
| 42 | +## ref |
|
| 43 | + |
|
| 44 | +- [[micropython-dat]] |
|
| ... | ... | \ No newline at end of file |
SDK-dat/microPython-dat/Thonny.md
| ... | ... | @@ -0,0 +1,2 @@ |
| 1 | + |
|
| 2 | +# thonny |
|
| ... | ... | \ No newline at end of file |
SDK-dat/microPython-dat/micropython-dat.md
| ... | ... | @@ -0,0 +1,45 @@ |
| 1 | + |
|
| 2 | +# micropython dat |
|
| 3 | + |
|
| 4 | + |
|
| 5 | +- [[MP-ESP32-dat]] - [[MP-STM32-dat]] |
|
| 6 | + |
|
| 7 | + |
|
| 8 | + |
|
| 9 | +## About micropython: |
|
| 10 | + |
|
| 11 | +Since the memory of STM32F401 is small, you need to install flash to simulate a USB flash drive. Recommended flash: W25Q32JVSSIQ 32MBit |
|
| 12 | + |
|
| 13 | +The memory of STM32F411 is twice as large, so you don’t need an external flash to simulate a USB flash drive |
|
| 14 | + |
|
| 15 | +Open the USB flash drive, edit the main.py file, click Save, and reset the MCU to execute the program. |
|
| 16 | + |
|
| 17 | + |
|
| 18 | + |
|
| 19 | + |
|
| 20 | + |
|
| 21 | + |
|
| 22 | + |
|
| 23 | + |
|
| 24 | +## compatible boards |
|
| 25 | + |
|
| 26 | +- [[ESP32-S3-dat]] - [[NWI1243-dat]] |
|
| 27 | + |
|
| 28 | +- [[STM32F401-dat]] - [[DOD1096-dat]] |
|
| 29 | + |
|
| 30 | +- [[ESP8266-SDK-dat]] |
|
| 31 | + |
|
| 32 | +- [[SAMD21-dat]] |
|
| 33 | + |
|
| 34 | +- [[RPI-dat]] |
|
| 35 | + |
|
| 36 | + |
|
| 37 | +## DEV |
|
| 38 | + |
|
| 39 | +- [[camera-SDK-dat]] |
|
| 40 | + |
|
| 41 | +## ref |
|
| 42 | + |
|
| 43 | +- [[script-based-SDK]] |
|
| 44 | + |
|
| 45 | +- [[SDK-dat]] |
|
| ... | ... | \ No newline at end of file |
SDK-dat/microPython/2024-10-08-17-35-01.png
| ... | ... | Binary files a/SDK-dat/microPython/2024-10-08-17-35-01.png and /dev/null differ |
SDK-dat/microPython/2024-10-08-17-35-13.png
| ... | ... | Binary files a/SDK-dat/microPython/2024-10-08-17-35-13.png and /dev/null differ |
SDK-dat/microPython/Thonny.md
| ... | ... | @@ -1,2 +0,0 @@ |
| 1 | - |
|
| 2 | -# thonny |
|
| ... | ... | \ No newline at end of file |
SDK-dat/microPython/micropython-dat.md
| ... | ... | @@ -1,53 +0,0 @@ |
| 1 | - |
|
| 2 | -# micropython dat |
|
| 3 | - |
|
| 4 | -- https://github.com/Edragon/Code-MicroPython |
|
| 5 | -- https://github.com/Edragon/STM32-F4-MicroPython2 |
|
| 6 | -- https://github.com/Edragon/STM32F4_MP-TPY |
|
| 7 | - |
|
| 8 | -legacy wiki page - https://w.electrodragon.com/w/Micropython_Guide |
|
| 9 | - |
|
| 10 | -## About micropython: |
|
| 11 | - |
|
| 12 | -Since the memory of STM32F401 is small, you need to install flash to simulate a USB flash drive. Recommended flash: W25Q32JVSSIQ 32MBit |
|
| 13 | - |
|
| 14 | -The memory of STM32F411 is twice as large, so you don’t need an external flash to simulate a USB flash drive |
|
| 15 | - |
|
| 16 | -Open the USB flash drive, edit the main.py file, click Save, and reset the MCU to execute the program. |
|
| 17 | - |
|
| 18 | - |
|
| 19 | - |
|
| 20 | - |
|
| 21 | - |
|
| 22 | - |
|
| 23 | - |
|
| 24 | - |
|
| 25 | -## Micropython Firmware / Bootloader |
|
| 26 | - |
|
| 27 | -For STM32F405RGT |
|
| 28 | - |
|
| 29 | -* Upload firmware hex by ST-link, no need reset pin |
|
| 30 | -* Flash Firmware - TPYBoardV102.hex |
|
| 31 | - |
|
| 32 | -* Reboot board and connect by USB, it will format itself, two LEDs ON, this takes 3-5 seconds |
|
| 33 | - |
|
| 34 | -* after this, U-disk will show up and sequential LED blink. |
|
| 35 | - |
|
| 36 | -* Now can upload new sketch into it. |
|
| 37 | - |
|
| 38 | - |
|
| 39 | -## hardware flash size |
|
| 40 | - |
|
| 41 | -Since the memory of STM32F401 is small, you need to install flash to simulate a USB flash drive. Recommended flash: W25Q32JVSSIQ 32MBit |
|
| 42 | - |
|
| 43 | -The memory of STM32F411 is twice as large, so you don’t need an external flash to simulate a USB flash drive |
|
| 44 | - |
|
| 45 | -Open the USB flash drive, edit the main.py file, click Save, reset the MCU and you can execute the program. |
|
| 46 | - |
|
| 47 | - |
|
| 48 | - |
|
| 49 | -## compatible boards |
|
| 50 | - |
|
| 51 | -- [[STM32F401-dat]] |
|
| 52 | - |
|
| 53 | -- [[DOD1096-dat]] |
SDK-dat/script-based-SDK/script-based-SDK.md
| ... | ... | @@ -0,0 +1,6 @@ |
| 1 | + |
|
| 2 | +# script-based-SDK |
|
| 3 | + |
|
| 4 | +- [[script-based-SDK]] |
|
| 5 | + |
|
| 6 | +- [[micropython-dat]] - [[python-dat]] |
|
| ... | ... | \ No newline at end of file |
Tech-dat/sensor-camera-dat/camera-SDK-dat/camera-SDK-dat.md
| ... | ... | @@ -13,6 +13,14 @@ |
| 13 | 13 | - https://github.com/ArduCAM/Arduino |
| 14 | 14 | |
| 15 | 15 | |
| 16 | +[[micropython-dat]] - [[script-based-SDK]] |
|
| 17 | + |
|
| 18 | +- https://github.com/namato/micropython-ov2640 |
|
| 19 | + |
|
| 20 | + |
|
| 21 | + |
|
| 22 | + |
|
| 23 | + |
|
| 16 | 24 | ## dependency |
| 17 | 25 | |
| 18 | 26 | - [[freeRTOS-dat]] |
code-dat/python-dat/python-dat.md
| ... | ... | @@ -2,6 +2,17 @@ |
| 2 | 2 | # python-dat.md |
| 3 | 3 | |
| 4 | 4 | |
| 5 | +## install |
|
| 6 | + |
|
| 7 | +windows |
|
| 8 | + |
|
| 9 | +https://www.python.org/downloads/release/python-3135/ |
|
| 10 | + |
|
| 11 | + C:\Users\Administrator>python -V |
|
| 12 | + Python 3.13.5 |
|
| 13 | + |
|
| 14 | +## pi74HC595 |
|
| 15 | + |
|
| 5 | 16 | pi74HC595-1.2.3-py3-none-any.whl |
| 6 | 17 | |
| 7 | 18 | pip install pi74HC595-1.2.3-py3-none-any.whl |