FlowKit Question

For E-blocks user to discuss using E-blocks and programming for them.

Moderators: Benj, Mods

Post Reply
dbasnett
Posts: 125
Joined: Mon Aug 15, 2011 1:54 pm
Has thanked: 8 times
Been thanked: 11 times

FlowKit Question

Post by dbasnett »

Having installed and registered my next step was to add the FlowKit to the system. My test program is here http://www.matrixmultimedia.com/mmforum ... f=2&t=8789

My setup

EB006 v6
SW1 - Fast
SW2 - XTAL
ICD2 / USB - USB
PSU / USB - PSU
LVP Selection - All three set for IO Port
Flowcode Pro v4.5.18.74
FlowKit connection - PC-->FlowKit In - FlowKit Out --> EB006 USB
Custom USB Device - Matrix PICmicro Programmer - v 1.0.0.6, 12/19/2007
CPU - PIC16F88
Port A - EB004
Port B - EB005
Port C - nc
Port D - nc
Port E - nc

The first thing I tried was to re-compile the program and make sure I could download it to the board. That was successful.

Next I wanted to try and use the ICD, so I changed the Project Options to ICD mode and moved the selector on the FlowKit to ICD. At that point I could not compile to the chip. I kept getting a USB cable not connected message. What am I doing wrong?

BTW - The little CD that came with the FlowKit doesn't work on my laptop. The CD reader on my laptop is just a slot that you insert the disk into, it is not a tray that slides out. I used honey's computer to transfer the contents to my NAS and then copied the files to my PC.

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times

Re: FlowKit Question

Post by medelec35 »

dbasnett wrote: so I changed the Project Options to ICD mode and moved the selector on the FlowKit to ICD. At that point I could not compile to the chip. I kept getting a USB cable not connected message. What am I doing wrong?
You do not move the switch to ICD until the program has been compiled to chip. So you need to leave switch on prog. Then have the ICD on your flowchart selected. Compile to chip, then finally move the switch to ICD position.
What I do is press the F8 key to start in single step mode. If all is working then the icon border will turn from red to green
If at any time you alter any part of your flow chart, and a star appears at the end of the flowchart title, you will need to switch the swich back to prog, compile to chip, then flick switch back to ICD.
Note: ICD uses port B6 and B7 so you cant use them within your flowchart.
I have never tried flowkit with V6. So not sure if will work via usb. If it does not then plug it into portB. Then plug the LCD into the the other end.

Martin
Martin

dbasnett
Posts: 125
Joined: Mon Aug 15, 2011 1:54 pm
Has thanked: 8 times
Been thanked: 11 times

Re: FlowKit Question

Post by dbasnett »

Does that mean I have to also move the one LVP selection jumper?

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times

Re: FlowKit Question

Post by medelec35 »

No, since there is should be an external 14ish V psu connected (I use a stabilised 12V since I already had that lying around), you are doing high voltage programming not LVP. So the LVP jumpers should be left set on the i/o ports
Have you had a look here:
http://www.matrixmultimedia.com/mmforum ... =26&t=7138
?

It looks like it may work via usb, but im not 100% sure of that.
Martin

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: FlowKit Question

Post by Benj »

Hello,

Before you get the flowkit up and running you should check all your settings are correct by performing a 1 second flasher test.

A troubleshooting guide to the ICD is available from here.
http://www.matrixmultimedia.com/softwar ... _Guide.pdf

dbasnett
Posts: 125
Joined: Mon Aug 15, 2011 1:54 pm
Has thanked: 8 times
Been thanked: 11 times

Re: FlowKit Question

Post by dbasnett »

Until I get my target CPU in and running there is not much point in this thread. Thanks for your help.

Post Reply