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.

CCS/TMS320F28377S: Is CSM (Code Security Module) is affected by /GPIOHIBWAKE (GPIO41) ?

Part Number: TMS320F28377S
Other Parts Discussed in Thread: UNIFLASH

Tool/software: Code Composer Studio

Hi Everyone.

I use CSM (Code Security Module) to protect binary image on internal flash memory from illegal cloning. After I program CSM password, firmware downloading works well with correct password. But there is following unexpected phenomenon.

1. Flash memory region is read as 0x00 regardless CSM lock or unlock. I am using UniFlash to read flash memory region.

2. Erase fails using CCS v7 regardless CSM lock or unlock.

Meanwhile, I've heard that CSM locking make device go to Hibernate state when booting. Also, I found that wakeup requires to setting GPIO41 pin, GPIOHIBWAKE to low. GPIOWAKEUP pin is not connected in my hardware board.

I want to know

  - How can I read flash memory after CSM locking?

  - how can I erase, program, and debug after CSM locking?

I attach captured reference manual page, describing GPIOWAKEUP pin. Connect jumper to disable Hibernate.pptx

  • Hi,

    Meanwhile, I've heard that CSM locking make device go to Hibernate state when booting. Also, I found that wakeup requires to setting GPIO41 pin, GPIOHIBWAKE to low. GPIOWAKEUP pin is not connected in my hardware board.

    This should not be the case. Can you please point me to the document section which directly or indirectly tells about this?

     - How can I read flash memory after CSM locking?

    You should be able to read it after unlocking the zone. After you unlock, does tools confirms that device is unlock?

     - how can I erase, program, and debug after CSM locking?

    You should be able to do it after unlocking the zone.

    How are you unlocking the zone? Are you providing the password in CCS Flash plug-in GUI?

    Regards,

    Vivek Singh

  • There is password setting in property -> flash setting page. I put correct password into that page. Then all operation is OK... Thanks. Regards.