FC11 Serial Debugging

For general Flowcode discussion that does not belong in the other sections.
Post Reply
jay_dee
Posts: 240
http://meble-kuchenne.info.pl
Joined: Sun Dec 20, 2020 6:06 pm
Has thanked: 97 times
Been thanked: 68 times

Flowcode v11 FC11 Serial Debugging

Post by jay_dee »

Hi FC team,
Do you have getting started notes on the hardware serial de-bugging features of FC 11.

I've found the Serial Monitor funtion, under runtime tools and the wiki example. Which I think is a tool to allow Hardware to send/recieve data directly from a Console, rather than using a 3rd party console tool.

The FC11 release notes state Serial debugging allows you to pause your program as it runs in hardware and see the status of variables in your project.
Is this another feature beyound what serial monitor offers? thanks, J.

medelec35
Matrix Staff
Posts: 2167
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 662 times
Been thanked: 731 times

Re: FC11 Serial Debugging

Post by medelec35 »

Hello
Serial debugging is ICD and you can pause and control the hardware instead of simulation.
When you select Run within the Debug ribbon, then your hardware will run.
If you single step then the function you see within the simulator, will be the same function active on the hardware.
For Example LED on, read the port pin, control the port pin etc.
The variables shown within Flowcode will be the actual variables of the hardware.

The serial monitor is complete different.
you are correct, It just allows Flowcode console to act like A data terminal like PUTTY, Realterm etc.
Any data sent from hardware will be shown on the console. and sent from the console will be sent to your hardware.
Martin

Steve-Matrix
Matrix Staff
Posts: 1618
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 224 times
Been thanked: 380 times

Re: FC11 Serial Debugging

Post by Steve-Matrix »

ICD is currently only available using Matrix E-Blocks (v2 or v3) boards, but there are plans to extend this to other boards such as Arduino and ESP.

Post Reply