Using an FXT002, I have an application that uses the USB and COM2 (via add on card) ports, during normal operation.
I use COM1 for development, i.e. “debugging” using debug traces.
I now want to change the debug port to COM2. This would allow me to require ‘extra’ com2 hardware only for development.
I would expect (but can’t seem to find) commands to set COM2 to debug mode, and perhaps assign some I/O as control lines for COM2, if required by DS.
DS presents a complete list of available COM ports: you can choose any one at any time; you can change your selection at will.
You switch a port into debug mode by pressing the ‘Switch to Development Mode’ button;
You switch a port out of debug mode by pressing the ‘Switch to Production Mode’ button.
It’s DS that “commands” the port to go into “Development” mode - so you just need to connect whatever port you choose to DS, and press the ‘Development Mode’ button for that port.
Hello,
I have development kit for SL6087, there are two UARTs. I use UART1 in development mode. I need to use UART2 in development mode, but I’m unable to switch to it, because UART2 is “turned off”. I get timeout error when trying to switch do DM. I checked cable, switch near port is in ON position…
Can’t switch to DM even when application is not running (wopen=0).
Do you have idea what could be wrong?
Thanks.
It’s not turned off, it’s “turned off”. It acts like turned off.
I measured port (shorcircuit RX and TX → loopback) and found out, that connection from PC to SL6087 is ok. (Tried it with socket-up removed)
It looks like UART2 on SL6087 is somehow disabled. Therefore Developer studio is unable to operate with port (timeout errors).
Even “Open port” button generates timeout error.
I “solved” my issue. If someone will have similar issue, this could help:
Port UART2 was disabled. By default all ports are enabled, but for some reason I had UART2 disabled. You can check state of ports by command