Debugging two different boards
Posted: Sat Mar 24, 2018 11:35 am
I have a startKIT (TARGET = STARTKIT) and an XCORE-200 eXplorer (TARGET = XCORE-200-EXPLORER).
Is there a way to have them both connected to the same machine (I use a Mac) and debug (or run) the code in both simultaneously?
The source is a little different for each, I'll differentiate with an #ifdef of LISTENER or SENDER or some kind of #ifdef? of each TARGET?
Is it possible to start two instances of xTIMEcomposer (like I was able to do that with the ARDUINO IDE that also runs on Java (here))?
If so, wouldn't it clash when they were going to address the same workspace?
Alternative 1. I know I could do it in series: First compile for one platform and FLASH it and let it just run without debug. Then compile and debug the other platform. They are going to talk together over a radio. I could FLASH the sender because I can hear the 433 MHz when full power (some mW) click in my external speakers anyhow.
Alternative 2 is two machines altogether, that I do have. But that makes merging code changes into the primary workspace more error prone.
Probably I haven't even asked the right questions! But I'd like some right answers!-)
Like if this is described somewhere else, then where? (I did not spot anything in the xTIMEcomposer User Guide for tools version 14.0.x)
Is there a way to have them both connected to the same machine (I use a Mac) and debug (or run) the code in both simultaneously?
The source is a little different for each, I'll differentiate with an #ifdef of LISTENER or SENDER or some kind of #ifdef? of each TARGET?
Is it possible to start two instances of xTIMEcomposer (like I was able to do that with the ARDUINO IDE that also runs on Java (here))?
If so, wouldn't it clash when they were going to address the same workspace?
Alternative 1. I know I could do it in series: First compile for one platform and FLASH it and let it just run without debug. Then compile and debug the other platform. They are going to talk together over a radio. I could FLASH the sender because I can hear the 433 MHz when full power (some mW) click in my external speakers anyhow.
Alternative 2 is two machines altogether, that I do have. But that makes merging code changes into the primary workspace more error prone.
Probably I haven't even asked the right questions! But I'd like some right answers!-)
Like if this is described somewhere else, then where? (I did not spot anything in the xTIMEcomposer User Guide for tools version 14.0.x)