Reply by Mike Harrison August 1, 20082008-08-01
On Fri, 01 Aug 2008 15:50:14 -0000, you wrote:

>--- In l..., Mike Harrison wrote:
>>
>> On Thu, 31 Jul 2008 15:07:33 -0000, you wrote:
>>
>> >--- In l..., Mike Harrison wrote:
>> >>
>> >> On Wed, 30 Jul 2008 09:57:49 -0000, you wrote:
>> >>
>> >> >Hi,
>> >> >
>> >> >Programming the LPC2103 the IAP command to write data into flash do
>> >> >not work after the command to prepare the sectors. The programming
>> >> >function is running from RAM during flash. The same code works with
>> >> >lpc2134 and lpc2214. Is there any special setting in iar programming
>> >> >the lpc2103 using IAP? How to use the iap command (copy RAM to
>Flash >> >> >51) with the lpc2103?
>> >>
>> >> Did you set the linker config to tell the compiler not to use the
>> >RAM used internally by IAP?
>> >>
>> >
>> >no. I can't find this setting in IAR (Kickstart v4.41).
>>
>> It's in the .xcl linker config file - theer will be a line that
>specifies the RAM available - edit
>> this to exclude the locations used by IAP. Documentation is under
>XLINK in the help.
>> >
>> >
>> >
>> >

An Engineer's Guide to the LPC2100 Series

Reply by Ghislain Djanang Tchami August 1, 20082008-08-01
--- In l..., Mike Harrison wrote:
>
> On Thu, 31 Jul 2008 15:07:33 -0000, you wrote:
>
> >--- In l..., Mike Harrison wrote:
> >>
> >> On Wed, 30 Jul 2008 09:57:49 -0000, you wrote:
> >>
> >> >Hi,
> >> >
> >> >Programming the LPC2103 the IAP command to write data into flash do
> >> >not work after the command to prepare the sectors. The programming
> >> >function is running from RAM during flash. The same code works with
> >> >lpc2134 and lpc2214. Is there any special setting in iar programming
> >> >the lpc2103 using IAP? How to use the iap command (copy RAM to
Flash > >> >51) with the lpc2103?
> >>
> >> Did you set the linker config to tell the compiler not to use the
> >RAM used internally by IAP?
> >>
> >
> >no. I can't find this setting in IAR (Kickstart v4.41).
>
> It's in the .xcl linker config file - theer will be a line that
specifies the RAM available - edit
> this to exclude the locations used by IAP. Documentation is under
XLINK in the help.
> >
> >
> >
> >
Reply by Mike Harrison July 31, 20082008-07-31
On Thu, 31 Jul 2008 15:07:33 -0000, you wrote:

>--- In l..., Mike Harrison wrote:
>>
>> On Wed, 30 Jul 2008 09:57:49 -0000, you wrote:
>>
>> >Hi,
>> >
>> >Programming the LPC2103 the IAP command to write data into flash do
>> >not work after the command to prepare the sectors. The programming
>> >function is running from RAM during flash. The same code works with
>> >lpc2134 and lpc2214. Is there any special setting in iar programming
>> >the lpc2103 using IAP? How to use the iap command (copy RAM to Flash >> >51) with the lpc2103?
>>
>> Did you set the linker config to tell the compiler not to use the
>RAM used internally by IAP?
>>no. I can't find this setting in IAR (Kickstart v4.41).

It's in the .xcl linker config file - theer will be a line that specifies the RAM available - edit
this to exclude the locations used by IAP. Documentation is under XLINK in the help.
>
>
Reply by Ghislain Djanang Tchami July 31, 20082008-07-31
--- In l..., Mike Harrison wrote:
>
> On Wed, 30 Jul 2008 09:57:49 -0000, you wrote:
>
> >Hi,
> >
> >Programming the LPC2103 the IAP command to write data into flash do
> >not work after the command to prepare the sectors. The programming
> >function is running from RAM during flash. The same code works with
> >lpc2134 and lpc2214. Is there any special setting in iar programming
> >the lpc2103 using IAP? How to use the iap command (copy RAM to Flash > >51) with the lpc2103?
>
> Did you set the linker config to tell the compiler not to use the
RAM used internally by IAP?
>

no. I can't find this setting in IAR (Kickstart v4.41).
Reply by Mike Harrison July 30, 20082008-07-30
On Wed, 30 Jul 2008 09:57:49 -0000, you wrote:

>Hi,
>
>Programming the LPC2103 the IAP command to write data into flash do
>not work after the command to prepare the sectors. The programming
>function is running from RAM during flash. The same code works with
>lpc2134 and lpc2214. Is there any special setting in iar programming
>the lpc2103 using IAP? How to use the iap command (copy RAM to Flash >51) with the lpc2103?

Did you set the linker config to tell the compiler not to use the RAM used internally by IAP?

Reply by Ghislain Djanang Tchami July 30, 20082008-07-30
Hi,

Programming the LPC2103 the IAP command to write data into flash do
not work after the command to prepare the sectors. The programming
function is running from RAM during flash. The same code works with
lpc2134 and lpc2214. Is there any special setting in iar programming
the lpc2103 using IAP? How to use the iap command (copy RAM to Flash 51) with the lpc2103?

Thanks.