Other Parts Discussed in Thread: TMS320F28335, UNIFLASH
Hi,
I'm facing issues in running the following lines of code to erase the FLASH memory in TMS320F28335.
printTrace("Erase FlashSectorA : True");
debugSession.flash.options.setBoolean("FlashSectorA", true);
printTrace("Erase FlashSectorB : True");
debugSession.flash.options.setBoolean("FlashSectorB", true);
printTrace("Erase FlashSectorC : True");
debugSession.flash.options.setBoolean("FlashSectorC", true);
printTrace("Erase FlashSectorD : True");
debugSession.flash.options.setBoolean("FlashSectorD", true);
printTrace("Erase FlashSectorE : True");
debugSession.flash.options.setBoolean("FlashSectorE", true);
printTrace("Erase FlashSectorF : True");
debugSession.flash.options.setBoolean("FlashSectorF", true);
printTrace("Erase FlashSectorG : True");
debugSession.flash.options.setBoolean("FlashSectorG", true);
printTrace("Erase FlashSectorH : True\n");
debugSession.flash.options.setBoolean("FlashSectorH", true);
printTrace("Erasing the selected sections...\n");
debugSession.flash.options.erase();
printTrace("Erasing Complete!\n");
When I execute the above piece of code, I'm getting exception with error code# 0 at line debugSession.flash.options.erase()
Could any one please help?
- Anand