cannot find -lCMSISv1p30_LPC17xx

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

cannot find -lCMSISv1p30_LPC17xx

331 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ronald on Sat Nov 05 04:05:28 MST 2011
I have got the following message when making the linkfile

cannot find -lCMSISv1p30_LPC17xx

does anyone know why.
P.S. this is my first LPCXpresso project
0 Kudos
5 Replies

256 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ronald on Sat Nov 05 06:30:33 MST 2011
Thanks, I have compiled the without errors and I can flash my chip again.
0 Kudos

256 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sat Nov 05 06:06:49 MST 2011
That's not unusual and described in

http://support.code-red-tech.com/CodeRedWiki/DebugAccessChip 

#1 So set your vector catch on 

#2 If that doesn't solve the problem, switch to ISP before you try it again 

#3 In release mode you have to compile also your CMSIS library in release mode before
0 Kudos

256 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ronald on Sat Nov 05 05:56:54 MST 2011
[FONT=Arial][SIZE=2]I was wrong.[/SIZE][/FONT]
[FONT=Arial][SIZE=2]In debug mode the source is compiled without errors, but in release mode I've got the same error.[/SIZE][/FONT]
[FONT=Arial][SIZE=2][/SIZE][/FONT]
[FONT=Arial][SIZE=2]cannot find -lCMSISv2p00_LPC17xx[/SIZE][/FONT]
[FONT=Arial][SIZE=2][/SIZE][/FONT]
[FONT=Arial][SIZE=2]Secondly I can't flash anymore. Power is OK on all pins  [/SIZE][/FONT]
0 Kudos

256 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ronald on Sat Nov 05 05:33:59 MST 2011
Thank you, the project is now compiled without any error or warning, however I can't flash anymore. I could before.

Pc: (  0) Reading remote configuration
Ni: LPCXpresso Debug Driver v4.0 (Sep 21 2011 20:05:40)
Nc: Looked for chip XML file in C:/nxp/LPCXpresso_4.1.0_190/lpcxpresso/bin/LPC1765.xml
Nc: Looked for vendor directory XML file in C:/nxp/LPCXpresso_4.1.0_190/lpcxpresso/bin/nxp_directory.xml
Nc: Found generic directory XML file in C:/nxp/LPCXpresso_4.1.0_190/lpcxpresso/bin/crt_directory.xml
Pc: (  5) Remote configuration complete
Ed:02: Failed on connect: Em(01). Cannot find selected MEM-AP (check target power)
Et: Emu(0): Conn&Reset. Was: None. DpID: 2BA01477. Info: T1S6RGRIA
Error 0: (null)
Last sticky: 17. AIndex: 0
No MemAp selected
No Speed test
SWD Frequency: 250 KHz. RTCK: False. Vector catch: False.
Packet delay: 0  Poll delay: 0.
Pc: (100) Target Connection Failed

This is the response
0 Kudos

256 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sat Nov 05 04:18:55 MST 2011
#1 Please update to V4 and use CMSIS Version 2.00 

#2 Import CMSIS in your workspace 

#3 Build it and keep it opened
0 Kudos