I am starting with LPC Expresso IDE software for coding LPC2478 controller

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

I am starting with LPC Expresso IDE software for coding LPC2478 controller

跳至解决方案
1,637 次查看
VijayaJangam1
Contributor II

I had done all things free addition is start But when I code run this problem is occurs this are the errors so please guide me 16:19:29 **** Incremental Build of configuration Debug for project LED_Blink **** make -r all bash.exe: warning: could not find /tmp, please create! Building file: ../src/main.c bash.exe: warning: could not find /tmp, please create! Invoking: MCU C Compiler arm-none-eabi-gcc -DDEBUG -D__CODE_RED -D__REDLIB__ -O0 -fno-common -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=arm7tdmi -specs=redlib.specs -MMD -MP -MF"src/main.d" -MT"src/main.o" -MT"src/main.d" -o "src/main.o" "../src/main.c" bash.exe: warning: could not find /tmp, please create! ../src/main.c:1:64: fatal error: LPC24xx.h: No such file or directory compilation terminated. make: *** [src/main.o] Error 1 16:19:30 Build Finished (took 300ms)

标签 (1)
0 项奖励
回复
1 解答
1,611 次查看
Harry_Zhang
NXP Employee
NXP Employee

Hi @VijayaJangam1 

1.The "bash.exe: warning: could not find /tmp" means your Windows environment  doesn’t have a /tmp directory.

I think you can try to create a tmp folder.

2.fatal error: LPC24xx.h: No such file or directory

means your project can’t find the LPC2478 MCU header file.

I think you can try to add the include path to your project settings or 

copy the file into your project’s include directory.

BR

Harry

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,593 次查看
VijayaJangam1
Contributor II
Hello Sir,
  I had include LPC24xx.h file in the project and starting with LED program but  I had faced problem in Debugging there is not properly Debug the project What I should do next please guide me. I have sending the document in that mention all things 
Thank You for your Support 
 
 
 
 
0 项奖励
回复
1,525 次查看
Harry_Zhang
NXP Employee
NXP Employee

Hi@VijayaJangam1 

The FT232RL is a USB-to-UART bridge chip.

It only provides a serial port connection for communication.

It cannot provide hardware debug, because it does not support ARM debug protocols.

If it’s debugging, I’ll suggest connecting an LPC-Link2.

BR

Harry

0 项奖励
回复
1,612 次查看
Harry_Zhang
NXP Employee
NXP Employee

Hi @VijayaJangam1 

1.The "bash.exe: warning: could not find /tmp" means your Windows environment  doesn’t have a /tmp directory.

I think you can try to create a tmp folder.

2.fatal error: LPC24xx.h: No such file or directory

means your project can’t find the LPC2478 MCU header file.

I think you can try to add the include path to your project settings or 

copy the file into your project’s include directory.

BR

Harry

