LieBtrau / arduino-ntag

Arduino library to interface with the NXP NTAG (NT3H1101 and NT3H1201)
GNU General Public License v2.0
29 stars 7 forks source link

Can't work in ESP32,INFO:Guru Meditation Error: Core 1 panic'ed. #18

Open yukiloh opened 11 months ago

yukiloh commented 11 months ago

Device: ESP32-DOIT-DEV-KIT-v1 Platform: platformio Example Sketch: ReadTagExtended.ino Code:

void setup(void) {
    Serial.begin(115200);
    Serial.println("NDEF Reader");
    ntagAdapter.begin();       //← Here's the problem

    ...

}

Error info:

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:13192
load:0x40080400,len:3028
entry 0x400805e4
NDEF Reader
Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.

Core  1 register dump:
PC      : 0x400d5e9b  PS      : 0x00060e30  A0      : 0x800d5e88  A1      : 0x3ffb2200  
A2      : 0x00000000  A3      : 0x3ffc26b1  A4      : 0x00000007  A5      : 0x0000ff00  
A6      : 0x00ff0000  A7      : 0xff000000  A8      : 0x800d5e98  A9      : 0x3ffb21e0  
A10     : 0x0000003d  A11     : 0x00000001  A12     : 0x00000000  A13     : 0x3ffb21f9  
A14     : 0x00000007  A15     : 0xff000000  SAR     : 0x0000000a  EXCCAUSE: 0x0000001c  
EXCVADDR: 0x00000004  LBEG    : 0x4008425d  LEND    : 0x40084265  LCOUNT  : 0x00000027  

Backtrace: 0x400d5e98:0x3ffb2200 0x400d5e85:0x3ffb2220 0x400d5ae6:0x3ffb2240 0x400d246e:0x3ffb2260 0x400d7d6a:0x3ffb2290

ELF file SHA256: 045ee8d3078b8966

Rebooting...
ets Jul 29 2019 12:21:46

And,I would like to have a library that can read the NDEF information in nt3h1101 via I2C, I tried sme-nt3h1x01-library but he only provides API for storage, if anyone can tell me how to read the NDEF via I2C I would be very grateful!