LPC4357 compiler and linker for use with Lauterbacher debugtools

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

LPC4357 compiler and linker for use with Lauterbacher debugtools

1,234 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Georg on Tue Dec 10 02:21:04 MST 2013
hi,

i have a Lauterbacher debugtool and a JTAG Inteface for a LPC4357.

Can i use LPCXpresse only for compiling and linking my code without sizelimitation of 256kByte for download?
Is this limitation only for download or also for compiled code?

Some other advice for a compiler? I prefer GNU but i also take a other one. If possible cheap or without costs.

Thx.

Georg.
标签 (1)
0 项奖励
回复
5 回复数

1,209 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Georg on Tue Mar 18 00:52:54 MST 2014
Hi,

thx for your help.
Its now possible for me to link the code to ram.

I only need a correct debugg configuration to debugg with lauterbach.
Can anyone tell me how to config the LPC4357 to debug with it.
I think i have to set some µC registers. 

My problem is that my firmware crashes if i debug it.
On every time if i try to read or to write a µC Register (for example RS232 Configuration of µC)
LPC5347 crashes and the PC (programm counter) stands on adress 0x1c000132.
I think i need some configuration in the AHB MULTILAYER MATRIX bevore i start to debug my firmware.

Can anyoune give mit some advices where to find more information about debugging?
For example how its done by Keil or LPCExpresso? Its enough if i have a script from a other debugtool.
So i can change my script for lauterbach TRACE32.

Thx.

Regards,
Georg.


0 项奖励
回复

1,209 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Mon Mar 17 02:25:33 MST 2014
You need to use the memory configuration editor. For details, please read the LPCXpresso User Guide -  in the IDE's built in help, or as PDF in the install directory.

Also see:

http://www.lpcware.com/content/faq/lpcxpresso/own-linker-scripts

Regards,
LPCXpresso Support
0 项奖励
回复

1,209 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Georg on Mon Mar 17 01:42:14 MST 2014
Hi,

can one tell me how to change the linkerfile to link all the code to RAM?

I tryed to change the linkerfile but my changes are overwritten.

For example:

I changed all "MFlashA512" entrys with "RamLoc40" but after compiling the CAN-Driver
my changes were lost.

Is it possible to change this section pure and simple?

thx.
0 项奖励
回复

1,209 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Georg on Mon Mar 10 06:49:44 MST 2014
Now,

i have all my harware here and sarted with some examples. First with the CAN-driver from LPCOpen 2.09.
I can compile and link this project. I have connection to LCP4357 with my lauterbach debugger.

I need some help to change the linkerfile to link all the code to ram so i can debug it.

Have someone a small simple linkerfile for ram?
Or can someone help me to change the existing from "periph_ccan" driver?

thx.
0 项奖励
回复

1,209 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Tue Dec 10 02:32:43 MST 2013
The code size limit only applies to debugging with LPCXpresso. There is no code size limit on the generated code.
0 项奖励
回复