电脑用串口工具测试 串口通信都是正常的,在板子上和esp32的通信就出问题。这是日志。
有没有遇到同样问题朋友啊
###NextPage[title=gd32]###
b'\x1b[0;32mI (458) cpu_start: Pro cpu up.\x1b[0m\r\n'
b'\x1b[0;32mI (458) cpu_start: Application information:\x1b[0m\r\n'
b'\x1b[0;32mI (458) cpu_start: Compile time: Dec 20 2019 07:50:41\x1b[0m\r\n'
b'\x1b[0;32mI (461) cpu_start: ELF file SHA256: 0000000000000000...\x1b[0m\r\n'
b'\x1b[0;32mI (467) cpu_start: ESP-IDF: v3.3\x1b[0m\r\n'
b'\x1b[0;32mI (472) cpu_start: Starting app cpu, entry point is 0x40083600\x1b[0m\r\n'
b'\x1b[0;32mI (0) cpu_start: App cpu up.\x1b[0m\r\n'
b'\x1b[0;32mI (482) heap_init: Initializing. RAM available for dynamic allocation:\x1b[0m\r\n'
b'\x1b[0;32mI (489) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM\x1b[0m\r\n'
b'\x1b[0;32mI (495) heap_init: At 3FFBA488 len 00025B78 (150 KiB): DRAM\x1b[0m\r\n'
b'\x1b[0;32mI (501) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM\x1b[0m\r\n'
b'\x1b[0;32mI (508) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM\x1b[0m\r\n'
b'\x1b[0;32mI (514) heap_init: At 40092D6C len 0000D294 (52 KiB): IRAM\x1b[0m\r\n'
b'\x1b[0;32mI (520) cpu_start: Pro cpu start user code\x1b[0m\r\n'
b'\x1b[0\xa7&\xa6+\n' 这里开始 乱码
b'B\x92\x82\x9aJ\x02\x1a\xc1\xd5}\xcd\xd1art: Chip RYWk\xa5\xbd\xb9\xe9 L\xa3+j5\n'
b'\xa3+\xda\x9a\x9aj]\x81(204) ,u_start: Chip revision i.B\xa5\x9d\xa1\x95\xc9\x81than the one \xac\xcb\xcb\xa5\x9dured in menuconfig. \xaa\xd7\xd6V\xd6\xd1\x81to upgrade Z\x97i\xb4\x05j5\n'
b'\xa3+\xda\x9a\x92j%\x81(207) cpu_start: Starting s,\xab\x91\xd5\xb1\x95r on PRO CPU.\x1b[0m\r\n'
b'\x1b+\xda\x9a\x92jI (0) cpu_start: *W\xc9\xd1ing s,\xab\x91\xd5\xb1\x95\xc9 on P\x05\x05\x1aAU\xb9\x1b[0m\r\n'
b'\xa3+\xda\x9a\x92j%\x81(180) [\x8bskket: InitiX+K\xa5\xb9g\x1b[0[H\xf8\x1b+\xda\x9a\x92j%\x81(190) uart: ALREADY NULL\x1b[0[C\xa1*k\xc9\xbdA\xe5\xd1\xa1\xbd\xb9 v1.12 on 2019-12-20; ESP32 mod]\xab\x81with ESP&\xa6H\x88\x95\xc1\x95\x81"help()" fK [K\x95\x81infor[XW\xeb\xcb\xcb\xa9H\xc8\xf2\xf2\x02\xfe'
###NextPage[title=stm32]###
b'\x1b[0;32mI (457) cpu_start: Pro cpu up.\x1b[0m\r\n'
b'\x1b[0;32mI (457) cpu_start: Application information:\x1b[0m\r\n'
b'\x1b[0;32mI (457) cpu_start: Compile time: Dec 20 2019 07:50:41\x1b[0m\r\n'
b'\x1b[0;32mI (461) cpu_start: ELF file SHA256: 0000000000000000...\x1b[0m\r\n'
b'\x1b[0;32mI (467) cpu_start: ESP-IDF: v3.3\x1b[0m\r\n'
b'\x1b[0;32mI (471) cpu_start: Starting app cpu, entry point is 0x40083600\x1b[0m\r\n'
b'\x1b[0;32mI (0) cpu_start: App cpu up.\x1b[0m\r\n'
b'\x1b[0;32mI (482) heap_init: Initializing. RAM available for dynamic allocation:\x1b[0m\r\n'
b'\x1b[0;32mI (489) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM\x1b[0m\r\n'
b'\x1b[0;32mI (495) heap_init: At 3FFBA488 len 00025B78 (150 KiB): DRAM\x1b[0m\r\n'
b'\x1b[0;32mI (501) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM\x1b[0m\r\n'
b'\x1b[0;32mI (507) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM\x1b[0m\r\n'
b'\x1b[0;32mI (514) heap_init: At 40092D6C len 0000D294 (52 KiB): IRAM\x1b[0m\r\n'
b'\x1b[0;32mI (520) cpu_start: Pro cpu start user code\x1b[0m\r\n'
b'\x1b[0;32mI (203) cpu_start: Chip Revision: 1\x1b[0m\r\n'
b'\x1b[0;33mW (203) cpu_start: Chip revision is higher than the one configured in menuconfig. Suggest to upgrade it.\x1b[0m\r\n'
b'\x1b[0;32mI (206) cpu_start: Starting scheduler on PRO CPU.\x1b[0m\r\n'
b'\x1b[0;32mI (0) cpu_start: Starting scheduler on APP CPU.\x1b[0m\r\n'
b'\x1b[0;32mI (180) modsocket: Initializing\x1b[0m\r\n'
b'\x1b[0;32mI (190) uart: ALREADY NULL\x1b[0m\r\n'
b'MicroPython v1.12 on 2019-12-20; ESP32 module with ESP32\r\n'
b'Type "help()" for more information.\r\n'
b'>>> '
ystemInitedWifi
b'>>> wifi = WIFI()\r\n'
b'I (530) wifi: wifi driver task: 3ffe3858, prio:23, stack:3584, core=0\r\n'
b'\x1b[0;32mI (1278) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE\x1b[0m\r\n'
b'\x1b[0;32mI (1288) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE\x1b[0m\r\n'
b'I (1318) wifi: wifi firmware version: aeed694\r\n'
b'I (1318) wifi: config NVS flash: enabled\r\n'
b'I (1318) wifi: config nano formating: disabled\r\n'
b'I (1318) wifi: Init dynamic tx buffer num: 32\r\n'
b'I (1328) wifi: Init data frame dynamic rx buffer num: 32\r\n'
b'I (1328) wifi: Init management frame dynamic rx buffer num: 32\r\n'
b'I (1338) wifi: Init management short buffer num: 32\r\n'
b'I (1338) wifi: Init static rx buffer size: 1600\r\n'
b'I (1348) wifi: Init static rx buffer num: 10\r\n'
b'I (1348) wifi: Init dynamic rx buffer num: 32\r\n'
b'>>> platform = PLATFORM()\r\n'
b">>> wifi.connect('djkjtest','scfy12345678')\r\n"
b'\x1b[0;32mI (1458) phy: phy_version: 4102, 2fa7a43, Jul 15 2019, 13:06:06, 0, 0\x1b[0m\r\n'
b'I (1458) wifi: mode : sta (b4:e6:2d:de:bd:09)\r\n'
b'\x1b[0;32mI (1458) wifi: STA_START\x1b[0m\r\n'
b'False\r\n'
b'>>> I (3158) wifi: new:<13,0>, old:<1,0>, ap:<255,255>, sta:<13,0>, prof:1\r\n'
|