Question:
How to program two ADSP-21364 on the same JTAG chain Using CLDP?
Answer:
The CLDP utility supports the following command-line switch:
-config [[path\]filename]
This option supports complex targets consisting of more than one processor or more than one device in the JTAG scan chain. Use the Target Configurator to create the file.
Example: cldp -config myConfig.ini
For more information please refer the below CCES help path:
CrossCore Embedded Studio 2.7.0 > Integrated Development Environment > Debugging Targets > Target Configurator > Platform Properties > Saving a Platform for Programming Devices
You would need to create 2 different configuration files. One where the 1st chip is unknown(BYPASS) and the 2nd is the 21364. Then create a different config file that is the opposite and the 1st chip is the 21364 and the 2nd an unknown(BYPASS). Unfortunately, right now we don't support writing to them both at the same time so it has to be done separately. We have an issue in our database to change this in a future release. Also, note that the platforms used to create the config files should not be removed from the Configurator utility after because we use those platforms during the programming.
Below is the example command-line that were used in CLDP.
cldp.exe -config config1.ini -core 0 -driver w25q32bv_dpia.dxe -cmd prog -erase affected -format hex -file App1.ldr
cldp.exe -config config2.ini -core 0 -driver w25q32bv_dpia.dxe -cmd prog -erase affected -format hex -file App2.ldr
You can find the detailed information about Command line device programmer in the below CCES help path.
CrossCore Embedded Studio 2.7.0 > Integrated Development Environment > Working with Bootable and Non-bootable Files > Device Programmer
For more information, please refer to the below FAQ:
FAQ: How do I program flash on my target board using CrossCore Embedded Studio?
https://ez.analog.com/docs/DOC-2111
Please refer the below CCES help path about Configuring a Scan Chain.
CrossCore Embedded Studio 2.8.0 > Integrated Development Environment > Debugging Targets > Target Configurator > Platform Properties > Configuring a Scan Chain
This document was generated from the following discussion: Using CLDP to program two ADSP-21364 on the same JTAG chain