Threading error when importing hello world programm for Teseo-LIV3F & Nucelo-f401re

1

I am trying to run the hello world program to obtain the lat and long coordinates of my position using the program linked here —> https://os.mbed.com/components/X-NUCLEO-GNSS1A1/

I am using the Nucleo-f401re board and have the X-NUCLEO-GNSS1A1 shielded on top with the antenna. The program compiles and runs perfect in the Mbed online compiler, but when I export to Mbed studio or keil. I receive the below shown error message when running the program. The program does, however, compile ok.

++ MbedOS Error Info ++
Error Status: 0x80010132 Code: 306 Module: 1
Error Message: Thread: 0x0, Parameter error
Location: 0x800EDF1
Error Value: 0x0
Current Thread: main Id: 0x20003B28 Entry: 0x800AAB9 StackSize: 0x1000 StackMem: 0x20002620 SP: 0x20017F4C
For more info, visit: https://mbed.com/s/error?error=0x80010132&tgt=NUCLEO_F401RE
-- MbedOS Error Info --

enter link description here

I have googled this error message and the following was obtained…

enter link description here

I'm not sure what action to take from here as i don't really understand the problem. If someone could shed any light i would greatly appreciate it.

I don't know which line of code is causing the error and im not sure it actually is a line of code that is causing the error. Maybe out of date libs or something.

This is the Main code -

int main() {
  Thread consoleThread;
  Thread cmdThread;

  consoleThread.set_priority(osPriorityIdle);
  cmdThread.set_priority(osPriorityIdle);

  serialDebug.format(8, Serial::None, 1);
  serialDebug.baud(115200);
  consoleThread.start(_ConsoleRxHandler);

  gnss.reset();
  gnss.onLocationUpdate(locationHandler);
  TESEO_APP_LOG_INFO("Success to new GNSS.\r\n");

  _AppShowCmd();
  cmdThread.start(_ExecAppCmd);

  while(1) {
    ThisThread::yield();
  }

}
c++
arm
embedded
stm32
mbed
asked on Stack Overflow Jan 31, 2020 by Harry Keane • edited Feb 1, 2020 by Harry Keane

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0