Debug error

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

Debug error

557 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mahalinr on Wed Oct 30 00:11:30 MST 2013
Hi

I am using LPC11c14 Can open in eclipse cdt software.

Can you please the ram,rom and sram origin address of this lpc11c14.

[u]MEMORY
{
/* ram size has to be checked with SEGGER!!! */
ram (rwx) : ORIGIN = 0x100000C0, LENGTH = 8k /*initial value of the stack pointer (SP) can be read from 0x20000000 and the initial value of the PC can be read from 0x20000004*/
/* last 2 pages reserved for persistent data storage (else LENGTH = 1024k )*/
rom (rx) : ORIGIN = 0x00000000, LENGTH = 8k
option_bytes_rom (rx) : ORIGIN = 0x1FFF4000, LENGTH = 16k
extnor (rx) : ORIGIN = 0x40000000, LENGTH = 32k
extsram (rwx) : ORIGIN = 0x10000000, LENGTH = 32k
extnand (rx) : ORIGIN = 0x70000000, LENGTH = 20k
}

The folllowing is the memory address i am using.

Though i am able to compile,while debugging it displays that memory cannot be accessed.

I have attached the output error.

Plz help me out

thx in advance
Labels (1)
0 Kudos
5 Replies

539 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Wed Oct 30 07:29:28 MST 2013

Quote: mahalinr
Should I modify anythng in my start.S file



Obviously you are not using LPCXpresso. So I would suggest to use a toolchain, which is doing that memory settings for you...
0 Kudos

539 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Wed Oct 30 07:24:46 MST 2013

Quote: mahalinr
Thanks for your reply.

What is MFlash32(rx)??



That's what User Manual (UM10398) is calling:


Quote:
The peripheral complement of the LPC111x/LPC11Cxx includes up to 32 kB of flash
memory
, up to 8 kB of data memory,...

0 Kudos

539 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mahalinr on Wed Oct 30 03:57:46 MST 2013
I tried it,but still it shows the same error.

Should I modify anythng in my start.S file

Thx again
0 Kudos

539 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mahalinr on Wed Oct 30 03:08:58 MST 2013
Thanks for your reply.

What is MFlash32(rx)??
0 Kudos

539 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Wed Oct 30 03:03:12 MST 2013
LPC11C14 has 32k ROM and 8k RAM:

MEMORY
{
  /* Define each memory region */
  MFlash32 (rx) : ORIGIN = 0x0, LENGTH = 0x8000 /* 32K bytes */
  RamLoc8 (rwx) : ORIGIN = 0x10000000, LENGTH = 0x2000 /* 8K bytes */
}
0 Kudos