Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build succeeds but startup fails on I (337) main_task: Ca #9

Open
heineken63 opened this issue Dec 17, 2023 · 1 comment
Open

Build succeeds but startup fails on I (337) main_task: Ca #9

heineken63 opened this issue Dec 17, 2023 · 1 comment

Comments

@heineken63
Copy link

Thanks for this great manual, after some time setting up the environment succeeded flashing my esp32v1.

But when starting up it stops doing anything after these log entries:
I (322) app_start: Starting scheduler on CPU0
I (327) app_start: Starting scheduler on CPU1
I (327) main_task: Started on CPU0
I (337) main_task: Ca�None

Anyone knows what is going wrong?

@dbadrian
Copy link

dbadrian commented Mar 22, 2024

I encountered the same problem.

I fixed it for myself like this

      // Configure the data input
      gpio_config_t data_pin_config;
      // {
      data_pin_config.intr_type = GPIO_INTR_ANYEDGE;
      data_pin_config.mode = GPIO_MODE_INPUT;
      data_pin_config.pin_bit_mask = (std::uint64_t{1} << 22); // GPIO_NUM_22 (SEL) DATA PIN!
      data_pin_config.pull_up_en = GPIO_PULLUP_DISABLE;
      data_pin_config.pull_down_en = GPIO_PULLDOWN_DISABLE;

      gpio_config(&data_pin_config);

The bit I really changed here is definition of the pin_bit_mask.
Note: I changed this to c++ (included the cstdint header for uint64 def).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants