How to run FatFS example on LPC1769 LPCXpresso board with LPCXpresso IDE

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

How to run FatFS example on LPC1769 LPCXpresso board with LPCXpresso IDE

1,313件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by elektronchika on Sun Nov 23 09:22:10 MST 2014
Hello everyone,

I'm currently trying to import FatFS example for LPC176x in LPCXpresso IDE. The problem is that this project is done with Keil, I think. Everything went good, until I try to build the configuration. The error I receive is:

fatal error: lpc17xx.h: No such file or directorymain.c/LPC1700_FatFs_Prj/src/Mainline 7C/C++ Problem


And of cource the header file is in the project.

Can anyone help me solve this. Thanks!
ラベル(1)
0 件の賞賛
返信
4 返答(返信)

1,200件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by elektronchika on Wed Nov 26 13:38:33 MST 2014
Well, the next errors are:

DescriptionResourcePathLocationType
bad instruction `__heap_base'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 41C/C++ Problem
bad instruction `__heap_limit'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 43C/C++ Problem
bad instruction `__initial_sp'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 31C/C++ Problem
bad instruction `__microlib'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 254C/C++ Problem
bad instruction `__user_initial_stackheap'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 264C/C++ Problem
bad instruction `__vectors DCD __initial_sp'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 55C/C++ Problem
bad instruction `a/D Converter'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 95C/C++ Problem
bad instruction `adc_irqhandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 232C/C++ Problem
bad instruction `align'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 249C/C++ Problem
bad instruction `align'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 272C/C++ Problem
bad instruction `area |.ARM.__at_0x02FC|,CODE,READONLY'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 109C/C++ Problem
bad instruction `area |.text|,CODE,READONLY'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 114C/C++ Problem
bad instruction `area HEAP,NOINIT,READWRITE,ALIGN=3'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 40C/C++ Problem
bad instruction `area RESET,DATA,READONLY'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 52C/C++ Problem
bad instruction `area STACK,NOINIT,READWRITE,ALIGN=3'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 29C/C++ Problem
bad instruction `bod_irqhandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 233C/C++ Problem
bad instruction `brown-Out Detect'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 96C/C++ Problem
bad instruction `bus Fault Handler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 60C/C++ Problem
bad instruction `busfault_handler PROC'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 146C/C++ Problem
bad instruction `can_irqhandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 235C/C++ Problem
bad instruction `can'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 98C/C++ Problem
bad instruction `crp_key DCD 0xFFFFFFFF'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 110C/C++ Problem
bad instruction `dcd 0'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 62C/C++ Problem
bad instruction `dcd 0'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 63C/C++ Problem
bad instruction `dcd 0'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 64C/C++ Problem
bad instruction `dcd 0'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 65C/C++ Problem
bad instruction `dcd 0'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 68C/C++ Problem
bad instruction `dcd ADC_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 95C/C++ Problem
bad instruction `dcd BOD_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 96C/C++ Problem
bad instruction `dcd BusFault_Handler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 60C/C++ Problem
bad instruction `dcd CAN_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 98C/C++ Problem
bad instruction `dcd DebugMon_Handler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 67C/C++ Problem
bad instruction `dcd DMA_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 99C/C++ Problem
bad instruction `dcd EINT0_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 91C/C++ Problem
bad instruction `dcd EINT1_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 92C/C++ Problem
bad instruction `dcd EINT2_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 93C/C++ Problem
bad instruction `dcd EINT3_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 94C/C++ Problem
bad instruction `dcd ENET_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 101C/C++ Problem
bad instruction `dcd HardFault_Handler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 58C/C++ Problem
bad instruction `dcd I2C0_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 83C/C++ Problem
bad instruction `dcd I2C1_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 84C/C++ Problem
bad instruction `dcd I2C2_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 85C/C++ Problem
bad instruction `dcd I2S_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 100C/C++ Problem
bad instruction `dcd MCPWM_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 103C/C++ Problem
bad instruction `dcd MemManage_Handler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 59C/C++ Problem
bad instruction `dcd NMI_Handler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 57C/C++ Problem
bad instruction `dcd PendSV_Handler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 69C/C++ Problem
bad instruction `dcd PLL0_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 89C/C++ Problem
bad instruction `dcd PLL1_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 105C/C++ Problem
bad instruction `dcd PWM1_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 82C/C++ Problem
bad instruction `dcd QEI_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 104C/C++ Problem
bad instruction `dcd Reset_Handler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 56C/C++ Problem
bad instruction `dcd RIT_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 102C/C++ Problem
bad instruction `dcd RTC_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 90C/C++ Problem
bad instruction `dcd SPI_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 86C/C++ Problem
bad instruction `dcd SSP0_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 87C/C++ Problem
bad instruction `dcd SSP1_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 88C/C++ Problem
bad instruction `dcd SVC_Handler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 66C/C++ Problem
bad instruction `dcd SysTick_Handler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 70C/C++ Problem
bad instruction `dcd TIMER0_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 74C/C++ Problem
bad instruction `dcd TIMER1_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 75C/C++ Problem
bad instruction `dcd TIMER2_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 76C/C++ Problem
bad instruction `dcd TIMER3_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 77C/C++ Problem
bad instruction `dcd UART0_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 78C/C++ Problem
bad instruction `dcd UART1_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 79C/C++ Problem
bad instruction `dcd UART2_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 80C/C++ Problem
bad instruction `dcd UART3_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 81C/C++ Problem
bad instruction `dcd UsageFault_Handler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 61C/C++ Problem
bad instruction `dcd USB_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 97C/C++ Problem
bad instruction `dcd WDT_IRQHandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 73C/C++ Problem
bad instruction `debug Monitor Handler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 67C/C++ Problem
bad instruction `debugmon_handler PROC'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 160C/C++ Problem
bad instruction `default_handler PROC'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 174C/C++ Problem
bad instruction `dma_irqhandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 236C/C++ Problem
bad instruction `dummy Exception Handlers(infinite loops which can be modified)'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 130C/C++ Problem
bad instruction `eint0_irqhandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 228C/C++ Problem
bad instruction `eint1_irqhandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 229C/C++ Problem
bad instruction `eint2_irqhandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 230C/C++ Problem
bad instruction `eint3_irqhandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 231C/C++ Problem
bad instruction `else'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 260C/C++ Problem
bad instruction `end'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 277C/C++ Problem
bad instruction `endif'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 111C/C++ Problem
bad instruction `endif'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 274C/C++ Problem
bad instruction `endp'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 127C/C++ Problem
bad instruction `endp'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 135C/C++ Problem
bad instruction `endp'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 140C/C++ Problem
bad instruction `endp'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 145C/C++ Problem
bad instruction `endp'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 150C/C++ Problem
bad instruction `endp'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 155C/C++ Problem
bad instruction `endp'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 159C/C++ Problem
bad instruction `endp'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 164C/C++ Problem
bad instruction `endp'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 168C/C++ Problem
bad instruction `endp'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 172C/C++ Problem
bad instruction `endp'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 246C/C++ Problem
bad instruction `enet_irqhandler'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 238C/C++ Problem
bad instruction `ethernet'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 101C/C++ Problem
bad instruction `export __heap_base'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 257C/C++ Problem
bad instruction `export __heap_limit'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 258C/C++ Problem
bad instruction `export __initial_sp'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 256C/C++ Problem
bad instruction `export __user_initial_stackheap'startup_LPC17xx.s/LPC1700_FatFs_Prj/LPC1700/Core_CM3line 263C/C++ Problem

0 件の賞賛
返信

1,200件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Wed Nov 26 13:18:08 MST 2014

Quote: elektronchika
Well, this solved the error. But now I have 3 new errors:

make: *** [src/LPC1700/Core_CM3/core_cm3.o] Error 1
registers may not be the same -- `strexb r0,r0,[r1]'
registers may not be the same -- `strexh r0,r0,[r1]'


Can you help me on this?



See: http://www.lpcware.com/content/forum/cmsisv1p30lpc13xx-cannot-be-build-lpcxpresso-ide-ver7

0 件の賞賛
返信

1,200件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by elektronchika on Wed Nov 26 12:55:16 MST 2014
Well, this solved the error. But now I have 3 new errors:

make: *** [src/LPC1700/Core_CM3/core_cm3.o] Error 1
registers may not be the same -- `strexb r0,r0,[r1]'
registers may not be the same -- `strexh r0,r0,[r1]'


Can you help me on this?
0 件の賞賛
返信

1,200件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Sun Nov 23 10:04:03 MST 2014
Try this
http://www.lpcware.com/content/faq/lpcxpresso/adding-include-paths-project
0 件の賞賛
返信