Page 1 of 1

Problems connecting to pppv3

Posted: Tue Jan 18, 2011 12:59 pm
by Zkov79
When I try to compile to HEX in flowcode I get a failure. It can not connect to the pppv3. I have tried to reinstall both programs and the USB-driver.

Anyone have a sollution?
Its Flowcode 3.6.1.53
and PPPv3.9.12.26

Re: Problems connecting to pppv3

Posted: Tue Jan 18, 2011 5:06 pm
by Benj
Hello,

Have you tried the final solution listed here?
http://www.matrixmultimedia.com/support ... f=15&t=416

If this also does not work for you then please can you let me know what OS you are running and exactly what error message you are receiving when you try and program the device.

Re: Problems connecting to pppv3

Posted: Wed Jan 19, 2011 6:51 am
by Zkov79
Hello Benj.

Thanks for you reply, but it doesnt work with that solution.
We have contact with the board in both Flowcode and PPPv3. I think the problem is the connection between Flowcode and pppv3. Maybe in the compile options

This is the following error message we get:
"Return code = 1
Flowcode was unable to compile flowcharts c code of following errors:
If your flowchart contains c code, review it closely. If your flowchart doesnt contain c code and you have reviewed the code, contact Technical."

We had a demo version of flowcode 4 and it worked finde compiling to the print.

This is the path we have in the compile options:

Compiles:
Location: C:\Programmer\Matrix Multimedia\Flowcode V3\BoostC\boostc.pic16.flowcode.exe
parameters: -v -t PIC%p "%f.c"

Links/Assemble:
Location: C:\Programmer\Matrix Multimedia\Flowcode V3\BoostC\boostlink.pic.exe
Parameters: -ld "C:\Programmer\Matrix Multimedia\Flowcode V3\BoostC\lib" libc.pic16.lib flowcode.pic16.lib "%f.obj" -t PIC%p -d "%d" -p "%f"

Burner:
Location: C:\Programmer\Matrix Multimedia\Common\PPPv3\PPPv3.exe
Parameters: -cs 2 -nogui "%f.hex"
"Use burner to enable configuration options" is on
Location: C:\Programmer\Matrix Multimedia\Common\PPPv3\PPPv3.exe
Parameters: -cs 2 -chip PIC%p -config

File Viewer:
Location: C:\WINDOWS\notepad.exe
Parameters: "Blank"

The OS is Windows XP

Thanks

Re: Problems connecting to pppv3

Posted: Wed Jan 19, 2011 7:19 am
by medelec35
Zkov79 wrote:This is the following error message we get:
"Return code = 1
Flowcode was unable to compile flowcharts c code of following errors:
If I saw this, I would assume it can't compile flowchart which means there is problem with the flowchart it's self perhaps a C block without a semicolon ,or a component macro without a pin connected etc. A flowchart will not transfer to the target in the programmer until Return code = 0.
Have a read here:
http://www.matrixmultimedia.com/mmforum ... =26&t=6936
If you are happy to share flowchart, then we can see what the issue is?
It would be helpful to also post C file and .msg text file.

Re: Problems connecting to pppv3

Posted: Wed Jan 19, 2011 7:46 am
by Steve
Hello Zkov79,

Please post the complete list of messages that is generated during compilation so we can understand better what is going on. It will also be useful if you post the flowcode file (.FCF) and the C code file it generates too.

Re: Problems connecting to pppv3

Posted: Wed Jan 19, 2011 8:50 am
by Zkov79
Thanks Benj and melelec35

I tried with a simplier flowchart and it passed and send.

Thanks for the help.