NOTICE: The Processors Wiki will End-of-Life in December of 2020. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.
Power Management CCS project for OMAP35x and AM-DM37x
- Download and unzip PowerManagement CCS project.
- Downlaod the appropriate GEL files for your processor from the OMAP and Sitara CCS support page
- Downlaod the appropriate CCS configuration file for your JTAG pod from the OMAP and Sitara CCS support page.
This Code Composer Studio (CCS) project demonstrates entry and wakeup from OFF mode on and OMAP3EVM with either OMAP35x and AM/DM37x.
- Device : OMAP3530 ES3.1 or later, or AM/DM37x ES1.0 or later
- Board : OMAP3EVM REV.G. One modification that needs to be made to the Power module. See diagram below.
- JTAG Emulator : Blackhawk USB560m, Ashling Opella-XDS560, Spectrum Digital XDS510USB
- CCS: We have used CCS 3.3 for this demonstration. The project could also be used in later CCS revisions.
- Unzip project and ensure CCS is setup to use the provided GEL files and CCS configuration file provided in the link above. The main GEL file is omap3530_cortexA.gel (or am-dm37x_cortexA.gel for AM/DM37x), which loads all the other GEL files (this is what you specify as the Cortex-A8 GEL file in CCS setup). You may need to adjust the path names in this file so this GEL can find the other GELs.
- Open CCS and load up the following project: projects/pwr_mgt/pwr_mgt_idle_wkup_OMAP35xEVM/pjt/pwr_mgt_idle_wkup_OMAP35xEVM.pjt
- You can build this project if you want, but it is already pre-built.
- Power cycle the EVM and connect to the device from CCS (Debug -> Connect)
- For OMAP35x, run GEL->OMAP3EVM->OMAP3EVMStart. For AM/DM37x, run GEL->OMAP3EVM->OMAP3730_EVMStart_with_Hynix
- File->Load Program to load pwr_mgt_idle_wkup_OMAP35xEVM (it is found in the projects/pwr_mgt/pwr_mgt_idle_wkup_OMAP35xEVM/bin directory).
- Because of the differences in how each JTAG pod handles low power, there are different procedures to run your code depending on the JTAG pod you have
- If you have a Spectrum Digital JTAG pod, this pod does not allow the processor to go into OFF mode while connected. Thus, in order to run the code, choose Debug -> Disconnect. Upon disconnect, the code will run, and after a few seconds, you should see the processor go into off mode for about 5 seconds. You can monitor this by probing VDD1 (J6) and VDD2 (J5) on the EVM and see them go to 0V. After about 5 sec, power is restored.
- If you have a Blackhawk JTAG pod, this pod seems to handle low power modes better. Choose Debug->Run. You will see some messages on the CCS console as the program is running. Then you will eventually get an CCS error because power was shut off to the processor. During this time (about 5 sec), you can probe VDD1 (J6) and VDD2 (J5) and see them go to 0V. After about 5 sec, power is restored. Click through the error messages that pop up due to a loss of power.
- After power is restored, the device has come back from off mode, run Debug->Connect to restore connection to the device.
- After connection, device should be sitting at a halt loop just after the WFI instruction, showing that we have successfully gotten back to a running state. DDR contents was also retained.