3-d party experimental boards and FlowKit

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

Moderator: Benj

Post Reply
PicoPuls
Posts: 111
Joined: Wed Mar 02, 2016 11:26 am
Has thanked: 43 times
Been thanked: 22 times
Contact:

3-d party experimental boards and FlowKit

Post by PicoPuls »

Flowcode 7 supports many new chips and sometimes suitable experimental board are not available among the E-blocks
Suppose a 3-e part board can be programmed with PicKit 3,
Would it then be possible to work with Flowcode 7 and even debug the system if Flowkit HP299 is added,
See image

There is now a new FlowKit 2,
But for those who already have the old Flowkit HP299 .
how useful will it be with Flowcode 7 ?

Old one
http://www.matrixtsl.com/datasheets/HP299-30-1.pdf

New one
https://www.matrixtsl.com/webshop/flowkit-v2.html

Best regards
Bengt
Attachments
flowkit500.jpg
flowkit500.jpg (38.89 KiB) Viewed 5963 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: 3-d party experimental boards and FlowKit

Post by Benj »

Hello,
Would it then be possible to work with Flowcode 7 and even debug the system if Flowkit HP299 is added,
Yes Flowcode will generate code and can even be setup to program via a PICkit programmer and many others using the compile to chip option.

The Flowkit and Flowkit v2 are both supported by Flowcode 7. The original Flowkit simply supports ICD, the Flowkit v2 supports ICD and ICT.

ICD = In Circuit Debug - Stepping through your flowchart, breakpoints, etc.
ICT = In Circuit Test - Analogue and digital waveform monitoring

For what you need connect the flowkit and click the ghost button. This should detect a ICD capable device is connected.

Ensure ICD mode is enabled and choose your I/O debug pins.

Also ensure the debug pins are not used in your program. e.g. if the pins are on pins D6 and D7 then no writes to PortD as a whole are allowed unless you use masking and mask off the ICD pins.

Compile and send your program to the microcontroller, don't connect the PICkit to the other USB port on the Flowkit, instead connect directly to your PC.

Connect up the 2 ICD pins to the flowkit and connect the grounds, should just be 3 wires connected between the Flowkit and your hardware.

Click start button in Flowcode and program should start running / debugging.

PicoPuls
Posts: 111
Joined: Wed Mar 02, 2016 11:26 am
Has thanked: 43 times
Been thanked: 22 times
Contact:

Re: 3-d party experimental boards and FlowKit

Post by PicoPuls »

Is it possible to compile to HEX with FlowCode7
and then send the hex with Mikroe mikroProg Suite to the Mikroe Fusion Experimental card with dsPIC33EP512MU810 ?

Matrix has unfortunately no experimental board for dsPIC33EP512MU810.
An experimental board solution must be found.
(Any other idea ? )

Would FlowKit work on the USB to Mikroe Fusion ?

PicKit would be a solution but searching the web indicates that PicKit 3 has issues
with firmware and doesn't integrate without problems into the Flowcode workflow.
That's makes it interesting to look at Mikroe mikroProg Suite as an alternative,

I have not tested any of thew - I would very much appreciate comments first

Best regards
Bengt
Attachments
MikroProgSuite.jpg
MikroProgSuite.jpg (33.48 KiB) Viewed 5911 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: 3-d party experimental boards and FlowKit

Post by Benj »

Hello,
Is it possible to compile to HEX with FlowCode7
and then send the hex with Mikroe mikroProg Suite to the Mikroe Fusion Experimental card with dsPIC33EP512MU810 ?
Yes this is possible.
Matrix has unfortunately no experimental board for dsPIC33EP512MU810.
We have the EB091 hardware which is based on the dsPIC33EP256MU806. Basically the same chip with a smaller memory and a few less pins.

Our ECIO40P16 module is also based on the dsPIC33EP256MU806 device.
Would FlowKit work on the USB to Mikroe Fusion ?
Yes, the Flowkit will work with 3rd party hardware.
PicKit would be a solution but searching the web indicates that PicKit 3 has issues
with firmware and doesn't integrate without problems into the Flowcode workflow.
We use the PICkit 3 a lot with Flowcode, it works seamlessly via the new IPE method. It's the older PK3CMD method that had a few hiccups but even that can be made to work well by downgrading the PICkit firmware.

Details of how to setup the PICkit 3 are available here,
http://www.matrixtsl.com/wikiv7/index.p ... _.28NEW.29

PicoPuls
Posts: 111
Joined: Wed Mar 02, 2016 11:26 am
Has thanked: 43 times
Been thanked: 22 times
Contact:

Re: 3-d party experimental boards and FlowKit

Post by PicoPuls »

Is it possible to add compilers in such a way that Flowcode remembers the previous ones and the default compilers?
Does a new compiler definition pop up in new projects ?

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: 3-d party experimental boards and FlowKit

Post by LeighM »

Yes, see menu Build->Compiler Options
New configuration settings can be saved with a name.

Post Reply