2006-03-14 01:47 AM
2006-03-14 01:47 AM
Hi, All.
I'm writing bootloader for st7mc2s5t6 and i got a problem. i can not erase option bytes. steps i am doing: 1) unlock rass 2)12v on Vpp switch on 3) erasing option bytes -- operation failed :-[ I get exactly this status code after command execution. My programming frequency is ok. all sectors are erased and flashed. i do not use readout protection. option bytes code for HDFlashEraseSector() function is 0x0f. What is wrong? One more thing i do not understand: i made a loop, which executes HDFlashEraseSector() function with values range from 3 up to 255. And with some values in the range 170-180 this function returns ''Operation successful'' and option bytes are 0xff 0xff. What does it mean? Tnx in advance.