Open berkutta opened 1 year ago
Same here, i am trying to run the /blink example
if I run make
and make flash COMX=COM3
it flashes, but immediately crashes
flash init fail!!!
=========== flash cfg ==============
jedec id 0x000000
mid 0xC8
iomode 0x11
clk delay 0x00
clk invert 0x03
read reg cmd0 0x05
read reg cmd1 0x35
write reg cmd0 0x01
write reg cmd1 0x31
qe write len 0x01
cread support 0x00
cread code 0x20
burst wrap cmd 0x77
=====================================
dynamic memory init success, ocram heap size = 188 Kbyte, psram heap size = 4096 Kbyte
sig1:ffffffff
sig2:0000f32f
cgen1:9f7ffffd
exception_entry
mcause=38000005
mepc:a0003c7e
mtval:00000001
Load access fault
I noticed that in board.c
// ret = bflb_flash_init();
Why is this commented out?
@marchingband because due to lack of enough of pins M0P uses specific SPI Flash configuration, which is overriden by bflb_flash_init
@gamelaster any ideas what causes the crash?