-
Notifications
You must be signed in to change notification settings - Fork 518
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
A mutex doesn't work with dual core in a rp2040 #493
Comments
Using a custom SPI driver works:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
initialize@0x10015244 (Unknown Source:0)
ticker_read_us@0x100153e8 (/ticker_read_us.dbgasm:4)
ticker_read@0x10015408 (/ticker_read.dbgasm:3)
wait_us@0x10016876 (/wait_us.dbgasm:9)
mbed_die@0x10015b38 (/mbed_die.dbgasm:13)
mbed_halt_system@0x10015c98 (Unknown Source:0)
mbed_error@0x10015f38 (/mbed_error.dbgasm:21)
trap_rtx_error@0x10012532 (Unknown Source:0)
EvrRtxMutexError@0x100125f8 (/EvrRtxMutexError.dbgasm:4)
osMutexAcquire@0x100114fe (/osMutexAcquire.dbgasm:11)
rtos::Mutex::lock()@0x10016972 (Unknown Source:0)
mbed::SPI::lock()@0x10012d8e (Unknown Source:0)
mbed::SPI::select()@0x10012cf0 (Unknown Source:0)
mbed::SPI::write(char const*, int, char*, int)@0x10012d5c (Unknown Source:0)
arduino::MbedSPI::transfer@0x10005f66 (//.platformio/packages/framework-arduino-mbed/libraries/SPI/SPI.cpp:47)
SdSpiArduinoDriver::receive@0x1000a66c (.pio/libdeps/pico/SdFat/src/SpiDriver/SdSpiLibDriver.h:55)
SharedSpiCard::spiReceive@0x1000a66c (.pio/libdeps/pico/SdFat/src/SdCard/SdSpiCard.h:315)
SharedSpiCard::readData@0x1000a66c (.pio/libdeps/pico/SdFat/src/SdCard/SdSpiCard.cpp:363)
SharedSpiCard::readData@0x1000a6dc (.pio/libdeps/pico/SdFat/src/SdCard/SdSpiCard.cpp:354)
DedicatedSpiCard::readSectors@0x1000aca4 (.pio/libdeps/pico/SdFat/src/SdCard/SdSpiCard.cpp:726)
DedicatedSpiCard::readSector@0x1000acd4 (.pio/libdeps/pico/SdFat/src/SdCard/SdSpiCard.cpp:715)
The text was updated successfully, but these errors were encountered: