Page 1 of 1

3-d party experimental boards and FlowKit

Posted: Sat Aug 13, 2016 1:21 pm
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.flowcode.co.uk/datasheets/HP299-30-1.pdf

New one
https://www.flowcode.co.uk/webshop/flowkit-v2.html

Best regards
Bengt

Re: 3-d party experimental boards and FlowKit

Posted: Sat Aug 13, 2016 5:08 pm
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.

Re: 3-d party experimental boards and FlowKit

Posted: Tue Aug 16, 2016 11:50 am
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

Re: 3-d party experimental boards and FlowKit

Posted: Tue Aug 16, 2016 11:58 am
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.flowcode.co.uk/wikiv7/index.p ... _.28NEW.29

Re: 3-d party experimental boards and FlowKit

Posted: Tue Aug 16, 2016 2:18 pm
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 ?

Re: 3-d party experimental boards and FlowKit

Posted: Tue Aug 16, 2016 3:00 pm
by LeighM
Yes, see menu Build->Compiler Options
New configuration settings can be saved with a name.