Debug Error : The function "close" returned an error condition  (0x80004005)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Debug Error : The function "close" returned an error condition  (0x80004005)

520 Views
rafaeldalazen
Contributor II

Hi,

 

 

Trying to debug my project ,this error has appeared:

 

 

An error has occurred. See error log for more details.

The function "close" returned an error condition  (0x80004005)

 

 

I'm using the KL26Z128 microcontroller and programming in CodeWarrior 10.6.

 

 

The goal of this project is to receive data from FXOS8700CQ through of the I2C0 . After I have configured the I2C0, no error has shown.

But  to use the printf(" ") function, I had to configure the UART0 , then after this adjust ,this error started to appear.

 

 

Can someone give me a clue?

 

PS: The project is attached bellow.

 

Thanks!

Original Attachment has been moved to: IMUS.rar

1 Reply

313 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Rafael.

After i change here :

pastedImage_0.png

It can debug to KL26 correctly, and because i have not your board and FXOS8700CQ , so i can not test the function of the project.

When i run the project ,it will wait for here :

pastedImage_1.png

.  Please try change it and test on your side.

And if you think it is the prinft() reason , please tell me bound rate and other protocol of the UART, i can test it on my side .


Have a great day,
Alice

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------