I have no issues running multiple thread instances but I can not run more then one thread at the same time, is that not possible?
When the second thread starts, the code freezes.
extern osThreadId KA;
void KA_CODE (void const *arg);
KA = osThreadCreate (osThread(KA_CODE_HS), NULL);
osThreadDef(KA_CODE_HS, osPriorityNormal, 1, NULL);
void KA_CODE_HS(void const *arg)
CANWrite_HS(ECU_ID_GM_1, ka, 1);
//and thd 2
extern osThreadId act;
static void Activity (void const *arg);
act = osThreadCreate (osThread(activity_Thread), NULL);
osThreadDef(activity_Thread, osPriorityNormal, 1, NULL);
void activity_Thread(void const *arg)
pre tags no longer work?
Thank you for patience on the forum. We patched a potential
vulnerability and accidentally removed the functionality for HTML
As you saw, we fixed this issue. It should be easier to read
Please keep reporting forum or website issues to Keil Support
That is the fastest way to get our attention. It is great that this
forum community is still going strong after all of these years
together, and we don't want issues like these to cause needless
View all questions in Keil forum