Problems with new EB006V9 with Flowcode V4 on Windows XP Pro

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
Joel_Le_Gac
Posts: 8
Joined: Mon May 04, 2015 7:44 pm
Been thanked: 1 time

Problems with new EB006V9 with Flowcode V4 on Windows XP Pro

Post by Joel_Le_Gac »

Hello,
I just begin to use EB006V9 boards today, but I have problems to install drivers correctly.
I work on Flowcode V4 under Windows XP Professionnal.
I connect my EDB006V9 board to USB port.
But drivers or mLoader seam to be not recognised.

What can I do ?
- Can I use PPP as on Flowcode V4 ?
- I have also downloaded mLoader on the website of Matrixmultimedia, but this version does not seem compatible with Flowcode V4 : the file .hex generated with Flowcode V4 is well transmitted, but that does not go on the EB006V9 board.

Can you help me, please, by transmitting me correct mLoader or drivers ?

Thanks very much.

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: Problems with new EB006V9 with Flowcode V4 on Windows XP

Post by medelec35 »

Hi Joel_Le_Gac
Have you downloaded drivers from here?

Martin
Martin

Joel_Le_Gac
Posts: 8
Joined: Mon May 04, 2015 7:44 pm
Been thanked: 1 time

Re: Problems with new EB006V9 with Flowcode V4 on Windows XP

Post by Joel_Le_Gac »

Thanks, Martin, for your reponse.
Excuse-me if I don't speek english very well. I'm french !!!

Yes, I have downloaded drivers from your website :
EB006 (v9) USB Driver and mLoader Programming Software

I have done all it's describe in joined file.
mLoader seem to work correctly : when I connect EB006V9 to a USB port, board is detected.
When I click on Autodetect button, mLoader recognised the microcontroller 16F877A I have monted on the board.
When I select a .hex file generated on Flowcode V4, and when I click on Send button, file is transfered in microcontroller, the LED Program flickers on board... But after the transfer, the program does not run...

I wonder whether the files that I have downloaded are compatible with Flowcode V4.

Thanks for your help.
Joel
Attachments
Using EB006v9 with Flowcode v4 and v5.pdf
(161.79 KiB) Downloaded 755 times

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: Problems with new EB006V9 with Flowcode V4 on Windows XP

Post by medelec35 »

Hi Joel,
You're welcome.
Joel_Le_Gac wrote: Yes, I have downloaded drivers from your website
I don't work for Matrix, I just help out when I can.
Sounds to me like programmer is working as intended and issue is configuration settings within flowcode (Chip, configure).
Take a look at this

For your interest you get configure Flowcode V4 to compile directly to chip, rather than loading hex file.
Take a look here.
If you are still struggling then if you post flowchart then I will see if I can spot the issue.

So I can move this thread to the correct section, What version of flowcode V4 are you running?
Professional, student etc.

Martin
Martin

Joel_Le_Gac
Posts: 8
Joined: Mon May 04, 2015 7:44 pm
Been thanked: 1 time

Re: Problems with new EB006V9 with Flowcode V4 on Windows XP

Post by Joel_Le_Gac »

Thanks, Martin,

we have Flowcode V4 for PICmicro : view joined file
It's a Flowcode Educational Version for 50 postes.
When we buy it, it was Flowcode V4.3

For testing Flowcode with mLoader, and viewing configuration settings, I can do it tomorrow, at my school.
I have done all is detailed in http://www.matrixtsl.com/faq/index.php? ... artlang=en

I have load mLoader v.3.2.2.6 and copy the files in a mLoaderPIC folder :
Location: C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\Tools\mLoaderPIC\mLoader.exe
Parameters: -chip %p "%f.hex"

I can give you tomorrow screen printings.

Goodbye, and thanks very much for all your help.
Joel
Attachments
mLoader_for_FC4and5.jpg
mLoader_for_FC4and5.jpg (38.29 KiB) Viewed 26971 times
FlowcodeV4.jpg
FlowcodeV4.jpg (69.05 KiB) Viewed 26971 times

Joel_Le_Gac
Posts: 8
Joined: Mon May 04, 2015 7:44 pm
Been thanked: 1 time

Re: Problems with new EB006V9 with Flowcode V4 on Windows XP

Post by Joel_Le_Gac »

Hi, Martin,
I have seen I 've done an error in parameting compiler options in Flowcode.

The top two fields set the programmer location, it is these you want to edit. Leave the bottom two fields as is to allow the configuration functionality to continue to work.

Change the top two fields to look like this :

Flowcode v4

Location: C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\Tools\mLoaderPIC\mLoader.exe

Parameters: -chip %p "%f.hex"

I've done this for the top two fiels, but also for the bottom two fields.
Perhaps is this because of that that does not go ?

I'll do modifications tomorrow, and I will transmit you my observations.

Goodbye, and thanks very much.
Joel

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: Problems with new EB006V9 with Flowcode V4 on Windows XP

Post by medelec35 »

Joel_Le_Gac wrote:Leave the bottom two fields as is to allow the configuration functionality to continue to work.
Yes you will need to leave those for PPP as that is used to set the configuration settings.
My settings for 'Use external program to set configuration options' are:
Location:C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\Tools\PPP\PPPv3.exe
Parameters:-cs 2 -chip PIC%p -config

But the path will depend on PC and I guess what country you're in.
The easiest way to restore those two lines is click on Restore Defaults and copy then paste the other three sections.


