@davidtgbe Did you found any solution? Because I have the same problem. My M5Stick-C is fully functional, except by screen (which is totally black).
I tried the Factory Test Firmware, put my own firmware and nothing. I tried to short-cut pins BAT+GND, and insert the USB-C cable, but the screen does not lit (I waited for 2 secs), after that, I removed the short-cut (I'm afraid about fry my device).
How much time are you waited in this short-cut? Anyone can help us??
EDIT: in my firmware I used the default settings as bellow
void setup(void)
{
M5.begin(true, true, true);
M5.Lcd.fillScreen(WHITE);
M5.Axp.ScreenBreath(15); // 7-15
}
Anyways, the screen isn't show anything including in the Factory Test Firmware. When I try to used UIFlow, show me an error when connect via I2C to AXP. Are anyone experienced something like that?
@m5stack can you help me, please?
EDIT2: More information when I run UIFlow (terminal info):
--- Miniterm on /dev/cu.usbserial-3D527252B4 115200,8,N,1 ---
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
␛[0;32mI (9) boot: ESP-IDF v3.3-beta1-696-gc4c54ce07 2nd stage bootloader␛[0m
␛[0;32mI (9) boot: compile time 19:32:01␛[0m
␛[0;32mI (9) boot: Enabling RNG early entropy source...␛[0m
␛[0;32mI (14) boot: SPI Speed : 80MHz␛[0m
␛[0;32mI (18) boot: SPI Mode : DIO␛[0m
␛[0;32mI (22) boot: SPI Flash Size : 4MB␛[0m
␛[0;32mI (26) boot: Partition Table:␛[0m
␛[0;32mI (29) boot: ## Label Usage Type ST Offset Length␛[0m
␛[0;32mI (37) boot: 0 nvs WiFi data 01 02 00009000 00006000␛[0m
␛[0;32mI (44) boot: 1 phy_init RF data 01 01 0000f000 00001000␛[0m
␛[0;32mI (52) boot: 2 factory factory app 00 00 00010000 001f0000␛[0m
␛[0;32mI (59) boot: 3 internalfs Unknown data 01 81 00200000 00200000␛[0m
␛[0;32mI (67) boot: End of partition table␛[0m
␛[0;32mI (71) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0xe95ac (955820) map␛[0m
␛[0;32mI (354) esp_image: segment 1: paddr=0x000f95d4 vaddr=0x3ffbdb60 size=0x034dc ( 13532) load␛[0m
␛[0;32mI (359) esp_image: segment 2: paddr=0x000fcab8 vaddr=0x40080000 size=0x00400 ( 1024) load␛[0m
␛[0;32mI (361) esp_image: segment 3: paddr=0x000fcec0 vaddr=0x40080400 size=0x03150 ( 12624) load␛[0m
␛[0;32mI (374) esp_image: segment 4: paddr=0x00100018 vaddr=0x400d0018 size=0xdcac4 (903876) map␛[0m
␛[0;32mI (638) esp_image: segment 5: paddr=0x001dcae4 vaddr=0x40083550 size=0x12a98 ( 76440) load␛[0m
␛[0;32mI (664) esp_image: segment 6: paddr=0x001ef584 vaddr=0x400c0000 size=0x00064 ( 100) load␛[0m
␛[0;32mI (664) esp_image: segment 7: paddr=0x001ef5f0 vaddr=0x50000000 size=0x00808 ( 2056) load␛[0m
␛[0;32mI (685) boot: Loaded app from partition at offset 0x10000␛[0m
␛[0;32mI (685) boot: Disabling RNG early entropy source...␛[0m
␛[0;32mI (685) cpu_start: Pro cpu up.␛[0m
␛[0;32mI (689) cpu_start: Application information:␛[0m
␛[0;32mI (694) cpu_start: Compile time: Dec 27 2019 19:32:08␛[0m
␛[0;32mI (700) cpu_start: ELF file SHA256: 0000000000000000...␛[0m
␛[0;32mI (706) cpu_start: ESP-IDF: v3.3-beta1-696-gc4c54ce07␛[0m
␛[0;32mI (712) cpu_start: Starting app cpu, entry point is 0x400836e4␛[0m
␛[0;32mI (0) cpu_start: App cpu up.␛[0m
␛[0;32mI (723) heap_init: Initializing. RAM available for dynamic allocation:␛[0m
␛[0;32mI (730) heap_init: At 3FFAE6E0 len 0000F480 (61 KiB): DRAM␛[0m
␛[0;32mI (736) heap_init: At 3FFCB2D8 len 00014D28 (83 KiB): DRAM␛[0m
␛[0;32mI (742) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM␛[0m
␛[0;32mI (748) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM␛[0m
␛[0;32mI (755) heap_init: At 40095FE8 len 0000A018 (40 KiB): IRAM␛[0m
␛[0;32mI (761) cpu_start: Pro cpu start user code␛[0m
␛[0;32mI (107) cpu_start: Starting scheduler on PRO CPU.␛[0m
␛[0;32mI (0) cpu_start: Starting scheduler on APP CPU.␛[0m
Internal FS (FatFS): Mounted on partition 'internalfs' [size: 2097152; Flash address: 0x200000]
----------------
Filesystem size: 2035712 B
Used: 479232 B
Free: 1556480 B
----------------
Traceback (most recent call last):
File "boot.py", line 4, in <module>
File "flowlib/uiflow.py", line 1, in <module>
File "flowlib/m5stack.py", line 14, in <module>
File "flowlib/hw/axp192.py", line 28, in powerAll
File "flowlib/hw/axp192.py", line 125, in _regChar
OSError: I2C bus error (-1)
Traceback (most recent call last):
File "main.py", line 1, in <module>
NameError: name 'lcd' isn't defined
MicroPython v1.11-316-gca0d8a0a5 on 2019-12-27; ESP32 module with ESP32
Type "help()" for more information.
>>>