Author Topic: lpc11xc14 can bootloader at higher baudrate  (Read 539 times)

VanDan

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
lpc11xc14 can bootloader at higher baudrate
« on: April 19, 2018, 11:43:50 pm »
hello,

we need to run the internal can bootloader of a lpc11c24 at 500kbaud. so we wrote a bootloader which behaves the same way as the internal bootloader except running with 500kbaud instead of the default 100kbaud.


is it possible to set the can baudrate to 500kbaud in flash magic gui? i don't find a way, so i tried to do it with fm.exe but this works only until 250kbaud. trying 500 kbaud displays the following error message:

"Connection failed: comms error (baudrate not supported)"

but the peak pcan pci card supports this baudrate.

i used following directives:

CAN(PEAK PCAN PCI, 500, 0x7D, 1000)
DEVICE(LPC11C14/301CAN, 12.000000, 0)
READSIGNATURE

thanks in advance.

kind regards

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2153
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: lpc11xc14 can bootloader at higher baudrate
« Reply #1 on: April 20, 2018, 01:39:22 am »
No, it's not possible to change it. If we provided an option that doesn't work with the factory bootloader then tech support and frustrated users will increase.

Please email us at support at e s academy dot com for options.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

VanDan

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
Re: lpc11xc14 can bootloader at higher baudrate
« Reply #2 on: April 22, 2018, 06:43:30 am »
hi andy,

thanks for your fast response.

ok. i understand the reason, why it's not possible in the gui version. but in the commandline version it's already possible to increase it to 250 kbaud. why not to 500kb?

regards

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2153
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: lpc11xc14 can bootloader at higher baudrate
« Reply #3 on: April 23, 2018, 12:47:00 am »
That's a bug in the command line version - no reason to support anything other than 100kb.
Embedded Systems Academy, Inc.
support at esacademy dot com

VanDan

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
Re: lpc11c14 can bootloader at higher baudrate
« Reply #4 on: April 23, 2018, 03:16:46 am »
thank you very much for your support and your efforts  :)

regards

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2153
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: lpc11xc14 can bootloader at higher baudrate
« Reply #5 on: April 23, 2018, 06:13:36 am »
Please email us at support at e s academy dot com for options.
Embedded Systems Academy, Inc.
support at esacademy dot com