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

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

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

Jump to solution
2,904 Views
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)

Labels (1)
0 Kudos
Reply
1 Solution
2,878 Views
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

View solution in original post

0 Kudos
Reply
4 Replies
2,860 Views
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 Kudos
Reply
2,792 Views
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 Kudos
Reply
2,879 Views
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 Kudos
Reply
2,860 Views
VijayaJangam1
Contributor II
Thank You for your Support
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2149812%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EI%20am%20starting%20with%20LPC%20Expresso%20IDE%20software%20for%20coding%20LPC2478%20controller%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2149812%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20had%20done%20all%20things%20free%20addition%20is%20start%20But%20when%20I%20code%20run%20this%20problem%20is%20occurs%20this%20are%20the%20errors%20so%20please%20guide%20me%2016%3A19%3A29%20****%20Incremental%20Build%20of%20configuration%20Debug%20for%20project%20LED_Blink%20****%20make%20-r%20all%20bash.exe%3A%20warning%3A%20could%20not%20find%20%2Ftmp%2C%20please%20create!%20Building%20file%3A%20..%2Fsrc%2Fmain.c%20bash.exe%3A%20warning%3A%20could%20not%20find%20%2Ftmp%2C%20please%20create!%20Invoking%3A%20MCU%20C%20Compiler%20arm-none-eabi-gcc%20-DDEBUG%20-D__CODE_RED%20-D__REDLIB__%20-O0%20-fno-common%20-g3%20-Wall%20-c%20-fmessage-length%3D0%20-fno-builtin%20-ffunction-sections%20-fdata-sections%20-mcpu%3Darm7tdmi%20-specs%3Dredlib.specs%20-MMD%20-MP%20-MF%22src%2Fmain.d%22%20-MT%22src%2Fmain.o%22%20-MT%22src%2Fmain.d%22%20-o%20%22src%2Fmain.o%22%20%22..%2Fsrc%2Fmain.c%22%20bash.exe%3A%20warning%3A%20could%20not%20find%20%2Ftmp%2C%20please%20create!%20..%2Fsrc%2Fmain.c%3A1%3A64%3A%20fatal%20error%3A%20LPC24xx.h%3A%20No%20such%20file%20or%20directory%20compilation%20terminated.%20make%3A%20***%20%5Bsrc%2Fmain.o%5D%20Error%201%2016%3A19%3A30%20Build%20Finished%20(took%20300ms)%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%20Forum%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%3EHi%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%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20FT232RL%20is%20a%20USB-to-UART%20bridge%20chip.%3C%2FP%3E%0A%3CP%3EIt%20only%20provides%20a%20serial%20port%20connection%20for%20communication.%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EIt%20cannot%20provide%20hardware%20debug%2C%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Ebecause%20it%20does%20not%20support%20ARM%20debug%20protocols.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSPAN%3EIf%20it%E2%80%99s%20debugging%2C%20I%E2%80%99ll%20suggest%20connecting%20an%20LPC-Link2.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EBR%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EHarry%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%3EHello%20Sir%2C%3CDIV%3E%26nbsp%3B%20I%20had%20include%20LPC24xx.h%20file%20in%20the%20project%20and%20starting%20with%20LED%20program%20but%26nbsp%3B%20I%20had%20faced%20problem%20in%20Debugging%20there%20is%20not%20properly%20Debug%20the%20project%20What%20I%20should%20do%20next%20please%20guide%20me.%20I%20have%20sending%20the%20document%20in%20that%20mention%26nbsp%3Ball%20things%26nbsp%3B%3C%2FDIV%3E%3CDIV%3EThank%20You%20for%20your%20Support%26nbsp%3B%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%3EThank%20You%20for%20your%20Support%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%3EHi%26nbsp%3B%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%26nbsp%3B%3C%2FP%3E%0A%3CP%3E1.The%20%22bash.exe%3A%20warning%3A%20could%20not%20find%20%2Ftmp%22%20means%20your%20Windows%20environment%26nbsp%3B%20doesn%E2%80%99t%20have%20a%20%2Ftmp%20directory.%3C%2FP%3E%0A%3CP%3EI%20think%20you%20can%20try%20to%20create%20a%20tmp%20folder.%3C%2FP%3E%0A%3CP%3E2.fatal%20error%3A%20LPC24xx.h%3A%20No%20such%20file%20or%20directory%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Emeans%20your%20project%20can%E2%80%99t%20find%20the%20LPC2478%20MCU%20header%20file.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EI%20think%20you%20can%20try%20to%20add%20the%20include%20path%20to%20your%20project%20settings%20or%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Ecopy%20the%20file%20into%20your%20project%E2%80%99s%20include%20directory.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EBR%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EHarry%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E