Reply by Richard Duits December 19, 20072007-12-19
Sounds to me that this buffer is there to hold the CPLD/FPGA
configuration. You can initialize the array and make it const. This way
it will be placed in flash and there is a lot more flash than ram.

Regards,
Richard.
cippalippa1967 wrote:
> Hello,
>
> I'm trying to port the Xilinx xapp058 (jtag emulator for uC) into
> NXP LPC2378.
> I modified the C code and I tryed to compile but I have the
> following error:
>
> jtag.axf: Error: L6224E: Could not place port.o (.data) in any
> Execution region.
> Target not created.
>
> This is due to the large size of the buffer that contain the jtag
> bitstream.
>
> If I decrease the buffer, for example:
>
> unsigned char BUFFER[30000]
>
> uVision didn't give me error and compile correctly but if I use the
> real size:
>
> unsigned char BUFFER[132194]
>
> I have the error.
> May sameone please say me if is possible to compilate this array
> with uVision and in which mode I can do it?
> Thanks for all.
>
> D.
>
>

An Engineer's Guide to the LPC2100 Series

Reply by cippalippa1967 December 18, 20072007-12-18
--- In l..., Richard Duits wrote:
>
> Sounds to me that this buffer is there to hold the CPLD/FPGA
> configuration. You can initialize the array and make it const. This
way
> it will be placed in flash and there is a lot more flash than ram.
>
> Regards,
> Richard.

Hello,

yes that's right, the buffer is the FPGA configuration code and I
already initialize it but I don't know how make it constant.
Thanks

D.
Reply by cippalippa1967 December 18, 20072007-12-18
Hi,

now I understand.
Thank you

D.
Reply by cippalippa1967 December 17, 20072007-12-17
Hello,

I'm trying to port the Xilinx xapp058 (jtag emulator for uC) into
NXP LPC2378.
I modified the C code and I tryed to compile but I have the
following error:

jtag.axf: Error: L6224E: Could not place port.o (.data) in any
Execution region.
Target not created.

This is due to the large size of the buffer that contain the jtag
bitstream.

If I decrease the buffer, for example:

unsigned char BUFFER[30000]

uVision didn't give me error and compile correctly but if I use the
real size:

unsigned char BUFFER[132194]

I have the error.
May sameone please say me if is possible to compilate this array
with uVision and in which mode I can do it?
Thanks for all.

D.