Hi
i have got the flash problem while debuging the internel flash with PE, project is in the attachment(CW10.7 the chip is 9s12zvc).
i made some effort:
1.move all flash related func into ram ,as well as interrupt isr.
2.moved the interrupt vector into ram:
the project stop at 0x150022
is there something wrong ablout the project?
Hello,
Thank you for your code.
At first, the flash memory should be erased. I have tested it in the main function and it works for me, see example below
byte err;
err = IFsh1_EraseSector(0xff1000);
err = IFsh1_SetByteFlash(0xff1000, 0xAA);
I hope it helps.
Best Regards,
Diana