(resolved) I2C malloc error

User avatar
mzimmers
Posts: 643
Joined: Wed Mar 07, 2018 11:54 pm
Location: USA

Re: I2C malloc error

Postby mzimmers » Wed Apr 03, 2019 1:57 pm

Hi Sprite - I did have pull-ups, but they were about half the 3.3K recommended by the other article. I replaced them, and it didn't change anything.

Something is definitely wrong here...the prevalence of articles on this subject suggests a bug in the I2C library, at least to me.

User avatar
mzimmers
Posts: 643
Joined: Wed Mar 07, 2018 11:54 pm
Location: USA

Re: I2C malloc error

Postby mzimmers » Wed Apr 17, 2019 8:48 pm

Marking as resolved. While I can't rule out a problem with the I2C library, no one else seems to be having a problem with it, so I'm going to assume it's something in my code.

sumesh
Posts: 16
Joined: Fri Dec 22, 2017 12:11 am

Re: (resolved) I2C malloc error

Postby sumesh » Tue Jul 21, 2020 12:47 am

i am facing this issue as well, how did you resolve it?

User avatar
mzimmers
Posts: 643
Joined: Wed Mar 07, 2018 11:54 pm
Location: USA

Re: (resolved) I2C malloc error

Postby mzimmers » Tue Jul 21, 2020 1:25 am

See my final post here: viewtopic.php?f=13&t=15978

Things Creator
Posts: 1
Joined: Sun Jan 17, 2021 1:54 pm

Re: (resolved) I2C malloc error

Postby Things Creator » Sun Jan 17, 2021 2:01 pm

In my case, if i didn't call to "i2c_cmd_link_delete(cmd_handle)" function then you can see same error in the terminal.
Attachments
test.PNG
test.PNG (82.49 KiB) Viewed 3463 times

Who is online

Users browsing this forum: No registered users and 160 guests