Getting error in sample code of LPC845

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

Getting error in sample code of LPC845

Jump to solution
2,201 Views
vidhya1
Contributor III

Hi all,

I'm migrating from LPC2148 MCU to LPC845 MCU, and downloaded keil code bundles from

NXP website, but when i'm compiling sample codes , getting error as below:

.\Objects\Ctimer_PWM.axf: error: L6002U: Could not open file ..\peripherals_lib\Objects\peripherals_lib.lib: No such file or directory

Since peripherals_lib.lib, utilties_lib.lib  libraries are missing, so where can I found these library files.

And also i'm interfacing 8x2 lcd display with LPC845 MCU, with general GPIO pins , sample codes are for I2C and

SPI, so can you please help me out with library files for serial interfacing of display[ST7066U
Dot Matrix LCD Controller/Driver].

Many Thanks

Labels (4)
1 Solution
1,970 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

I just tested LPC845-Example-Code-Bundle-Keil on my side. I didn't see build error.

Please note the library projects (*_lib) must be individually built before the example projects will build.

pastedImage_1.png

After building these two lib individually, you should have no problem build other project.


Have a great day,
Jun Zhang

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

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

View solution in original post

6 Replies
1,971 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

I just tested LPC845-Example-Code-Bundle-Keil on my side. I didn't see build error.

Please note the library projects (*_lib) must be individually built before the example projects will build.

pastedImage_1.png

After building these two lib individually, you should have no problem build other project.


Have a great day,
Jun Zhang

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

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

1,970 Views
vidhya1
Contributor III

Thank you sir, it worked.

0 Kudos
Reply
1,970 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

You are welcome!


Have a great day,
Jun Zhang

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

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply
1,970 Views
vidhya1
Contributor III

Hello Sir,

One more issue i'm facing, below is the issue described:

Previously LPC845 sample codes were executing correctly,

I had tested blinky code on LPCXpresso845MAX board, but

after I updated the pack installer, I'm not able to load

the file to MCU board, erase can be done but not able to load.

When checked the error in google, it directed to keil site,

where I need to download the LPC845 pack http://www.keil.com/dd2/pack/

But i'm not able to install it.

Kindly guide me how to resolve this issue.

0 Kudos
Reply
1,970 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi,

Thanks for your question. In order to separate different subject. Could you please create a new thread of for it?

I appreciate your understanding.

Have a nice day,

Jun Zhang

0 Kudos
Reply
1,970 Views
vidhya1
Contributor III

Yes sir sure, I have created thread for it.

Below is the link of that thread:

https://community.nxp.com/thread/496881

Thanks & Regards,

Vidhya