Fail safe way to update ANX7688 firmware
(02-18-2021, 02:08 PM)z3dd1cu55 Wrote: Thanks for the answere.

So if I already have USB <-> D-Sub 9 adapter. Would it work to make a D-Sub 9 to headphone adapter by using one of each splicing the cables and connect the cables with the right pin order?

And if I had a working serial debug cable, when would I log in to set the bit for eeprom flash? Anytime after the normal boot? Or do I need to stop the bootloader from booting the kernel?
Do I need this serial debug cable or can I set the bit from userland?

Any feedback is appreciated Smile

Technically yes. But It's out of spec for RS-232 being that it's only 3.3v, so I wouldn't personally recommend plugging in a real USB RS-232 device. If it's got a 9 pin D-sub, it's probably RS-232. Something that's a 3.3V UART is a better choice (no RS-232 level shifting) like the CP2102. I don't like any CH340s. They are cheap junk. FTDI or CP2102 only.

If you're just flashing the ANX chip, you don't need to use this. I did it over Ethernet just fine. You probably could also just connect USB directly and log in via the USB LAN if you enable SSH on your device, but it depends upon the distribution that you are using. Yes, you can and would do it during normal operation while the OS is running as normal. I accomplished this on Mobian even on 5.10 kernel contrary to claims that claim that you cannot.

To be honest, you can and should be doing almost anything over SSH if you need to do it from a desktop computer. I don't know why anyone would want to use the "serial console" feature of the PinePhone unless they were making something silly like an IR emitter or very basic communication to an external microcontroller.

Messages In This Thread
RE: Fail safe way to update ANX7688 firmware - by zborgerd - 02-18-2021, 07:43 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  firmware udate Quectel EG25-G modem alwi 7 5,803 07-06-2022, 01:43 PM
Last Post: user641
  Need command to tell what modem firmware I am on. purpletiger 4 3,093 07-06-2022, 12:35 PM
Last Post: Zebulon Walton
  camera firmware problems kqlnut 25 22,701 09-02-2021, 07:49 PM
Last Post: Zebulon Walton
  3/32 upgrade board, Arrived Without Firmware, Troubleshooting Steps to SOLVED biketool 0 1,792 06-22-2021, 10:03 AM
Last Post: biketool
  WIFI not available after anx7688 update failure frimmel 21 20,339 05-11-2021, 02:45 AM
Last Post: frimmel
  Pinephone mainboard v1.2 documentation update? scholbert 1 2,755 01-18-2021, 09:01 PM
Last Post: bokomaru
  New motherboard - ANX firmware won't flash. --- 17 13,794 12-26-2020, 01:53 PM
Last Post: p1x3l3d
  Update to 3GB/32GB mainboard not working tlo 2 3,847 11-09-2020, 04:40 PM
Last Post: tlo
  BraveHeart UbPorts Battery drain/Solder update Vlodka 2 3,647 10-04-2020, 11:18 PM
Last Post: Vlodka

Forum Jump:

Users browsing this thread: 1 Guest(s)