I am getting below two issues while flashing the software into the customized target board.
Software tool/Emulators used:
Emulator : X DS560v2 STM traveller and XDS510 USB PLUS
Software Tool: Code Composer Studio version 5.4.0
Target devices: TMS570LS20216 and TMS570LS3137
ISSUE 1(applicable for both TMS570LS3137 and TMS570LS20216):
Some times we are getting an error as "Fatal Error during: Register, Initialization,OCS".
The snap shot "Error_OCS.jpg" attached for reference.
ISSUE 2(applicable for TMS570LS20216):
The device not allowing to erase the flash area and getting an error as "Flash Erase Failed".
Please see the attached snap shot "Error_on_Erase.jpg" for reference.
The flash area selected for the device is as below.
session.flash.options.setBoolean("FlashBank0Sector0",false);
session.flash.options.setBoolean("FlashBank0Sector1",false);
session.flash.options.setBoolean("FlashBank0Sector2",false);
session.flash.options.setBoolean("FlashBank0Sector3",false);
session.flash.options.setBoolean("FlashBank0Sector4",false);
session.flash.options.setBoolean("FlashBank0Sector5",false);
session.flash.options.setBoolean("FlashBank0Sector6",false);
session.flash.options.setBoolean("FlashBank0Sector7",false);
session.flash.options.setBoolean("FlashBank0Sector8",false);
session.flash.options.setBoolean("FlashBank0Sector9",false);
session.flash.options.setBoolean("FlashBank1Sector0",false);
session.flash.options.setBoolean("FlashBank1Sector1",false);
session.flash.options.setBoolean("FlashBank1Sector2",false);
session.flash.options.setBoolean("FlashBank1Sector3",false);
session.flash.options.setBoolean("FlashBank2Sector0",false);
session.flash.options.setBoolean("FlashBank2Sector1",false);
session.flash.options.setBoolean("FlashBank2Sector2",false);
session.flash.options.setBoolean("FlashBank2Sector3",false);
session.flash.options.setBoolean("FlashBank3Sector0",false);
session.flash.options.setBoolean("FlashBank3Sector1",false);
session.flash.options.setBoolean("FlashBank3Sector2",false);
session.flash.options.setBoolean("FlashBank3Sector3",false);
It would be nice if some one can give me hint so that I can look into it
Thanks