mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 00:04:28 +01:00
[GH-ISSUE #322] Yellow AP - C6 Flash troubleshooting #1845
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @benv666 on GitHub (May 19, 2024).
Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/322
Hej folks,
I've ordered components + PCB for the Yellow AP and put one together today.
Installed firmware through https://install.openepaperlink.de/, which went fine.


Booted, connected to wifi, and tried to flash the ESP32 C6 on the module.
LEDs light up, but shortly after it states
Connection to the C6 failed.I've measured connectivity on the RX/TX pins and that seems ok, so not sure what the issue is.
Next step is probably to read the serial from the C6 directly, but not sure what the easiest way of doing that is -- grabbing yet another ESP32? Or is there a serial debug option somewhere in the current firmware?
Thanks for thinking along!
@benv666 commented on GitHub (May 20, 2024):
Update:

Grabbed a FTDI USB dongle and hooked it up to the C6 board:
Hooked up to a serial monitor I can see a constant restart loop with seemingly empty firmware:
Using some shoddy handholding of the FTDI pins I booted the bord attached to the yellow mainboard and this is what happens when the "update C6" button is pressed:
after which the web interface states the now familiar
Not sure what it's expecting.
@benv666 commented on GitHub (May 20, 2024):
And another update, some form of success at last, documenting this so that someone else in the same boat might find it useful.
Adding a dupont wire on GPIO9 (next to the 5V and GND pins of the C6 board) and holding it to ground (the metal tin of the C6) allowed me to boot the C6 in bootloader mode.
(both LEDs at the bottom of the board also went on)
Next, I could use
esptoolto upload the firmware. Took a few tries to get it to work, but having worked with these barebone boards before I knew this timing can be finicky to get right.E.g. a failed attempt would look like:
I got lucky at some point when I first started the upload command and then added 5V (while holding GPIO9 to GND):
It complains about the checksum, probably because of missing flags in the upload procedure, but it boots:
Which results in it being accepted by the AP:

Feedback still welcome as to why this isn't working through the "normal" method for me, but for now my next goal is to see if I can get any tags to work.
@nlimper commented on GitHub (May 20, 2024):
I'm not sure if that's part of the cause, but it seems you didn't place the resistor to pull GPIO8 high (footprint just next to the silkscreen 'ATC1441' text), which is needed to properly boot the C6.
Other than that, I cannot help you with the yellow pcb. If all is well, both gpio9 and the enable pin are controlled by the esp32-s3 during flashing of the c6. But anyway, if it works, it works :-)
@benv666 commented on GitHub (May 20, 2024):
Thanks for that! I wasn't sure what the pad was for so I left it empty, thinking it was optional. (some more detailed build instructions would have been welcome I suppose, did some guesswork but apparently failed this one)
I'll add a 10k and see if that helps, thanks!
@benv666 commented on GitHub (May 20, 2024):
Well, the resistor made no difference, still getting the same error when trying to flash the C6.
Other suggestions welcome. (or a different method of troubleshooting, I'm not sure why it's failing. Could it be a timing issue like my manual upload had?)
That said, my manually uploaded firmware works fine, now with 3 tags :D

@krikkirk commented on GitHub (Aug 1, 2024):
I think you probably flipped the leds and the resistors in bottom. I see two small triangles in the drawing so likely leds should be placed in between the resistors
nvm it is serial connection
@oywino commented on GitHub (Sep 30, 2024):
Just a stupid question - what is a yellow AP and where can it be found/bought? (I googled "yellow AP" but to no avail)
@nlimper commented on GitHub (Oct 28, 2024):
See https://github.com/OpenEPaperLink/OpenEPaperLink/wiki/Building-an-Access-Point
Closing this one as completed