0 项奖励
回复
1,593 次查看
VijayaJangam1
Contributor II
Thank You for your Support
0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2149812%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E6%88%91%E5%BC%80%E5%A7%8B%E4%BD%BF%E7%94%A8%20LPC%20Expresso%20IDE%20%E8%BD%AF%E4%BB%B6%E4%B8%BA%20LPC2478%20%E6%8E%A7%E5%88%B6%E5%99%A8%E7%BC%96%E7%A0%81%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2149812%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%91%E5%B7%B2%E7%BB%8F%E5%85%8D%E8%B4%B9%E5%81%9A%E4%BA%86%E6%89%80%E6%9C%89%E4%BA%8B%E6%83%85%EF%BC%8C%E4%BD%86%E6%98%AF%E5%BD%93%E6%88%91%E8%BF%90%E8%A1%8C%E4%BB%A3%E7%A0%81%E6%97%B6%E4%BC%9A%E5%87%BA%E7%8E%B0%E8%BF%99%E4%B8%AA%E9%97%AE%E9%A2%98%E6%89%80%E4%BB%A5%E8%AF%B7%E6%8C%87%E5%AF%BC%E6%88%91%2016%3A19%3A29%20****%20%E5%A2%9E%E9%87%8F%E9%85%8D%E7%BD%AE%E7%89%88%E6%9C%AC%E8%B0%83%E8%AF%95%E9%A1%B9%E7%9B%AE%20led_blink%20****%20make-r%20all%20bash.exe%EF%BC%9A%E8%AD%A6%E5%91%8A%EF%BC%9A%E6%89%BE%E4%B8%8D%E5%88%B0%20%2Ftmp%EF%BC%8C%E8%AF%B7%E5%88%9B%E5%BB%BA%EF%BC%81%E6%9E%84%E5%BB%BA%E6%96%87%E4%BB%B6%EF%BC%9A..%2Fsrc%2Fmain.c%20bash.exe%EF%BC%9A%E8%AD%A6%E5%91%8A%EF%BC%9A%E6%89%BE%E4%B8%8D%E5%88%B0%20%2Ftmp%EF%BC%8C%E8%AF%B7%E5%88%9B%E5%BB%BA%EF%BC%81%E8%B0%83%E7%94%A8%EF%BC%9AMCU%20C%20%E7%BC%96%E8%AF%91%E5%99%A8%20arm-none-eabi-gcc-DDEBUG-D__CODE_RED-D%20__REDLIB__-O0-fno-common-g3-Wall-c-fmessage-length%3D0-fno-builtin-function-sections-fdata-sections-mcpu%3Darm7tdmi-specs%3Dredlib.specs-MMD-MP%20%22%20src%2Fmain.d%20%22-MT%22src%2Fmain.o%22-MT%22src%2Fmain.d%22-o%22src%2Fmain.o%22%22..%2Fsrc%2Fmain.c%22bash.exe%EF%BC%9A%E8%AD%A6%E5%91%8A%EF%BC%9A%E6%89%BE%E4%B8%8D%E5%88%B0%20%2Ftmp%EF%BC%8C%E8%AF%B7%E5%88%9B%E5%BB%BA%EF%BC%81..%2Fsrc%2Fmain.c%3A1%3A64%3A%20fatal%20error%EF%BC%9ALPC24xx.h%EF%BC%9A%E6%97%A0%E6%AD%A4%E6%96%87%E4%BB%B6%E6%88%96%E7%9B%AE%E5%BD%95%20%E7%BC%96%E8%AF%91%E5%B7%B2%E7%BB%88%E6%AD%A2%E3%80%82make%EF%BC%9A***%20%5Bsrc%2Fmain.o%5D%E9%94%99%E8%AF%AF%201%2016%3A19%3A30%20%E7%89%88%E6%9C%AC%E5%AE%8C%E6%88%90%EF%BC%88%E8%8A%B1%E4%BA%86%20300%20%E6%AF%AB%E7%A7%92%EF%BC%89%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2149812%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3ELPCXpresso%E8%AE%BA%E5%9D%9B%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2153193%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20I%20am%20starting%20with%20LPC%20Expresso%20IDE%20software%20for%20coding%20LPC2478%20controller%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2153193%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F253577%22%20target%3D%22_blank%22%3EHi%40VijayaJangam1%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EFT232RL%20%E6%98%AF%E4%B8%80%E6%AC%BE%20USB%20%E8%87%B3%20UART%20%E6%A1%A5%E6%8E%A5%E8%8A%AF%E7%89%87%E3%80%82%3C%2FP%3E%0A%3CP%3E%E5%AE%83%E5%8F%AA%E6%8F%90%E4%BE%9B%E7%94%A8%E4%BA%8E%E9%80%9A%E4%BF%A1%E7%9A%84%E4%B8%B2%E8%A1%8C%E7%AB%AF%E5%8F%A3%E8%BF%9E%E6%8E%A5%E3%80%82%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%E5%AE%83%E6%97%A0%E6%B3%95%E6%8F%90%E4%BE%9B%E7%A1%AC%E4%BB%B6%E8%B0%83%E8%AF%95%EF%BC%8C%3C%2FSPAN%3E%3CSPAN%3E%E5%9B%A0%E4%B8%BA%E5%AE%83%E4%B8%8D%E6%94%AF%E6%8C%81%20ARM%20%E8%B0%83%E8%AF%95%E5%8D%8F%E8%AE%AE%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSPAN%3E%E5%A6%82%E6%9E%9C%E6%98%AF%E8%B0%83%E8%AF%95%EF%BC%8C%E6%88%91%E5%BB%BA%E8%AE%AE%E8%BF%9E%E6%8E%A5%20LPC-Link2%E3%80%82%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EBR%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%E5%93%88%E5%88%A9%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2151669%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20I%20am%20starting%20with%20LPC%20Expresso%20IDE%20software%20for%20coding%20LPC2478%20controller%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2151669%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CDIV%20class%3D%22%22%3E%3CDIV%20class%3D%22%22%3E%3CDIV%3E%3CDIV%3E%E6%82%A8%E5%A5%BD%EF%BC%8C%E5%85%88%E7%94%9F%EF%BC%8C%3CDIV%3E%20%20%E6%88%91%E5%B0%86%20LPC24xx.h%E4%BD%86%E6%88%91%E5%9C%A8%E8%B0%83%E8%AF%95%E8%BF%87%E7%A8%8B%E4%B8%AD%E9%81%87%E5%88%B0%E4%BA%86%E9%97%AE%E9%A2%98%EF%BC%8C%E6%B2%A1%E6%9C%89%E6%AD%A3%E7%A1%AE%E8%B0%83%E8%AF%95%E9%A1%B9%E7%9B%AE%EF%BC%8C%E4%B8%8B%E4%B8%80%E6%AD%A5%E8%AF%A5%E6%80%8E%E4%B9%88%E5%8A%9E%EF%BC%8C%E8%AF%B7%E6%8C%87%E7%A4%BA%E3%80%82%E6%88%91%E5%B7%B2%E5%B0%86%E6%96%87%E4%BB%B6%E5%8F%91%E9%80%81%E7%BB%99%E6%82%A8%EF%BC%8C%E5%85%B6%E4%B8%AD%E6%8F%90%E5%88%B0%E4%BA%86%E6%89%80%E6%9C%89%E4%BA%8B%E6%83%85%20%3C%2FDIV%3E%3CDIV%3E%E6%84%9F%E8%B0%A2%E6%82%A8%E7%9A%84%E6%94%AF%E6%8C%81%20%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22%22%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22%22%3E%3CDIV%20class%3D%22%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22%22%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2151668%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20I%20am%20starting%20with%20LPC%20Expresso%20IDE%20software%20for%20coding%20LPC2478%20controller%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2151668%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E6%84%9F%E8%B0%A2%E6%82%A8%E7%9A%84%E6%94%AF%E6%8C%81%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2151224%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20I%20am%20starting%20with%20LPC%20Expresso%20IDE%20software%20for%20coding%20LPC2478%20controller%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2151224%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F253577%22%20target%3D%22_blank%22%3E%40VijayaJangam1%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E1.%22bash.exe%EF%BC%9Awarning%3A%20could%20not%20find%20%2Ftmp%22%20%E8%A1%A8%E7%A4%BA%E6%82%A8%E7%9A%84%20Windows%20%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