BAF - Serial bootloader support

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

BAF - Serial bootloader support

666 Views
balachandrakuma
Contributor I

MPC5746C  BAF - Serial Boot Support

Hi,

I am trying to use the serial boot mode (BAF) for programming the code to SRAM. I do not want to use JTAG to program a bootloader, because i want to program the bootloader from serial boot for the first time and then  use bootloader for application software flashing. 

I am facing the following problems:

1. I am confused about how to feed the data to BAF. - As per reference manual, it requires a 64bit default key, start address and length along with no_echo and vle bit followed by data. How do i feed all these inputs to MPC5746C ? What tool should i be using ? i tried to use realterm and tera term with no success. The terminal emulators send data in ascii format. If i feed a hex file, the hex data is treated as ascii and being sent out. Will the BAF code re-convert the ascii data back to hex code ? 

I tried to use RappID tool, but i want to load the code to 0x40000000. The tool doesnt allow to program data at location less than 0x40001000 as it is a tool for flashing appl from bootloader. 

Please suggest me how to go ahead. 

Thanks,

BlueBale#BAF#Serial Boot#MPC5746C#Serial Programming

0 Kudos
0 Replies