VBUS(GP40, 우측 상단)에 연결하면 USB Host 모드로만 작동해야 한다는 의미 같은데
아마 USB device 모드라면 USB를 통해 전원을 입력받아야 하기 때문이려나?
Whilst it is possible to connect the Raspberry Pi’s 5V pin to the Raspberry Pi Pico VBUS pin, this is not recommended. Shorting the 5V rails together will mean that the Micro USB cannot be used. An exception is when using the Raspberry Pi Pico in USB host mode, in this case 5V must be connected to the VBUS pin.
GP0이 TX GP1이 RX
LED는 GPIO25에 연결되어 있고, TP5로도 연결이 되어있는데
BOOTSEL은 TP6에만 되어있고 GPIO로 연결은 되어 있지 않다.
TP1 – Ground (close coupled ground for differential USB signals) TP2 – USB DM TP3 – USB DP TP4 – GPIO23/SMPS PS pin (do not use) TP5 – GPIO25/LED (not recommended to be used) TP6 – BOOTSEL
스케치는 프로그램 저장 공간 2594790 바이트(82%)를 사용. 최대 3145728 바이트. 전역 변수는 동적 메모리 56256바이트(17%)를 사용, 271424바이트의 지역변수가 남음. 최대는 327680 바이트. esptool.py v3.0-dev Serial port /dev/ttyUSB0 Connecting..... Chip is ESP32-D0WDQ6 (revision 1) Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None Crystal is 40MHz MAC: 84:cc:a8:2f:0d:d0 Uploading stub... Running stub... Stub running... Changing baud rate to 460800 Changed. Configuring flash size... Auto-detected Flash size: 4MB Compressed 8192 bytes to 47... Writing at 0x0000e000... (100 %) Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 12970.2 kbit/s)... Hash of data verified. Compressed 18656 bytes to 12053... Writing at 0x00001000... (100 %) Wrote 18656 bytes (12053 compressed) at 0x00001000 in 0.3 seconds (effective 532.1 kbit/s)... Hash of data verified. Compressed 2594912 bytes to 2073530... Writing at 0x00010000... (0 %) ... Writing at 0x00208000... (100 %) Wrote 2594912 bytes (2073530 compressed) at 0x00010000 in 48.9 seconds (effective 424.9 kbit/s)... Hash of data verified. Compressed 3072 bytes to 119... Writing at 0x00008000... (100 %) Wrote 3072 bytes (119 compressed) at 0x00008000 in 0.0 seconds (effective 5636.1 kbit/s)... Hash of data verified.
Leaving... Hard resetting via RTS pin...
3.3V로 했더니 전력 부족으로 켜지지 못해서 brown out detector 가 트리거 되었다고 에러가 뜬다. -_ㅠ