Flash Magic Forum

In-System Programming Support => ARM Cortex => Topic started by: jd1549 on March 19, 2015, 01:57:47 PM

Title: Invoking the LPC1549 CAN Bootloader via Flash Magic
Post by: jd1549 on March 19, 2015, 01:57:47 PM
Is there a way to invoke the LPC1549 C_CAN bootloader using Flash Magic?  Application Code is set up to communicate at 250K baud on the CAN bus using CANopen Protocol.

I don't want to access the ISP Programming button's for putting it into C_CAN bootloader.

I'm using Flash Magic Version 7.85 with Peak C_CAN to USB Adapter.

Thanks!
Title: Re: Invoking the LPC1549 CAN Bootloader via Flash Magic
Post by: Andy Ayre on March 21, 2015, 09:27:09 AM
IIRC the on-chip CAN bootloader can only communicate at 100kbps, and it's not possible to change that from application code.

Andy
Title: Re: Invoking the LPC1549 CAN Bootloader via Flash Magic
Post by: jd1549 on March 24, 2015, 08:02:10 AM
I guess I wasn't real clear on my initial post.  Flash magic states that it has the ability to "Send commands to place the device in Bootloader mode".  Does this apply to CANopen?  In CANopen if the object 0x1F51 (Program Control) is sent with 0x80 as data, this is the command to jump from application to the bootloader.
Title: Re: Invoking the LPC1549 CAN Bootloader via Flash Magic
Post by: Andy Ayre on March 25, 2015, 08:01:04 PM
No it doesn't apply to CANopen. Flash Magic assumes the bootloader has already been invoked (for example by using the ISP entry pins).

Andy