Author Topic: Invoking the LPC1549 CAN Bootloader via Flash Magic  (Read 5356 times)

jd1549

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
Invoking the LPC1549 CAN Bootloader via Flash Magic
« 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!

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Invoking the LPC1549 CAN Bootloader via Flash Magic
« Reply #1 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
Embedded Systems Academy, Inc.
support at esacademy dot com

jd1549

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
Re: Invoking the LPC1549 CAN Bootloader via Flash Magic
« Reply #2 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.

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Invoking the LPC1549 CAN Bootloader via Flash Magic
« Reply #3 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
Embedded Systems Academy, Inc.
support at esacademy dot com