This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Trouble programming f28m35 in ccs5.3

Hi all:

I have two board with f28m35H52C1,one is demoboard,the other is designed by meself. I want to program their flash with the same code. the demoboard is ok,but the other one failed.

I tried connection test,is ok.
The message say that I cant erase the sector N,and cant remove the breakpoint.

I tried to avoid erase sector N.It seems that the whole flash is restrict to be written or read.The memory map shows "0xbad0bad0" in the flash area,

Any body encount the same trouble?

  • Hi,

    On your custom board, make sure that the voltage rails are at the required levels.

    Also, program ECC using AutoEccGeneration in Flash Plugin.  If you don't program ECC, you will get ECC errors and Flash reads will not give correct data.

    I can ask our security expert to take a look at this.  What did you program for GRABSECT bits in zone 1 and zone 2?

    Thanks and regards,

    Vamsi

  • Hey Vamsi:

        Thanks for reply.I removed the 2MHz osc and use a 25MHz crystal for extern clock,and the flash can be programmed. But when I use a 20MHz osc,the problem still.Why?

    JhonHu

  • JhonHu,

    Which version of CCS are you using?  Please check for updates in CCS - Earlier there was a bug in PLL configuration code of the CCS Flash Plugin.  

    Also make sure that the PLL configuration in GUI is valid for the operating frequency that you are expecting and that PLL output is not going out of the range with the input clock and PLL configuration that you do in GUI.

    Thanks and regards,

    Vamsi