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.

TMS320F28P650SK: TMS320F28P650SK CCS12.8.1 Not erasing bank 2 and 3 when programming.

Part Number: TMS320F28P650SK


Tool/software:

Hi guys, the TMS320F28P650Sk as you know has 1.2MB of flash split into four banks. I've combined all of them into one bank named PETE_FLASH.

When I build and debug CCS12.8.1 downloads my assembler code (210k) it downloads perfectly and my code runs. 

When I build and debug CCS12.8.1 downloads my assembler code but this time my code is 443k.and fails at flash address 0x000C000. The error report is:

C28xx_CPU1: Flash Programmer: Error during Blank Check @ address 0x000C0000; expected 0xFFFFFFFF, actual 0x000D009C (0)
C28xx_CPU1: File Loader: Memory write failed: Unknown error

I went into the FLASH settings and chose BLANK CHECK and as you can see by the error 

FLASH BANKS 2, 3 and 4 is not being erased before programming. I went into the FLASH settings and I've chosen ERASE ENTIRE FLASH but as you can see FLASH banks 2, 3 and 4 is not being erased.

Is there a way of erasing them manually because it looks like CCS12.8.1 has a bug when combining all five flash banks into one flash bank even tho I've chosen erase entire flash in the settings.

I checked for updates and I'm all up to date. Does anyone have any ideas how to fix this problem? Please let me know as I need to combine all flash banks as one large flash bank to store large photos.

Thanks and hope to hear from you soon.

Peter Smiley

  • Hi Peter,

    This has been resolved in latest version of CCS 20.2.0 .

    Thanks and regards,

    Charles

  • Thank you Charles this has fixed my problem. I really don't like the layout or CCS20 but if there's nothing else then I will live with it.

    One thing I noticed is after I've allocated ALL the flash banks to my flash bank PETE_FLASH the memory allocation windows shows PETE_FLASH 640k. I thought this was still wrong because the P650SK has 1.2MB of flash and then I realized that the flash memory is 16bit so it should be in words (16bit) and not bytes. So it really should say 640kwords. 

    Again thank you and have a great day. 

    A very happy PETER :)