Martin
Martin

Joel_Le_Gac
Posts: 8
Joined: Mon May 04, 2015 7:44 pm
Been thanked: 1 time

Re: Problems with new EB006V9 with Flowcode V4 on Windows XP

Post by Joel_Le_Gac »

Hello, Martin,
apart from my hours of course, I took again today my problem : programs written under Flowcode v4, transferred in PIC16F877A on new cards EB006V9. In spite of my efforts, that still does not go. :?

mLoader seem to work correctly : when I connect EB006V9 to a USB port, board is detected.
When I click on Autodetect button, mLoader recognised the microcontroller 16F877A I have monted on the board.
When I select a .hex file generated on Flowcode V4, and when I click on Send button, file is transfered in microcontroller, the LED Program flickers on board... But after the transfer, the program does not run...

Files joined : ProgTest1.fcf : source written in Flowcode V4
Pictures.rar containing :
- Folder in Program Files.jpg : folder mLoaderPIC in folder C:\Program Files\.....
- Options Compilation FCv4.jpg for Flowcode V4
- Options Project FCv4.jpg : Project options
- PICmicro configuration FCv4.jpg
- ProgTest1 after Compilation FCv4.jpg : it' OK !
- Compil and transfer ProgTest1 FCv4.jpg with mLoader windows : A target must be selected
- ProgTest1 Messages Compilator FCv4.jpg : error : File not sent! Return code = 51
- PPP v3 Options in FCv4.jpg
- USB cable not detected FCv4.jpg

When I load the ProgTest1.hex directly with mLoader and when I sent it to EB006V9, it's also the same : it's well transfered, but it doesn't run ! I don't understand...

With Flowcode 6 (demo version) : no problem with mLoader : file is compiled correctly and then tranfered in EB006V9 : it run correctly... But I have Flowcode V4 licence only...

Thanks for your help.
Soon
Joel
Attachments
ProgTest1.hex
(488 Bytes) Downloaded 662 times
Pictures.rar
(828.96 KiB) Downloaded 709 times
ProgTest1.fcf
(7 KiB) Downloaded 717 times

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: Problems with new EB006V9 with Flowcode V4 on Windows XP

Post by medelec35 »

Hi Joel,
Problem is with your configuration settings i.e they have not been set.
That's why your program is not running at all.
For example watchdog timer is enabled by default so your program is restarting every 18ms!
Flowcode V5 and V6 has the 16F877a preconfigured, Hence program would work
Flowcode V4 does not!
First select Chip, configure.
Make sure you have not got 'Use simple config screen' enabled.
If it is then you will see:
config1.png
(16.74 KiB) Downloaded 14701 times
Just select 'Switch To Expert Config Screen'
Select Options then un-select 'Use simple config screen'
So now you should have:
config2.png
(62.36 KiB) Downloaded 14701 times
Just select correct configuration settings like this:
config3.png
(63.87 KiB) Downloaded 14701 times
Finally select View, project options to sect correct clock speed.

Now send to chip.

If you can't see any of the above, then maybe you can see:
config4.png
(12.94 KiB) Downloaded 14701 times
If you do then you just select Chip, compiler options.
Select 'Use external program to set configuration settings'

Martin
Martin

Joel_Le_Gac
Posts: 8
Joined: Mon May 04, 2015 7:44 pm
Been thanked: 1 time

Re: Problems with new EB006V9 with Flowcode V4 on Windows XP

Post by Joel_Le_Gac »

Hi, Martin,
I will test it at the high school. I'll keep you informed of the results.
Soon and thanks at all.
Joel

Joel_Le_Gac
Posts: 8
Joined: Mon May 04, 2015 7:44 pm
Been thanked: 1 time

Re: Problems with new EB006V9 with Flowcode V4 on Windows XP

Post by Joel_Le_Gac »

Hi, Martin,
whaoooo !!! That's all right !!!
My programs did not go because Watchdog Timer was enabled.
I have just configure PIC such as you tell me to do.

I don't know how to thank you for your assistance : thanks to your advices, you allowed me to solve this problem of communication.
Thank you thousand times.

Well cordially, Martin.
Joël
Attachments
PICmicro Configuration (expert).jpg
PICmicro Configuration (expert).jpg (66.22 KiB) Viewed 26936 times

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: Problems with new EB006V9 with Flowcode V4 on Windows XP

Post by medelec35 »

Hi Joël,
Glad you have got it working now.
Joel_Le_Gac wrote:I don't know how to thank you for your assistance
If you would like to thank a poster then:
While you're logged in then you can click the thumbs up icon (next to "Quote" icon) on the post that has helped you.

Martin
Martin

Joel_Le_Gac
Posts: 8
Joined: Mon May 04, 2015 7:44 pm
Been thanked: 1 time

Re: Problems with new EB006V9 with Flowcode V4 on Windows XP

Post by Joel_Le_Gac »

medelec35 wrote:Hi Joël,
Glad you have got it working now.
Joel_Le_Gac wrote:I don't know how to thank you for your assistance
If you would like to thank a poster then:
While you're logged in then you can click the thumbs up icon (next to "Quote" icon) on the post that has helped you.

Martin
:D
Thanks very much for all your help, Martin.
Joël :P

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: Problems with new EB006V9 with Flowcode V4 on Windows XP

Post by medelec35 »

Moved thread to V4 section since now you are V4 registered user.

Martin
Martin

Post Reply