How and Which CWSIS-DAP adapter i should use to program the LS1201A
I don't have the CodeWarrior TAP, and i see the CodeWarrior TAP studio can use CWSIS-DAP,
I want to know which adapter should i use to program the LS1201A
It looks like that the LS1021a is used.
The TWR-LS1021a board uses USB-to-UART bridge - MK20DX128VFM5. This bridge is used for CMSIS-DAP from MBED:
https://os.mbed.com/handbook/CMSIS-DAP
Use the following page for downloading CMSIS-DAP driver:
https://os.mbed.com/handbook/Windows-serial-configuration#1-download-the-mbed-windows-serial-port
i donwload the driver and config the codewarrior to connect the board ls1201a and start debug and get the error:
启动1111-core0_RAM_LS1021ATWR_Download出错
CCSProtocolPlugin : Failed to correctly configure the JTAG chain
IN LS1201A, here are J12, J2 and J10,
J12 - connect to LS1021ASE7MQB's jtag
J2 - connect to MK20DX128VFM5's jtag
J10 - connect to LCMXO1200C-3FTN256C's jtag
if i want to use CWSIS-DAP to debug the board, which connectter should i use?
Use the J12 for connection to the LS1012a.
Look at the Section 8.2 of the CW_ARMv7_Targeting_Manual.pdf file.
RCW override is not supported with a CMSIS-DAP connection.
When using the CMSIS-DAP probe, it is recommended to verify operation parameters and RCW correctness before continuing. Failure to program a compatible RCW may result problem for connection using CMSIS-DAP
Check RCW on your board.