Other Parts Discussed in Thread: , MMWAVEICBOOST, UNIFLASH, IWR1443
Tool/software: Code Composer Studio
Hi,
We've had some custom PCBs fabricated based on the IWR6843. The design is basically a stripped back version of the IWR6843ISK and MMWAVEICBOOST, and runs with the XDS110 debugger. We are however having some problems with running the demo codes on the devices. I'll attempt to summarise what we've achieved and what the problems are, and what we have tried so far.
Procedure so far:
- First flashed the XDS110 debug firmware onto the virgin TM4C1294xxxx - this runs fine, both the USER UART and DATA ports show now in device manager.
- Next placed the device into flashing mode (we have used a similar header pin arrangement), and flashed xwr68xx_ccsdebug.bin through uniflash. This runs fine and program load is successful
- Placed the device in functional mode and opened CCS (power cycled and reset).
- Built the mmwave demo
- Created a new target configuration
- Run "test connection" which outputs a successful JTAG test.
- Launched the new target configuration and connected to the Cortex_R4_0
- Attempted to load the built .xer4f file
- We then recieve the following error:
Cortex_R4_0: File Loader: Verification failed: Target failed to write 0x0000000
I have checked and re-checked the routing and schematics - there doesn't seem to be an error here. All the voltages appear to be fine, the oscillator outputs a clean 40 MHz signal and the various pull-ups and pull-downs are present. Supply is a 5V 3A supply and the USB cable is fine. The fact that the device flashes in uniflash seems to confirm that a hardware error is hopefully not the problem at this point.
I am using the most up to date SDK (3.2) but have also tried with 3.1
I have also tried flashing the xwr68xx_mmw_demo.bin and running the online visualiser, but this also doesn't work. (it connects, but the config file doesn't send).
I have also tried loading the pre-built .xer4f but that doesn't work either.
I am suspecting that there is something different that needs to be done to new IWR6843 chips that I have missed.
I have tried the solution found here: https://e2e.ti.com/support/sensors/f/1023/t/789574#pi320995=1 , (editing the R4F linker file) but have not been successful. I get the following error: Cortex_R4_0: Error: (Error -1170 @ 0x0) Unable to access the DAP.
I am not sure if I have missed a step in there somewhere, if we need to follow a different procedure for new chips. Hopefully you'll be able to point me in the right direction.
Many thanks,
Peter