The examples provided were tested with F28P650DK9. To properly test the example, the memory window and breakpoints need to be utilized within Code Composer Studio. The following steps were followed to program and test the project.
- Connect the F28P650DK9 to the PC via USB and an XDS110 Debug Probe with JTAG connection.
- Connect a 5V DC power supply to the board.
- Start Code Composer Studio and open the F28P65x_EEPROM_PingPong_Example.pjt.
- Build the project by selecting Project -> Build Project.
- Launch the Target Configurations by going to View -> Target Configurations -> F28P65x_EEPROM_PingPong_Example -> targetConfigs -> right-click TMS320F28P650DK9.ccxml -> Launch Selected Configuration.
- Connect to CPU1 by going to the Debug window, right clicking Texas Instruments XDS110 USB Debug Probe_0/C28xx_CPU1, and selecting Connect Target.
- Load symbols by clicking Load Symbols and selecting the F28P65x_EEPROM_PingPong.out from the project.
- Set breakpoints to properly view data written to and read from the memory within the memory window as shown in Break Points.
- Run to the first break-point and open the Memory Browser (View -> Memory Browser) to view the data. Bank_Pointer can be used to watch the data written and Read_Buffer to watch the data being read back from the memory. This is shown in Write to EEPROM Unit and Read Data.
- Continue running from break-point to break-point until the program has finished or EEPROM is full.
- Once EEPROM is full, you will see the new data written to the previously inactive unit and the full EEEPROM will be erased. Shown in Write to new EEPROM Unit and Erase full EEPROM Unit.
- This process can be repeated between the two EEPROM units as necessary.
The preceding steps were used to test the Page Mode configuration. The 64-Bit Mode configuration can also be tested with the same procedure. To enable 64-Bit Mode, change the definition in the EEPROM_PingPong_Config.h file by un-commenting the _64_BIT_MODE directive and commenting out the PAGE_MODE directive.