Page 1 of 1
Nothing happens after cpu_start
Posted: Fri Jun 07, 2019 5:34 am
by waiyar
My code compiled without any errors and this is what happens after resetting.
Code: Select all
...
I (282) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
After this statement nothing happens, I have added a printf statement inside of app_main and even that didn't run. I have attempted this multiple times with the same results of nothing happening.
Re: Nothing happens after cpu_start
Posted: Sat Jun 08, 2019 2:08 am
by ESP_Sprite
It's a bit hard to say what happened without seeing the code in question and/or the sdkconfig you're using.
Re: Nothing happens after cpu_start
Posted: Sat Jun 08, 2019 2:13 am
by waiyar
I feel really stupid but it's because I didn't realise the sleep() command in C was in seconds and had put sleep(2000) instead of 2.
Re: Nothing happens after cpu_start
Posted: Tue Jun 11, 2019 8:35 am
by Ritesh
waiyar wrote: ↑Sat Jun 08, 2019 2:13 am
I feel really stupid but it's because I didn't realise the sleep() command in C was in seconds and had put sleep(2000) instead of 2.
Great. So, Issue has been resolved after decreasing that delay?