Isp mode from user code

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

Isp mode from user code

1,532 Views
gfa
Contributor I

Dear All,

I'm using a LPC11C24 (with integrated CAN bus transceiver) and I need to write a function to go to CAN ISP mode from my user code.

Is this possible and how ?

Thanks

Labels (1)
0 Kudos
Reply
3 Replies

1,410 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Guillaume FANJAS,

The integrated ISP doesn't support the CAN interface.

In my opinion, you need to create a CAN bootloader for the implementation and you can refer to the attachment about the bootlaoder design.
Have a great day,
Ping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

1,410 Views
gfa
Contributor I

Thank you for your message,
But for sure ISP is supported by CAN in the LPC11C24, I did software download many times with Flash magic tool (free).

Unfortunately, the only way I know to set the lpc in ISP mode is by a hardware reset while I need to do it by CAN (by user code).
Best regards

0 Kudos
Reply

1,410 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Guillaume FANJAS,

Yes, the LPC11C24 supports the UART ISP and CAN ISP routines.

Sorry, I miss the information.

You can use the IAR command to force the LPC11C24 enter into the ISP mode.

2016-09-01_15-21-31.jpg


Have a great day,
Ping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply