Third party programmers

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
viki2000
Posts: 190
Joined: Mon Jul 07, 2014 9:38 am
Has thanked: 30 times
Been thanked: 77 times
Contact:

Third party programmers

Post by viki2000 »

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

User avatar
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

Post by DavidA »

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

viki2000
Posts: 190
Joined: Mon Jul 07, 2014 9:38 am
Has thanked: 30 times
Been thanked: 77 times
Contact:

Re: Third party programmers

Post by viki2000 »

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?

User avatar
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

Post by DavidA »

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.

viki2000
Posts: 190
Joined: Mon Jul 07, 2014 9:38 am
Has thanked: 30 times
Been thanked: 77 times
Contact:

Re: Third party programmers

Post by viki2000 »

The technical support from CCS just told me next:
An example command line:

"c:\program files\picc\ccsload.exe" +Tyourfile.hex

viki2000
Posts: 190
Joined: Mon Jul 07, 2014 9:38 am
Has thanked: 30 times
Been thanked: 77 times
Contact:

Re: Third party programmers

Post by viki2000 »

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:
ccsload Command Line Usage.pdf
(143.26 KiB) Downloaded 302 times

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: Third party programmers

Post by Benj »

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)

viki2000
Posts: 190
Joined: Mon Jul 07, 2014 9:38 am
Has thanked: 30 times
Been thanked: 77 times
Contact:

Re: Third party programmers

Post by viki2000 »

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.
Unknown device.jpg
Unknown device.jpg (23.45 KiB) Viewed 9547 times
CCSLoad.jpg
CCSLoad.jpg (301.08 KiB) Viewed 9547 times

viki2000
Posts: 190
Joined: Mon Jul 07, 2014 9:38 am
Has thanked: 30 times
Been thanked: 77 times
Contact:

Re: Third party programmers

Post by viki2000 »

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.
PIC - platform.jpg
PIC - platform.jpg (158.9 KiB) Viewed 9546 times

viki2000
Posts: 190
Joined: Mon Jul 07, 2014 9:38 am
Has thanked: 30 times
Been thanked: 77 times
Contact:

Re: Third party programmers

Post by viki2000 »

The problem is solved. Everything works fine. Thank you for your help.
Was the first set of parameters:
Location: "C:\Program Files (x86)\PICC\ccsload.exe"
Parameters: +T$(target).hex
ICD-U64 programmer.jpg
ICD-U64 programmer.jpg (115.22 KiB) Viewed 9546 times

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: Third party programmers

Post by Benj »

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)

Post Reply