Re: Trouble flasing SHC ESP32

Bas Prins
 

Next episode...

It seems that I was able to flash the SHC, The Teen Astro splash screen showed.

The Arduino IDE returned this:

Sketch uses 383962 bytes (29%) of program storage space. Maximum is 1310720 bytes.
Global variables use 20196 bytes (6%) of dynamic memory, leaving 307484 bytes for local variables. Maximum is 327680 bytes.
esptool.py v2.6
Serial port COM5
Connecting........_____....._____.....__
Chip is ESP32D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
MAC: 80:7d:3a:b7:c4:c4
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
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 3276.8 kbit/s)...
Hash of data verified.
Compressed 15856 bytes to 10276...
Writing at 0x00001000... (100 %)
Wrote 15856 bytes (10276 compressed) at 0x00001000 in 0.2 seconds (effective 807.9 kbit/s)...
Hash of data verified.
Compressed 384080 bytes to 220882...
Writing at 0x00010000... (7 %)
Writing at 0x00014000... (14 %)
Writing at 0x00018000... (21 %)
Writing at 0x0001c000... (28 %)
Writing at 0x00020000... (35 %)
Writing at 0x00024000... (42 %)
Writing at 0x00028000... (50 %)
Writing at 0x0002c000... (57 %)
Writing at 0x00030000... (64 %)
Writing at 0x00034000... (71 %)
Writing at 0x00038000... (78 %)
Writing at 0x0003c000... (85 %)
Writing at 0x00040000... (92 %)
Writing at 0x00044000... (100 %)
Wrote 384080 bytes (220882 compressed) at 0x00010000 in 3.5 seconds (effective 870.2 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 128...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (128 compressed) at 0x00008000 in 0.0 seconds (effective 1228.8 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...


That last line, however, seems a bit ambiguous to me. Did it reset, or was it still resetting?

I reflashed Onstep with #define ST4_PULLUP (#define ST4_HAND_CONTROL_ON was already ON).

Now, when I connect the SHC to Onstep. The screen stays black and the DEC motor starts to run spontaneously.
I use a RJ12 Male (6p6c) cable with that was left over from an old telephone. Not sure whether that is what I'm supposed to use.

Any ideas?

Join main@onstep.groups.io to automatically receive all group messages.