LCPXpresso Program not found

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LCPXpresso Program not found

1,466件の閲覧回数
Chish
Contributor II

I've just started learning the programming in NXP. 

I'm using LPC11148 with LPC link debugger but I'm getting the following error. 

'launching DALI_Slave_LPC111x Debug' has encountered a problem.
Program file doesn't exist

What could be the problem and how can I fix it up?

 

Regards,

0 件の賞賛
6 返答(返信)

1,411件の閲覧回数
Chish
Contributor II

14:08:40 **** Incremental Build of configuration Debug for project DALI_Slave_LPC111x ****
make -r all
Building file: ../src/Discovery.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -O0 -g3 -Wall -c -fmessage-length=0 -mcpu=arm7tdmi -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"src/Discovery.d" -MT"src/Discovery.o" -MT"src/Discovery.d" -o "src/Discovery.o" "../src/Discovery.c"
../src/Discovery.c:8:21: fatal error: LPC11xx.h: No such file or directory
compilation terminated.
make: *** [src/Discovery.o] Error 1

14:08:40 Build Finished (took 331ms)

 

Now I'm getting this error 

 

0 件の賞賛

1,403件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

From the error message "fatal error: LPC11xx.h: No such file or directory", your project can't find LPC11xx.h . Do you include this file to the project?

or is this code based on lpcopen? if so, you need to build chip and board lib first.

Again, if this is a demo code, please send the download link, thus we can check it directly.

Thanks,

Jun Zhang

0 件の賞賛

1,416件の閲覧回数
Chish
Contributor II

Hi, I've changed the name and remove the ".hex" from the post-building settings the issue is resloved when I debug with the MCUXpress. After doing all the same settings for the LPCXpress it doesn't work... although the code is same.

 

Regards,

 

0 件の賞賛

1,450件の閲覧回数
Chish
Contributor II

Chish_0-1633703647042.png

I tried to build new project

I selected LPC11148/302

then there appear blank project with the existing " program" 

I built it and then debug 

after that this dialog appeared

PS: I'm using LPC link.

IDE LPCXpresso free edition 

 

0 件の賞賛

1,431件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi,

If none of the project can be downloaded, the problem may be on both PC side or Board side.

Please test your board on two more computers to verify if the board is good?

If your board never successfully connected once and this is a custom designed board, you need to check the debug interface design. and make sure the LPC-Link is well recognized by windows.

https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Design-Considerations-for-Debug/m-p/469565

 

Have a nice day

Jun Zhang

0 件の賞賛

1,456件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi 

Please check if your project generate valid program file (*.afx) file.

To verify if HW connect is correct, create a new project with wizard, can it be downloaded to target ?

Thanks,

Jun Zhang

0 件の賞賛