Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't start after setting led parameters #1

Open
zx804262156 opened this issue Jun 9, 2021 · 1 comment
Open

I can't start after setting led parameters #1

zx804262156 opened this issue Jun 9, 2021 · 1 comment

Comments

@zx804262156
Copy link

My panel is 32x32. I changed the parameter. The original parameter is 16. My panel parameter is 32, but it can't be started. It shows "flash read err, 1000". What should I do?

main.cpp
#ifndef PXMATRIX_ROW_PATTERN
#define PXMATRIX_ROW_PATTERN 32 // The row pattern for the display

13:59:01.597 -> ets Jun 8 2016 00:22:57
13:59:01.597 ->
13:59:01.597 -> rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
13:59:01.597 -> flash read err, 1000
13:59:01.597 -> ets_main.c 371
13:59:01.967 -> ets Jun 8 2016 00:22:57
13:59:01.967 ->
13:59:01.967 -> rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
13:59:01.967 -> configsip: 0, SPIWP:0xee
13:59:01.967 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
13:59:01.967 -> mode:DIO, clock div:2
13:59:01.967 -> load:0x3fff0018,len:4
13:59:01.967 -> load:0x3fff001c,len:1044
13:59:01.967 -> load:0x40078000,len:10124
13:59:01.967 -> load:0x40080400,len:5828
13:59:01.967 -> entry 0x400806a8
13:59:02.527 ->

@TheLogicMaster
Copy link
Owner

From what I can tell, that error happens when it looks at 0x1000 for the bootloader and fails to find it. This project uses a custom flash partition layout, so that might be a factor. That parameter you changed isn't for the display resolution but for the inverse of the scan pattern, so the default 16 is for a 1/16 pattern. This is directly fed into the PxMatrix library, so I would first try one of the examples from https://github.com/2dom/PxMatrix to ensure you have the display working and the correct parameters before trying to get this project working. 32x32 panels typically have a 1/8 or 1/16 scan pattern, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants