in circuit debug

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
franky1978
Posts: 23
Joined: Thu Jun 13, 2019 2:29 pm
Contact:

in circuit debug

Post by franky1978 »

Hello everybody
to use the incircuit debug and the ghost function, is it enough to buy the "test & debug pack" or i need also the E-BLOCKS2 ARDUINO SHIELD?
thank you in advance
regards!

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: in circuit debug

Post by kersing »

For icd and ghost you will need hardware that supports it. That can be a multi programmer with support or the separate Flowkit V2 board.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

franky1978
Posts: 23
Joined: Thu Jun 13, 2019 2:29 pm
Contact:

Re: in circuit debug

Post by franky1978 »

ok thank!!!
and so after that i can also check the value of the variables, is it right?
thank you
regards

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: in circuit debug

Post by kersing »

I haven't used ghost for ages so I am not sure what is available. Hopefully someone with recent experience will chime in...
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

chipfryer27
Valued Contributor
Valued Contributor
Posts: 660
Joined: Fri Jun 06, 2014 3:53 pm
Has thanked: 184 times
Been thanked: 203 times
Contact:

Re: in circuit debug

Post by chipfryer27 »

Hi

I predominately use PIC so can only speak re such.

Yes, you can view variables as the program runs on the hardware.

I have found that ICD/ICT doesn't work with all my PIC's (most do) but when it does it is a very valuable tool to have.

First you need to be connected to your target and assuming so, you can then set ICD/ICT as appropriate then compile to chip. Once done you can then either step through the program using FC "Step Into" (Function 8), in which you have the opportunity to view whatever variable you wish etc, or just run the program (as per simulate, Function 5) and "pause" whenever. You can then view whatever variable etc you wish.

Hope this helps
Regards

chipfryer27
Valued Contributor
Valued Contributor
Posts: 660
Joined: Fri Jun 06, 2014 3:53 pm
Has thanked: 184 times
Been thanked: 203 times
Contact:

Re: in circuit debug

Post by chipfryer27 »

Haha... I see my figure "8" turned into a alien smiling...... Cool....:)

Post Reply