Burn esp32 over stm32

zehev123456
Posts: 1
Joined: Thu Jun 15, 2023 2:54 pm

Burn esp32 over stm32

Postby zehev123456 » Thu Jun 15, 2023 3:07 pm

Hi
I have board that have esp32 pico coneccet to stm32 chip (stm32H7), the stm32 Also have control on the ENABLE line of the esp32,
I am trying to burn the esp32 but make the stm32 tunnel between the PC and esp32, when I start to get data from the PC the stm32 set the ENABLE line of the esp32 and sends all the data from the computer to esp32 and vice versa,
I also set all the serial baud rates to 115200.
This is of course fail...
Here is the log of the IDE (Arduino IDE) print:

Code: Select all

Sketch uses 238553 bytes (18%) of program storage space. Maximum is 1310720 bytes.
Global variables use 22156 bytes (6%) of dynamic memory, leaving 305524 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port COM6
Connecting...
Chip is ESP32-PICO-V3-02 (revision v3.0)
Features: WiFi, BT, Dual Core, 240MHz, Embedded Flash, Embedded PSRAM, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: e8:9f:6d:20:0d:b0
Uploading stub...

A fatal error occurred: Failed to write to target RAM (result was 01070000: Operation timed out)
Failed uploading: uploading error: exit status 2
This is the code that data that I get on the ST from the PC and the esp32, (at every start of the line I print the sender and the number of bytes):

Code: Select all

