Part Number: TMS320F280039C
Hi Team
The customer has implemented a flash based DCAN Bootloader kernel same as the SDK dcan_kernel example on a custom control card.
The main fw (bank0,bank1) switches to kernel(bank2,0xa8000) using LB for application update based on an particular CAN message.
The CAN bitrate is set to 500kbs and the flash_progammer has been modified to send out just the application.
The process runs successfully by switching from main fw to kernel, if switchToXTAL (inside kernel) is set to 1.But this requires min sleep_time of 75ms on proagmmer side. Otherwise CAN frame are corrupted or Missing.This results in overall time of 8 mins
If the switchtoXTAL is set to 0. The kernel is able to load the new application with very less sleep_time(10ms) but works only when the kernel is loaded directly from ccs.In this case if we switch from main fw to kernel, The kernel gets stuck on DCAN_ReadMessage().
The external crystal used in control card is 10MHz. The kernel project used INTSOC2 as defined in device.h.
Let me know if you need any other information
Looking forward to your inputs on the above two issues.
Regards,
Rupesh Yadav
