Hi All,
I want to transfer data from a host PC to the EVM via PCIe, and have been using two settings during my investigations; the factory-original positions, and the positions given in the readme.pdf file for the PCIE Boot Example given in .\mcsdk_2_00_02_14\tools\boot_loader\examples\pcie\docs. The PCIe boot example settings are:
SW3 SW4 SW5 SW6 SW9
(pin1, 2, 3, 4) (pin1, 2, 3, 4) (pin1, 2, 3, 4) (pin1, 2, 3, 4) (pin1)
(off, on, on, off) (on, on, on, on) (on, on, on, off) (off, on, on, on) (on)
I want to be able to download code to the EVM via the built-in USB/JTAG interface when the EVM is set-up for PCIe boot. I have tried several TMDXEVM6678L and they all exhibit the following problem:
1. With a factory-new EVM (all DIP-SW at default) I can build and download projects readily.
2. After changing the DIP switches to the PCIe configuration, CCS gives a data load error when attempting to download code:
"Load Program Error.
File:
etc\etc\..\pcieboot_helloworld_evm6678l.out: a data verification error occurred, file load failed"
3. Power-cycling the EVM (and disconnecting USB) then putting the DIP switches back to factory-default the data load error remains.
4. Moving the EVM (DIP-SW factory-default) to a different PC host the new host is able to download code with no errors (default DIP-SW).
5. Reverting to the previous PC-host once again I get download errors.
6. Putting the original PC-host to sleep for the night and powering-down the EVM (and disconnecting USB cable) then re-trying the next morning I am able to download successfully once again (but DIP-SWs are not in the setting required for PCIe).
Basically, it looks as though CCS or perhaps an underlying driver is getting itself into confused state (although it could also be some issue with the EVM).
Shutting-down CCS (Version: N201105110900) and power-cycling the PC host make no difference to this behaviour.
Questions:
* Am I right in believing that the JTAG interface should continue to work with these changed DIP-SW settings?
* What can I do to bring sanity back to the debug environment when the failed downloads occur (we have 2 other EVMs/hosts that are locked-out in this way) ?
* I've put the EVM configuration setting back to factory and power-cycled, what else should be necessary?
Thanks in anticipation.
Peter L.