On 12/10/2010 09:38 PM, dave_albert wrote:
> ...can you confirm that you successfully re-invoke
the ISP using the
> IAP call with an LPC24xx processor?
Yes, I can. It is LPC2478.
--
Timo
IAP
Started by ●February 3, 2009
Reply by ●December 10, 20102010-12-10
Reply by ●December 10, 20102010-12-10
Thanks again Timo!
I found my issue; it was the location I'd assigned for the stack on entry to the ISP. When I moved the stack to 0x40000100, it all worked perfectly. Thanks again to all who responded.
Regards,
Dave
--- In l..., Timo wrote:
>
> On 12/10/2010 09:38 PM, dave_albert wrote:
> > ...can you confirm that you successfully re-invoke the ISP using the
> > IAP call with an LPC24xx processor?
>
> Yes, I can. It is LPC2478.
>
> --
>
> Timo
>
I found my issue; it was the location I'd assigned for the stack on entry to the ISP. When I moved the stack to 0x40000100, it all worked perfectly. Thanks again to all who responded.
Regards,
Dave
--- In l..., Timo wrote:
>
> On 12/10/2010 09:38 PM, dave_albert wrote:
> > ...can you confirm that you successfully re-invoke the ISP using the
> > IAP call with an LPC24xx processor?
>
> Yes, I can. It is LPC2478.
>
> --
>
> Timo
>
Reply by ●December 10, 20102010-12-10
For those interested:
Some other things I had to do to get IAP re-invoke ISP to work on the LPC2468 included:
MAM=0 (disabled)
CLKSRCSEL=0 (RC osc)
PCONP = defaults (ISP uses a peripheral I had turned off)
I did not seem to need to set legacy mode for GPIO (clear bit 0 of SCS). I tried it with the bit set and clear and it worked both ways.
- Dave
--- In l..., "dave_albert" wrote:
>
> Thanks again Timo!
>
> I found my issue; it was the location I'd assigned for the stack on entry to the ISP. When I moved the stack to 0x40000100, it all worked perfectly. Thanks again to all who responded.
>
> Regards,
> Dave
>
> --- In l..., Timo wrote:
> >
> > On 12/10/2010 09:38 PM, dave_albert wrote:
> > > ...can you confirm that you successfully re-invoke the ISP using the
> > > IAP call with an LPC24xx processor?
> >
> > Yes, I can. It is LPC2478.
> >
> > --
> >
> > Timo
>
Some other things I had to do to get IAP re-invoke ISP to work on the LPC2468 included:
MAM=0 (disabled)
CLKSRCSEL=0 (RC osc)
PCONP = defaults (ISP uses a peripheral I had turned off)
I did not seem to need to set legacy mode for GPIO (clear bit 0 of SCS). I tried it with the bit set and clear and it worked both ways.
- Dave
--- In l..., "dave_albert" wrote:
>
> Thanks again Timo!
>
> I found my issue; it was the location I'd assigned for the stack on entry to the ISP. When I moved the stack to 0x40000100, it all worked perfectly. Thanks again to all who responded.
>
> Regards,
> Dave
>
> --- In l..., Timo wrote:
> >
> > On 12/10/2010 09:38 PM, dave_albert wrote:
> > > ...can you confirm that you successfully re-invoke the ISP using the
> > > IAP call with an LPC24xx processor?
> >
> > Yes, I can. It is LPC2478.
> >
> > --
> >
> > Timo
>
Reply by ●December 11, 20102010-12-11
On Sat, 11 Dec 2010 00:27:14 -0000, you wrote:
>For those interested:
>
>Some other things I had to do to get IAP re-invoke ISP to work on the LPC2468 included:
>
>MAM=0 (disabled)
>CLKSRCSEL=0 (RC osc)
>PCONP = defaults (ISP uses a peripheral I had turned off)
>
>I did not seem to need to set legacy mode for GPIO (clear bit 0 of SCS). I tried it with the bit set and clear and it worked both ways.
ISP doesn't use the IO ports so shouldn't be an issue.
An additional setup I had to do on LPC2136/01 was set the UART FDR to its reset default value
(0x10).
>For those interested:
>
>Some other things I had to do to get IAP re-invoke ISP to work on the LPC2468 included:
>
>MAM=0 (disabled)
>CLKSRCSEL=0 (RC osc)
>PCONP = defaults (ISP uses a peripheral I had turned off)
>
>I did not seem to need to set legacy mode for GPIO (clear bit 0 of SCS). I tried it with the bit set and clear and it worked both ways.
ISP doesn't use the IO ports so shouldn't be an issue.
An additional setup I had to do on LPC2136/01 was set the UART FDR to its reset default value
(0x10).