Part Number: AM5728
Other Parts Discussed in Thread: SYSBIOS
Hello Champs,
My customer is trying to setup an environment to develop/download/debug code running on a Cortex M4 in AM5728. One of the main functions is to control a camera module via i2c bus and gpio pins.
I advised customer to have a look at our I2C examples in the RTOS Processor SDK(processor_sdk_rtos_am57xx_3_03_00_04):
C:\ti\pdk_am57xx_1_0_6\packages\ti\drv\i2c\example\eeprom_read\am572x
C:\ti\pdk_am57xx_1_0_6\packages\ti\drv\i2c\example\temperature_sensor\am572x
especially: I2C_EepromRead and I2C_TemperatureSensor example application
Instructions on following links are closely followed and resulted in succesfull execution of above example applications on TMDSEVM572X
processors.wiki.ti.com/.../Processor_SDK_RTOS_Getting_Started_Guide
processors.wiki.ti.com/.../Rebuilding_The_PDK
processors.wiki.ti.com/.../Processor_SDK_RTOS_I2C
pdkProjectCreate.bat in pdk_am57xx_1_0_6 is used to generate CCS project files. These project are imported into CCS (Version: 7.1.0.00016) and build without any problems.
To download and run these examples aan target configuration was created with following parameters:
Connection: Spectrum Digital XDS560V2 STM USB Emulator
Board: GPEVM_AM572X_SiRevA.
So far so good! meaning: customer can develop/download/debug M4 code using CCS, independent of A15.
Customer is planning to use phyCORE-AM57x (www.phytec.eu/.../) module in actual application. Running Linux on A15 and RTOS on C66 and M4. Code for A15/C66/M4 is initially developped by different persons/teams and integrated at a later stage.
One of the current goals is to develop/debug cortex M4 code on this Phytec module using CCS+XDS560.
Now it becomes trickey; CCS does not have board configuration files for the phyCore-AM57x. Comparing the phyCORE and TMDSEVM572X processor board did not show big differences, so i tried following approach.
1) disable A15 boot from eMMC(this stores uboot and linux, loading uboot configures the AM5728, disabling to run onTargetConnect gel scripts successfully)
2) Launch target configuration file used for TMDSEVM572X(Connection: Spectrum Digital XDS560V2 STM USB Emulator / Board: GPEVM_AM572X_SiRevA.) -> succeeds
3) issue <Connect target> on cortex A15_0 -> all startup script en onTargetconnected gel scripts are executed without any error message on console.
4) execute <Connect target> on M4_IPU1_C0 -> resulted in an Error connecting to target:(Error -1170 @ 0x0)
after this error message I was still able to connect to A15_1, C66xx_DSP1/2, PRU_0/1_ICSS1/2
Any suggestion or remarks on the described approach?
PS: Customer is using board with SR2.0:
Thanks in advance, Patrick

