Hi, I was trying to debug the particle photon system firmware but could not get the system firmware to print into the USB serial output port. I wanted print to serial (connected to my terminal as USB device) from the spark_protocol.cpp code on message receipt from cloud. I tried to do it through 2 calls,
DEBUG(“MY MSG 2”);
But both did not print anything to serial form the system firmware. I am reading serial inputs from the USB using a Linux terminal.
PS, messages from my applications through serial are captured well, but I dunno how to print and read messages from the system firmware using serial.