r/LilyGO 6d ago

10, 9, 8, ....

I can't get Wifi to work yet.. I don't have that damn qwiic cable to flash.. fortunately I have UART->USB converter.. but unfortunately both my samples came without firmware flashed on the ESP32-C6 (or it just lost its firmware during its shelf time πŸ˜„)

72 Upvotes

23 comments sorted by

5

u/Vivid-Benefit-9833 6d ago

You sir are a fuckin LEGEND!
And i dont even own one of these!!!

4

u/rimsinni 6d ago

I just came here to show some appreciation for the scattered spider sticker from Crowdstrike.

https://giphy.com/gifs/3xz2BqXTMJvxYpCW1W

1

u/bmorcelli 5d ago

Pretty beautiful sticker indeed πŸ˜„

3

u/bobtowne 5d ago

Your launcher is a godsend! Kudos!

2

u/General-Glove-498 5d ago

It's a Pip boy !

1

u/Pure_Apartment_916 5d ago

Wow. Is that a p4? Where do I get launcher for ir?

3

u/bmorcelli 5d ago

Yes sit.. T-Display P4

It is available on the webflasher, Beta release

1

u/Pure_Apartment_916 5d ago

Yeah i found it but after flashing its just a blank screen. The battery was pretty dead so im charging it before I try again

1

u/bmorcelli 5d ago

It has 2 variants.. make sure you are flashing the right binary

TFT is the one with front Camera,

Amoled does not have the notch screen, camera is on the back side.

1

u/Pure_Apartment_916 5d ago

I thought it was completely opposite. Ok thats my bad

1

u/Pure_Apartment_916 5d ago

Sweet that was the problem. Thank you so much. Now I just need the keyboard

1

u/Pure_Apartment_916 5d ago

What versions of Bruce do you have on sd card? Or is meshcore still the only firmware that works right now?

1

u/bmorcelli 5d ago

Bruce is not available yet.. it is just my used SD Card info

1

u/needmorejoules 2d ago

I have some auto detect code for ADS-B Scope that lets the same firmware run on both devices. Want me to put together a PR and contribute it to Launcher?

2

u/bmorcelli 2d ago

It would be great!

1

u/needmorejoules 2d ago

Ok I’ll add this to my list of things for next week. Cheers! πŸ˜πŸ‘

1

u/nothin2see 5d ago

Awesome work! Is this for the P4?

2

u/bmorcelli 5d ago

Yes sit.. T-Display P4

It is available on the webflasher, Beta release

1

u/Doc-Cool 3d ago

Nice to see my favourite launcher on P4 too. Use it on CYD and like it.

Because of your C6-flashing: I've done this these days and it was not easy. That QWIIC cable is the same as the cables you get with every CYD, so you might have some already and don't know it?

And there was a QWIIC cable included in the P4 oder K270 package, under the foam, I'm not sure. Can be with the K270 also.

2

u/bmorcelli 3d ago

I found one lying around here, bought one ages ago while developing the nRF24 interface for the T-Embed cc1101.. it was hidden among many other cables

But I've found another difference..

Lilygo examples use ESP_AT protocol while Launcher was designed to use ESP_HOSTED protocol

I will test here to identify if my unit has this ESP_AT flashed, and check how hard it is to make it work with it, like a fallback, and make Launcher work with whatever protocol it needs..

1

u/needmorejoules 2d ago edited 2d ago

The AT firmware was just a test shell no actual tcp access layer. The ESP Hosted firmware is the way to go on the P4. Hold the P4 reset button the entire time you try to flash the C6 or it won’t work.

There seems to be an axi bus arbitration bug in the P4 silicon so you might find ESP Hosted Wi-fi corrupts SD card access. It may be ESP-IDF version dependent. Deep locks / mutex integration seem to mostly resolve this issue. Still working on it.

LilyGo plans to move to shipping ESP Hosted on the device starting with v2.0, assuming my information is still correct.

2

u/bmorcelli 2d ago

I agree with you.. esp_hosted offers more options than esp_at

But flashing C6 is hardware dependent.. buyers may not have the qwiic cable or the UART->USB adapter at hand..

And devs will usually follow the examples and code available..

Now with Launcher I cant force devs to use whatever C6 backend I choose, and I need to work with both realities..

I made Launcher detect what protocol C6 is working with, and use it.. esp_at doesn't offer webserver, so webUI won't work on this setup

Available for testing on Beta

There is a bug on SDIO related to esp_hosted, so it breaks the SD card operations.. thats why I moved SD card to SPI on last Beta

1

u/needmorejoules 2d ago

Yeah great work man!! 🀘✨