ESP32 และ Hardware · Embedded Track
Hardware track สอนว่าสิ่งที่เห็นบนจอคือปลายทางของหลายชั้น: flash, PSRAM, display bus, touch, filesystem, และ simulator · The hardware track shows that a visible screen is the end of many layers: flash, PSRAM, display bus, touch, filesystem, and simulator.
Board and stack
ข้อความใน esp32-dev โฟกัส ESP32-S3 และบอร์ด Guition JC3248W535 พร้อม stack แบบ ESP-IDF v5.4/v6, LVGL, touch, BLE, audio, LittleFS และ GIF asset pipeline
esp32-dev focuses on ESP32-S3 and the Guition JC3248W535 board, with ESP-IDF v5.4/v6, LVGL, touch, BLE, audio, LittleFS, and GIF asset pipelines.
Simulator choice
บทเรียนสำคัญคือ Wokwi ไม่ใช่คำตอบสำหรับ display custom ทุกชนิด ในงานนี้ LVGL simulator ให้ feedback เร็วและตรงกว่าเมื่อ hardware/display path ยังไม่นิ่ง
The important simulator lesson: Wokwi is not the answer for every custom display. Here, the LVGL simulator provided faster and more accurate feedback while the hardware/display path was still unstable.
Cold boot and DMA
มี pattern เฉพาะของ PSRAM OPI DMA cold boot: หลัง display_init() ให้ clear/fill จอดำสองครั้งด้วย display_fill_solid(0x0000) เพื่อ stabilize path ก่อน render จริง
A specific PSRAM OPI DMA cold-boot pattern emerged: after display_init(), clear/fill black twice using display_fill_solid(0x0000) to stabilize the path before real rendering.
Embedded proof
ใน embedded งานที่ compile ผ่านยังไม่พอ ต้องเห็น boot log, flash result, screen behavior, touch response และ asset loading เพราะ failure อาจอยู่คนละชั้นกับ code ที่เพิ่งแก้
In embedded work, a passing compile is not enough. You need boot logs, flash result, screen behavior, touch response, and asset loading, because the failure may live in a different layer than the code just edited.