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

CORE2 stack overflow #126

Closed
fbritop opened this issue Mar 26, 2023 · 6 comments
Closed

CORE2 stack overflow #126

fbritop opened this issue Mar 26, 2023 · 6 comments

Comments

@fbritop
Copy link

fbritop commented Mar 26, 2023

I had no trouble with previous devices from CORE2 (2 test units), I did order 20 units to proceed, but none of them work.
I have donde even a very simple Arduino Program with no luck

//#include <M5Core2.h>
//#include <M5Unified.h>
void setup() {
  Serial.begin(115200);
  //M5.begin();
  Serial.println("f(setup)");

}
void loop() {
  //M5.update();
}

__
It thorws this exception:

ERROR A stack overflow in task IDLE1 has been detected.
abort() was called at PC 0x40088bfc on core 1

ELF file SHA256: 0000000000000000

Backtrace: 0x40088974:0x3ffba560 0x40088be5:0x3ffba580 0x40088bfc:0x3ffba5a0 0x4008a4de:0x3ffba5c0 0x4008be74:0x3ffba5e0 0x4008be2a:0xa5a5a5a5

Rebooting...
__

@Tinyu-Zhao
Copy link
Collaborator

Obviously your simplest program is wrong, you did not include the header file Arduino.h

You need to add #include <Arduino.h> at the top

@Tinyu-Zhao
Copy link
Collaborator

You can use M5Burner to download the M5Core2 factory test program to check if the M5Core2 is damaged.

@fbritop
Copy link
Author

fbritop commented Apr 2, 2023 via email

@Tinyu-Zhao
Copy link
Collaborator

In addition, M5Core2 and M5Unified cannot be used together, because they are both libraries that control the host device and can cause conflicts

M5Core2 library is specifically for M5Core2.
M5Unified can basically control all the M5 host devices.

@fbritop
Copy link
Author

fbritop commented Apr 2, 2023 via email

@Tinyu-Zhao
Copy link
Collaborator

[image: image.png]

On Sun, Apr 2, 2023 at 11:45 AM Tinyu @.***> wrote:

In addition, M5Core2 and M5Unified cannot be used together, because they
are both libraries that control the host device and can cause conflicts

M5Core2 library is specifically for M5Core2.
M5Unified can basically control all the M5 host devices.


Reply to this email directly, view it on GitHub
#126 (comment),
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXHTHL5FUR7NTY5WZJ6N3LW7GNH3ANCNFSM6AAAAAAWIOEYHY
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Felipe Eduardo Brito Pearson
Ingeniero Informático

I can't see anything.

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