Serial numbers (SQTP)

12 views
Skip to first unread message

pinhe...@gmail.com

unread,
Nov 12, 2022, 8:40:56 AM11/12/22
to jallib
Hi there,

Whenever it's possible, I use a TL866 programmer with the MiniPro programming software.

One function I really like about that software is the ability to generate and write auto-serial numbers (which in itself is nothing special, because known as SQTP in MPLab IPE).
But one of the possible choice of format for those serial numbers is the current date and time.  
You also have the choice of the memory in which program it (EEPROM, Top of Program memory,....)    See attached screenshot

Unfortunately, newer PIC's are not supported by TL866, and then, I have to use my PicKit4 with MPLab IPE.

But MPLab IPE does not support this usefu function.

Does anyone have the knowledge of a way I could achieve this, may be with a batch file generating the date and time and use it as parameter for the command line of PK program ?
I am not fluent enough in writing batch or cmd files to achieve this, so if anyone could help....

Thanks in advance
Capture d’écran 2022-11-12 143933.jpg

evan....@googlemail.com

unread,
Nov 14, 2022, 1:03:11 PM11/14/22
to jallib
We may be able to help.

PICKitPlus has a set of features in the PK+Gang Programmer that covers this.  But, that is expensive.

We can add to our base software this SQTP  capability.

Questions:  Is this commercial usage?  And, where is the value written to? (Which memory area ?)

You can ping me directly so we can get you involved in any development.

Evan

Pinhead

unread,
Nov 14, 2022, 3:21:56 PM11/14/22
to jal...@googlegroups.com

Thanks for the offer, Evan

I am a hobbyist, so it is not for commercial use.

I was looking for a solution in the form of a small program written in VB or whatever language, producing an EXE file which, once called from a bat or cmd would generate a SQTP file following the Microchip format, and containing the current date and time.   That file is then passed as a parameter to PK3cmd.

My goal is only to have the date and time at which the PIC was programmed.

The memory region may vary (EEPROM, Top of Program memory, top of HEF....) and could also be a parameter

See file format : https://microchipdeveloper.com/ipe:sqtp-start


Le 14-11-22 à 19:03, 'evan....@googlemail.com' via jallib a écrit :
--
You received this message because you are subscribed to the Google Groups "jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jallib+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/2db227b3-fa15-4a43-a997-c6c6c3f307den%40googlegroups.com.

evan....@googlemail.com

unread,
Nov 14, 2022, 3:25:34 PM11/14/22
to jallib
Thank you.  Your answer answers the question from my CTO.    hobbyist v commercial.  Your use case make perfect sense for a hobbyist.

We know the file format.

I will discuss with my CTO and see what he thinks.
Reply all
Reply to author
Forward
0 new messages