Error ? - duplicate func=0x400dabc8

Hi All,
I posted a while back about a strange message I’ve noticed on the serial monitor.
my previous post

I’m using an ESP32-Wroom-32, a cheap TFT touchscreen and the SD card reader on the screen, with all 3 on the VSPI bus.
I’m using TFT_eSPSI and SD libraries.
My code all seems to work fine for a quite a long time now, while I’m learning and developing the code.

There are actually 2 messages, which have appeared, since I advanced to using the touchscreen.

When I initialise the SD card (after a reset), I get this message …

[  1798][E][esp32-hal-cpu.c:110] addApbChangeCallback(): duplicate func=0x400dabc8 arg=0x3ffbdc00

Then, every time I read the SD card, I get this message …

Memory dump at 0x

I thought I’d cleared this problem, but somehow it has come back again.
Is it OK to ignore these messages ?

Thank you.
Trevor

This is a bit confusing, as you wrote in your previous post that you are using HSPI (-D USE_HSPI_PORT).

Which port do you actually use?

Hi Boris,
Yes, you’ve reminded me, sorry I’d forgotten.

When I started learning the touchscreen, I used the fantastic TFT_eSPI 480x320 keypad example to get started.
The SD card was still connected, but never initialised by that sketch.

However, once I’d got the touch screen working, I ran into a problem when I initialised the SD card. Immediately after reading from the SD card, the SD MISO stayed HIGH and stopped Comms with the screen / touchscreen. I was then stuck, with just the SD card working.

Strangely, removing the line “-D USE_HSPI_PORT” in Platformio.ini cleared that problem.

All 3 are on VSPI MOSI / MISO pins.
Now, I notice the duplicate function message again.

Maybe, I should try “SD.end” after reading the SD card, before trying to communicate with either TFT / Touchscreen ?

I’ve now tried the SD card on HSPI bus, leaving TFT + Touchscreen on VSPI bus.
In my Platformio.ini now …

	-D TFT_SCLK=18
	-D TFT_MOSI=23
	-D TFT_MISO=19
	-D TFT_CS=15
	;
	-D TOUCH_SCLK=18
	-D TOUCH_DIN=23    ;MOSI
	-D TOUCH_DO=19     ;MISO
	-D TOUCH_CS=5
;
	-D SD_SCLK=14
	-D SD_MOSI=13
	-D SD_MISO=12
	-D SD_CS=22

Various other mod’s to the .cpp code to make it work.
I know the SD card is alone on the HSPI bus, because I can just leave its CS pin LOW all the time and everything still works together, TFT, Touchscreen and SD card.
Obviously, I’m still juggling the TFT & Touch CS pins on the VSPI bus.

Result … No change, still getting the “duplicate func” and “Memory dump at 0x” messages.
Hmmmmm ??? …