Third party programmers
-
- Posts: 190
- Joined: Mon Jul 07, 2014 9:38 am
- Has thanked: 30 times
- Been thanked: 77 times
- Contact:
Third party programmers
I have read through the next help info Flowcode 7 wiki pages:
https://www.matrixtsl.com/wikiv7/index. ... ming_Tools
https://www.matrixtsl.com/wikiv7/index. ... (PICmicro)
https://www.matrixtsl.com/wikiv7/index. ... PIC/PIC24)
https://www.matrixtsl.com/wikiv7/index. ... er_Options
and I have successfully setup my Microchip MPLAB ICD3 programmer to work with it within Flowcode 7 when I go:
Flowcode 7 – BUILD – Compile to Chip
But there are some other programmers, even better at least as speed of programing.
For example I have also ICD-64U programmer, which is lots faster than ICD 3, and which works fine with its standalone CCS Load software.
I would like to have Flowcode setup to work directly with ICD-64U in the same way as it works with ICD 3, of course with different parameters.
How do I do that?
Here is the programmer page:
http://www.ccsinfo.com/product_info.php ... id=icd_u64
https://www.matrixtsl.com/wikiv7/index. ... ming_Tools
https://www.matrixtsl.com/wikiv7/index. ... (PICmicro)
https://www.matrixtsl.com/wikiv7/index. ... PIC/PIC24)
https://www.matrixtsl.com/wikiv7/index. ... er_Options
and I have successfully setup my Microchip MPLAB ICD3 programmer to work with it within Flowcode 7 when I go:
Flowcode 7 – BUILD – Compile to Chip
But there are some other programmers, even better at least as speed of programing.
For example I have also ICD-64U programmer, which is lots faster than ICD 3, and which works fine with its standalone CCS Load software.
I would like to have Flowcode setup to work directly with ICD-64U in the same way as it works with ICD 3, of course with different parameters.
How do I do that?
Here is the programmer page:
http://www.ccsinfo.com/product_info.php ... id=icd_u64
- DavidA
- Matrix Staff
- Posts: 1076
- Joined: Fri Apr 23, 2010 2:18 pm
- Location: Matrix Multimedia Ltd
- Has thanked: 58 times
- Been thanked: 258 times
- Contact:
Re: Third party programmers
From the looks of the page, it should be possible to use the command line programming parameters on the CCSLoad software to program using that device. You would need to look up the what fields are required by the software and ensure that the correct parameters are being passed.
The Flowcode wiki has a detailed page on command line parameters it can pass here:
http://www.matrixtsl.com/wikiv7/index.p ... er_Options
The Flowcode wiki has a detailed page on command line parameters it can pass here:
http://www.matrixtsl.com/wikiv7/index.p ... er_Options
-
- Posts: 190
- Joined: Mon Jul 07, 2014 9:38 am
- Has thanked: 30 times
- Been thanked: 77 times
- Contact:
Re: Third party programmers
The page that you pointed to above seems for Compiler Options and I asked about Programmer.
I think you meant the 1st link from my post about third party programmers.
Or?
I think you meant the 1st link from my post about third party programmers.
Or?
- DavidA
- Matrix Staff
- Posts: 1076
- Joined: Fri Apr 23, 2010 2:18 pm
- Location: Matrix Multimedia Ltd
- Has thanked: 58 times
- Been thanked: 258 times
- Contact:
Re: Third party programmers
The programmer command line options is accessed within Flowcode through the "Compiler options" dialog window. Build >> Compiler Options, it probably should be called "Build Options" now that i think about it, but in any case, it allows you to change the options for the compiler, linker and programmer for the full build process.
But yes, the link i included may allow you to build the required command line options for the programmer you are targeting, unfortunately since its not a programmer we have supported in the past i am unsure of what the required command line parameters would be.
But yes, the link i included may allow you to build the required command line options for the programmer you are targeting, unfortunately since its not a programmer we have supported in the past i am unsure of what the required command line parameters would be.
-
- Posts: 190
- Joined: Mon Jul 07, 2014 9:38 am
- Has thanked: 30 times
- Been thanked: 77 times
- Contact:
Re: Third party programmers
The technical support from CCS just told me next:
An example command line:
"c:\program files\picc\ccsload.exe" +Tyourfile.hex
-
- Posts: 190
- Joined: Mon Jul 07, 2014 9:38 am
- Has thanked: 30 times
- Been thanked: 77 times
- Contact:
Re: Third party programmers
In the folder where CCS Load is installed, there is a help file “ccsload.chm” and inside there is one page with references to “Command Line Usage”
Here it is:
Here it is:
- 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: Third party programmers
Hello,
It sounds like the compiler options for the CCS programmer should look something like this.
Location: "C:\Program Files\picc\ccsload.exe"
Parameters: +T$(target).hex
However I'm guessing that this won't work because you're not even specifying which chip you're targeting.
this might be better.
Parameters: +T$(target).hex +DEVICE=$(chip)
It sounds like the compiler options for the CCS programmer should look something like this.
Location: "C:\Program Files\picc\ccsload.exe"
Parameters: +T$(target).hex
However I'm guessing that this won't work because you're not even specifying which chip you're targeting.
this might be better.
Parameters: +T$(target).hex +DEVICE=$(chip)
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 190
- Joined: Mon Jul 07, 2014 9:38 am
- Has thanked: 30 times
- Been thanked: 77 times
- Contact:
Re: Third party programmers
Hi,
How can we add "PIC" in front of chip name?, because now is seen only as 24HJ64GP202 instead of PIC24HJ64GP202.
FC7 parameters sends info to the programmer as "24HJ64GP202" and it seems that ccsload.exe needs PIC24HJ64GP202.
How can we add "PIC" in front of chip name?, because now is seen only as 24HJ64GP202 instead of PIC24HJ64GP202.
FC7 parameters sends info to the programmer as "24HJ64GP202" and it seems that ccsload.exe needs PIC24HJ64GP202.
-
- Posts: 190
- Joined: Mon Jul 07, 2014 9:38 am
- Has thanked: 30 times
- Been thanked: 77 times
- Contact:
Re: Third party programmers
OK, I managed that by adding in front " $(platform) " as described here:
https://www.matrixtsl.com/wikiv7/index. ... er_Options
but I still get an error.
https://www.matrixtsl.com/wikiv7/index. ... er_Options
but I still get an error.
-
- Posts: 190
- Joined: Mon Jul 07, 2014 9:38 am
- Has thanked: 30 times
- Been thanked: 77 times
- Contact:
Re: Third party programmers
The problem is solved. Everything works fine. Thank you for your help.
Was the first set of parameters:
Was the first set of parameters:
Location: "C:\Program Files (x86)\PICC\ccsload.exe"
Parameters: +T$(target).hex
- 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: Third party programmers
Brilliant glad it's working for you now.
If you do ever need to specify the chip then maybe this would work.
Parameters: +T$(target).hex +DEVICE=PIC$(chip)
If you do ever need to specify the chip then maybe this would work.
Parameters: +T$(target).hex +DEVICE=PIC$(chip)
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel