I tried to create new target for STM NUCLEO L452RE board.
After few hours and days, I can build first program without errors, but no program works.
Fo example, simple code:
my code
#include "mbed.h"
DigitalOut led1(LED1);
Serial ser(PA_2, PA_3, 115200);
// main() runs in its own thread in the OS
int main() {
while (true) {
led1 = !led1;
wait(1);
printf("Hello NUCLEO_L452RE \r\n");
uint32_t someuint = 0;
someuint++;
}
}
And this is what I see on serial console after running program:
my console
++ MbedOS Error Info ++
Error Status: 0x80010133 Code: 307 Module: 1
Error Message: Mutex: 0x20000EEC, Unknown
Location: 0x80047BB
Error Value: 0x20000EEC
Current Thread: Id: 0x0 Entry: 0x8004871 StackSize: 0x0 StackMem: 0x8005C3D SP: 0x2001FE58
For more info, visit: https://armmbed.github.io/mbedos-error/?error=0x80010133
-- MbedOS Error Info --
Today I think that I will give up already, but maybe someone will tell me where to look for the problem. Or maybe someone has a ready target for L452RE and could share?
By the way, I noticed that the hall controllers in STM libraries are different from the newest, which can be found in the CubeMX repositories. However, I do not know if this has any meaning for my problem, although I lost my evening yesterday because of the changed name of one of the variables. Are these drivers updated at all in the MBED OS sources? And if so, how often?
I tried to create new target for STM NUCLEO L452RE board. After few hours and days, I can build first program without errors, but no program works.
Fo example, simple code:
my code
And this is what I see on serial console after running program:
my console
Today I think that I will give up already, but maybe someone will tell me where to look for the problem. Or maybe someone has a ready target for L452RE and could share?
By the way, I noticed that the hall controllers in STM libraries are different from the newest, which can be found in the CubeMX repositories. However, I do not know if this has any meaning for my problem, although I lost my evening yesterday because of the changed name of one of the variables. Are these drivers updated at all in the MBED OS sources? And if so, how often?