serial bug in mbed?

03 May 2019

Hi, I just migrated from NRF52832 to NRF52840, and somehow, my Serial interface no longer works. I made a very simple program, and not even that works, I think its due to an bug in mbed?

this does not work

#include "mbed.h"
Serial ser(P0_6, P0_8);

void callback() {
    ser.putc(ser.getc());
}
 
int main() {
    ser.attach(&callback);
    
    while (1) {
        wait(0.5);
    }
}

its 100% reproducable and I get following error message:

++ MbedOS Error Info ++␊ [13:42:41:239] Error Status: 0x80020115 Code: 277 Module: 2␊ [13:42:41:332] Error Message: Mutex lock failed␊ [13:42:41:332] Location: 0x32BCD␊ [13:42:41:337] Error Value: 0xFFFFFFFA␊ [13:42:41:365] Current Thread: rtx_idle Id: 0x2000789C Entry: 0x32F61 StackSize: 0x200 StackMem: 0x20007BE0 SP: 0x2003FF38 ␊ [13:42:41:478] For more info, visit: https://armmbed.github.io/mbedos-error/?error=0x80020115␊ [13:42:41:581] MbedOS Error Info

any Info on this?

thanks, Jonas

03 May 2019

Im sorry, please close this issue.

But for people that are as Ignorant as I am when it comes to reading warnings, read this: https://github.com/ARMmbed/mbed-os/issues/10531#

Please log in to post a reply.