Core 0 panic'ed (LoadStoreError).

Maple_Leaf
Posts: 19
Joined: Mon Aug 24, 2020 8:38 am

Core 0 panic'ed (LoadStoreError).

Postby Maple_Leaf » Fri Aug 28, 2020 10:43 am

新手入坑esp32,我定义了一个数组,想用它来保存从bt_spp接收到的数据,运行了一下,却提示Core 0 panic'ed (LoadStoreError).
请问这要怎么解决呢?有谁能指导一下吗?

extern unsigned char buf_wuqinLED_64x64[2][64*8];

case PIC:for ( i = 0; i < ((param->data_ind.len - 1) / 2); i++)
{
j = j + 2;
buf_wuqinLED_64x64[1] = *(param->data_ind.data + j);
}
break;

ESP_HengYC
Posts: 184
Joined: Fri Dec 15, 2017 2:45 am

Re: Core 0 panic'ed (LoadStoreError).

Postby ESP_HengYC » Tue Dec 15, 2020 9:41 am

Maple_Leaf wrote:
Fri Aug 28, 2020 10:43 am
新手入坑esp32,我定义了一个数组,想用它来保存从bt_spp接收到的数据,运行了一下,却提示Core 0 panic'ed (LoadStoreError).
请问这要怎么解决呢?有谁能指导一下吗?

extern unsigned char buf_wuqinLED_64x64[2][64*8];

case PIC:for ( i = 0; i < ((param->data_ind.len - 1) / 2); i++)
{
j = j + 2;
buf_wuqinLED_64x64[1] = *(param->data_ind.data + j);
}
break;




对于 `LoadStoreError` 类型的错误,一般是:

应用程序尝试从仅支持 32 位加载/存储的内存区域执行 8 位或 16 位加载/存储操作,例如,解引用一个指向指令内存区域的 char* 指针就会导致这样的错误。

Who is online

Users browsing this forum: No registered users and 14 guests