PC: recv 46: C0 0 8 24 0 0 0 0 0 7 7 12 20 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 C0 
PC: recv 46: C0 0 8 24 0 0 0 0 0 7 7 12 20 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 C0 
PC: recv 46: C0 0 8 24 0 0 0 0 0 7 7 12 20 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 C0 
PC: recv 46: C0 0 8 24 0 0 0 0 0 7 7 12 20 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 C0 
Esp: recv 112: C0 1 8 4 0 7 20 55 55 0 0 0 0 C0 C0 1 8 4 0 7 20 55 55 0 0 0 0 C0 C0 1 8 4 0 7 20 55 55 0 0 0 0 C0 C0 1 8 4 0 7 20 55 55 0 0 0 0 C0 C0 1 8 4 0 7 20 55 55 0 0 0 0 C0 C0 1 8 4 0 7 20 55 55 0 0 0 0 C0 C0 1 8 4 0 7 20 55 55 0 0 0 0 C0 C0 1 8 4 0 7 20 55 55 0 0 0 0 C0 
PC: recv 14: C0 0 A 4 0 0 0 0 0 0 10 0 40 C0 
Esp: recv 14: C0 1 A 4 0 83 1D F0 0 0 0 0 0 C0 
PC: recv 14: C0 0 A 4 0 0 0 0 0 C A0 F5 3F C0 
Esp: recv 14: C0 1 A 4 0 0 AD 0 0 0 0 0 0 C0 
PC: recv 14: C0 0 A 4 0 0 0 0 0 C A0 F5 3F C0 
Esp: recv 14: C0 1 A 4 0 0 AD 0 0 0 0 0 0 C0 
PC: recv 14: C0 0 A 4 0 0 0 0 0 14 A0 F5 3F C0 
Esp: recv 14: C0 1 A 4 0 26 DE 15 0 0 0 0 0 C0 
PC: recv 14: C0 0 A 4 0 0 0 0 0 7C 60 F6 3F C0 
Esp: recv 14: C0 1 A 4 0 0 20 4 96 0 0 0 0 C0 
PC: recv 14: C0 0 A 4 0 0 0 0 0 14 A0 F5 3F C0 
Esp: recv 14: C0 1 A 4 0 26 DE 15 0 0 0 0 0 C0 
PC: recv 14: C0 0 A 4 0 0 0 0 0 C A0 F5 3F C0 
Esp: recv 14: C0 1 A 4 0 0 AD 0 0 0 0 0 0 C0 
PC: recv 14: C0 0 A 4 0 0 0 0 0 C A0 F5 3F C0 
Esp: recv 14: C0 1 A 4 0 0 AD 0 0 0 0 0 0 C0 
PC: recv 14: C0 0 A 4 0 0 0 0 0 C A0 F5 3F C0 
Esp: recv 14: C0 1 A 4 0 0 AD 0 0 0 0 0 0 C0 
PC: recv 14: C0 0 A 4 0 0 0 0 0 10 A0 F5 3F C0 
Esp: recv 14: C0 1 A 4 0 37 6 0 0 0 0 0 0 C0 
PC: recv 14: C0 0 A 4 0 0 0 0 0 18 A0 F5 3F C0 
Esp: recv 14: C0 1 A 4 0 4 0 0 0 0 0 0 0 C0 
PC: recv 14: C0 0 A 4 0 0 0 0 0 14 0 F4 3F C0 
Esp: recv 14: C0 1 A 4 0 60 1 0 0 0 0 0 0 C0 
PC: recv 14: C0 0 A 4 0 0 0 0 0 8 A0 F5 3F C0 
Esp: recv 14: C0 1 A 4 0 9F E8 72 0 0 0 0 0 C0 
PC: recv 14: C0 0 A 4 0 0 0 0 0 4 A0 F5 3F C0 
Esp: recv 14: C0 1 A 4 0 B0 D 20 6D 0 0 0 0 C0 
PC: recv 26: C0 0 5 10 0 0 0 0 0 58 D 0 0 1 0 0 0 0 18 0 0 0 E0 B 40 C0 
Esp: recv 14: C0 1 5 4 0 B0 D 20 6D 0 0 0 0 C0 
PC: recv 534: 2 80 BB 11 20 BB 20 B2 CB F0 A2 C3 18 10 11 20 65 99 FF 46 CF FE 0 22 3 3 82 3 2 61 8F FD 80 22 11 98 36 80 22 20 22 C2 F0 90 22 63 16 22 B2 98 16 9A 92 90 9C 41 46 2 0 99 C1 10 11 20 65 62 FF 98 C1 A8 46 A6 1A 4 A8 26 A7 A9 EB 10 11 20 A5 5A FF 16 6A FF A8 16 CD 2 B2 C3 18 81 86 FE E0 8 0 8C 3A 32 A0 C4 39 56 38 16 2A 33 39 16 38 36 20 23 DB DC 29 36 C6 B5 FE 82 3 2 22 C3 18 32 3 3 C 1C 80 33 11 80 33 20 32 C3 F0 6 23 0 81 6C FE 91 1D FD E8 8 39 71 E0 99 DB DC 99 61 98 27 C 1A 97 B3 1 C 3A 89 F1 A9 D1 E9 C1 10 11 20 25 5B FF A8 D1 91 63 FE E8 C1 A9 1 A1 62 FE DD 9 BD 2 C2 C1 1C F2 C1 18 99 C1 81 6B FE E0 8 0 B8 27 CD A A8 71 88 F1 A0 BB DB DC B9 27 A0 33 DB DC B8 8 AA 22 A8 61 98 C1 AA BB DD 4 C 1A B9 8 DB DC DA 83 90 BB DB DC D0 E0 74 CC 7D D2 DB DD 80 D0 AE 93 16 6A 1 AD 9 89 F1 99 C1 C9 E1 10 11 20 25 89 FF 88 F1 98 C1 C8 E1 92 68 0 61 4E FD 88 36 8C A3 DB DC 9F 31 DB DC 99 DB DC D6 29 0 56 F8 F5 D6 AC 0 31 49 FD 22 A0 C7 29 53 46 0 0 8C 3C 9C 8 C6 82 FE 16 88 A0 61 44 FD 22 A0 C8 29 56 46 7F FE 0 31 41 FD 22 A0 C9 29 53 46 7C FE 28 23 56 C2 9E AD 4 81 45 FE E0 8 0 A2 A2 71 DB DC AA 11 81 3E FE E0 8 0 81 42 FE E0 8 0 C6 73 FE 0 0 28 33 16 82 9C AD 4 81 3C FE E0 8 0 A2 A3 E8 81 36 FE E0 8 0 E0 2 0 46 6C FE 1D F0 0 0 0 36 41 0 9D 2 82 A0 DB DC 28 3 87 99 F CC 32 C 12 86 7 0 C 2 29 3 7C E2 86 F 0 26 12 7 26 22 18 86 3 0 0 0 82 A0 DB DD 80 29 23 87 99 2A C 22 29 3 7C F2 46 8 0 0 0 22 A0 DC 27 99 A C 12 29 3 2D 8 6 4 0 0 0 82 A0 DD 7C F2 87 99 6 C 12 29 3 22 A0 DB DD 1D F0 0 0 C0 
If someone has any idea how to fix that, I will kiss my legs.

Who is online

Users browsing this forum: No registered users and 47 guests