You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any attempt to use serial callbacks do not work. Using serial without callbacks work fine.
What target does this relate to?
NUCLEO-H743ZI
What toolchain (name + version) are you using?
mbed-os-5.4.0-rc1-15146-gb0073bb70d
What tools (name + version - is it mbed-cli, online compiler or IDE) are you using?
mbed-cli 1.10.0
What is the SHA of Mbed OS (git log -n1 --oneline)? b0073bb70d (HEAD -> master, origin/master, origin/HEAD) Merge pull request #10774 from fkjagodzinski/fix-uart_irq
Steps to reproduce.
Use this code
#include"mbed.h"
DigitalOut led1(LED1);
DigitalOut led2(PE_1); // LED2 is PE_1 on v2 of this board
DigitalOut led3(LED3);
Serial serial(USBTX, USBRX, 115200);
voidon_data() {
led1 = !led1;
while (serial.readable()) {
serial.putc(serial.getc());
}
}
intmain() {
serial.attach(&on_data);
while (1) {
led2 = !led2;
led3 = !led3;
wait(0.5);
}
}
Open the port and an send any character. It will dump this error
++ MbedOS Error Info ++
Error Status: 0x80010133 Code: 307 Module: 1
Error Message: Mutex: 0x200019A4, Not allowed in ISR context
Location: 0x8002587
Error Value: 0x200019A4
Current Thread: rtx_idle Id: 0x20001264 Entry: 0x8002595 StackSize: 0x300 StackMem: 0x200015A8 SP: 0x2001FEB8
For more info, visit: https://mbed.com/s/error?error=0x80010133&tgt=NUCLEO_H743ZI
-- MbedOS Error Info --
= System will be rebooted due to a fatal error =
= Reboot count(=1) reached maximum, system will halt after rebooting
Description
Any attempt to use serial callbacks do not work. Using serial without callbacks work fine.
What target does this relate to?
NUCLEO-H743ZI
What toolchain (name + version) are you using?
mbed-os-5.4.0-rc1-15146-gb0073bb70d
What tools (name + version - is it mbed-cli, online compiler or IDE) are you using?
mbed-cli 1.10.0
What is the SHA of Mbed OS (git log -n1 --oneline)?
b0073bb70d (HEAD -> master, origin/master, origin/HEAD) Merge pull request #10774 from fkjagodzinski/fix-uart_irq
Steps to reproduce.
Use this code
Open the port and an send any character. It will dump this error
Edit: It appears to be similar to #3452
Issue request type
The text was updated successfully, but these errors were encountered: