SBL2EXA is hanging
Posted: Tue Apr 18, 2017 12:42 am
I just load basic application with commenting assign_stdio(0) and using writestring() instead after loading devices is not detecting .. what is the reason?? and is recovery processes same as sbl2ex?? here im basic code
void UserMain(void * pd) {
SimpleUart(0,BAUDRATE);
// assign_stdio(0);
InitializeStack();
OSChangePrio(MAIN_PRIO);
EnableAutoUpdate();
EnableTaskMonitor();
#ifndef _DEBUG
EnableSmartTraps();
#endif
writestring(0, "Application started\n");
while (1) {
OSTimeDly(TICKS_PER_SECOND);
}
}
void UserMain(void * pd) {
SimpleUart(0,BAUDRATE);
// assign_stdio(0);
InitializeStack();
OSChangePrio(MAIN_PRIO);
EnableAutoUpdate();
EnableTaskMonitor();
#ifndef _DEBUG
EnableSmartTraps();
#endif
writestring(0, "Application started\n");
while (1) {
OSTimeDly(TICKS_PER_SECOND);
}
}