Nothing happens after cpu_start

waiyar
Posts: 4
Joined: Fri Jun 07, 2019 1:20 am

Nothing happens after cpu_start

Postby waiyar » Fri Jun 07, 2019 5:34 am

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.
Last edited by waiyar on Sat Jun 08, 2019 2:14 am, edited 1 time in total.

ESP_Sprite
Posts: 9766
Joined: Thu Nov 26, 2015 4:08 am

Re: Nothing happens after cpu_start

Postby ESP_Sprite » Sat Jun 08, 2019 2:08 am

It's a bit hard to say what happened without seeing the code in question and/or the sdkconfig you're using.

waiyar
Posts: 4
Joined: Fri Jun 07, 2019 1:20 am

Re: Nothing happens after cpu_start

Postby waiyar » 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.

Ritesh
Posts: 1383
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: Nothing happens after cpu_start

Postby Ritesh » Tue Jun 11, 2019 8:35 am

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?
Regards,
Ritesh Prajapati

Who is online

Users browsing this forum: No registered users and 64 guests