In LPC1759, I entered ISP through "reinvoke ISP" with the following steps
After entering into ISP, What exactly happens in the controller? How to check if it is in ISP Mode? After entering ISP, How to get out?
void init(void){ Chip_Clock_DisablePLL(SYSCTL_MAIN_PLL, SYSCTL_PLL_CONNECT); Chip_TIMER_Reset(LPC_TIMER1); Chip_SYSCTL_Map(REMAP_BOOT_LOADER_MODE); } int main(void) { uint32_t wdtFreq; wdtFreq = Chip_Clock_GetPeripheralClockRate(SYSCTL_PCLK_WDT) / 4; init(); Chip_WWDT_Init(LPC_WWDT); Chip_WWDT_SetTimeOut(LPC_WWDT, wdtFreq / 10); Chip_IAP_ReinvokeISP(); DEBUGSTR("HELLO\n\r"); return 0; }
Hi jeremyzhou,
What if we don't use flash magic(PC) for ISP, So can we trigger ISP with only a single controller?
Have a great day,
Thank you
Hi Keerthana R,
Thanks for your reply.
1) What if we don't use flash magic(PC) for ISP, So can we trigger ISP with only a single controller?
-- No, you can't.
Hope it helps.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thank you :smileyhappy:
Hi jeremyzhou,
Thank you for the information, it is sufficient to know the device is in ISP mode or not but for the device to send ISP commands and to flash the device i.e, to upgrade the new firmware, do we need secondary boot loader for ISP mode?
Have a great day,
Thank you
Hi Keerthana R,
Thanks for your reply.
1) Do we need secondary boot loader for ISP mode?
-- No.
Hope it helps.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Keerthana R,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
Actually, you can use the Flash Magic to connect the LPC1759 chip to confirm whether it enters the ISP mode or not.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------