Other Parts Discussed in Thread: LAUNCHXL-CC2640R2
We have made progress and can access the CC2640R2 processor on our custom board. We can even display the chip's MAC address with the TI programmer code.
We are using CCS and the i2ctmp116_CC2640R2_LAUNCHXL_tirtos_ccs program. We are well aware that this project is directly related to the relevant TI SDK board, which we have, but when we try to download the program to flash on our board (by clicking on the debug icon to compile and download the code), we get some indecipherable error messages.
We'd expect the the code would not completely run the different hardware on our board, but it seems logical that it should nevertheless download the compiled code to flash. The plan is to modify and evolve that project's code to fit our board, since writing a project from complete scratch seems to require a PhD in TI's sea of various includes, build files, etc.
We are using the same CC2640R2 family of processor, but it is a different and smaller package than the CC2640R2 on the TI SDK board.
We get these messages when we try to download the code to our board:
Error connecting to the target
(Error -242 @0x0)
A router subpath could not be accessed
The board configuration file is probably incorrect
(Emulation package 8.1.0.0007)
A basic question is what is a router subpath?
Another question is where is the board configuration file, and how do we change it? When I do a file search for 'board configuration' or 'boardconfiguration', I can find no such files in any TI folder on my computer.
The problem with a vast and complex infrastructure such as TI's vast data base of various processors and complex software to handle it all such as CCS, is that one small change made by a beginner, such as trying to download code to a custom board, rapidly leads to confusing and obscure error messages. It's easy to stray into the 'weeds' and get totally lost.
Any help would be appreciated.
Dan Benkman
Innowave