Flash Magic Forum

In-System Programming Support => ARM Cortex => Topic started by: VanDan on April 19, 2018, 11:43:50 PM

Title: lpc11xc14 can bootloader at higher baudrate
Post by: VanDan 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
Title: Re: lpc11xc14 can bootloader at higher baudrate
Post by: Andy Ayre 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
Title: Re: lpc11xc14 can bootloader at higher baudrate
Post by: VanDan 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
Title: Re: lpc11xc14 can bootloader at higher baudrate
Post by: Andy Ayre 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.
Title: Re: lpc11c14 can bootloader at higher baudrate
Post by: VanDan on April 23, 2018, 03:16:46 AM
thank you very much for your support and your efforts  :)

regards
Title: Re: lpc11xc14 can bootloader at higher baudrate
Post by: Andy Ayre on April 23, 2018, 06:13:36 AM
Quote from: Andy Ayre on April 20, 2018, 01:39:22 AM
Please email us at support at e s academy dot com for options.