• AVR Freaks

Generated SQTP wrong with IPE 2.10

Author
BradLevy
Starting Member
  • Total Posts : 44
  • Reward points : 0
  • Joined: 2007/10/23 15:21:30
  • Location: Kansas
  • Status: offline
2014/06/18 20:50:18 (permalink)
0

Generated SQTP wrong with IPE 2.10

(I originally posted this in the ICD forum, before I realized there was a forum specifically for the IPE.  I don't normally repost, but didn't see a way to move the message and thought people encountering SQTP issues were more likely to search here. -Brad)

I tried generating a sequence of 10 byte serial numbers using the SQTP generation feature of IPE 2.10, with the ICD3, for PIC12HV752. (I wanted long numbers so I could embed production date info.)
 
I found that the IPE-generated .num file contained the wrong sequence. The data was correct for the first chip, but the sequence reset to 1, 2, 3... for the second, third, fourth chip, etc. The upper bytes of the data were all reset to zero after the first chip.

I did some experimenting, and found that the IPE appears to generates the correct sequence if the number of bytes is 8 (16 hex digits) or less, but generates the incorrect sequence after the first chip if the number of bytes is 9 or more.
If you set the number of bytes to 15 or more, you get an error message when you try to generate the sequence, informing you that the number of bytes cannot be larger than 14. So evidently the program was intended to work for up to 14 bytes, but didn't use buffers big enough to hold data that long.
 
Example of the incorrect sequence generated by the IPE,
for start val=20140616000102030005, inc=01
start adr=210, # of bytes=10, # of parts=5
 
:14042000053400340334023401340034163406341434203465
:140420000134003400340034003400340034003400340034BF
:140420000234003400340034003400340034003400340034BE
:140420000334003400340034003400340034003400340034BD
:140420000434003400340034003400340034003400340034BC
:00000001FF
#1
Sudheer Herle
Super Member
  • Total Posts : 415
  • Reward points : 0
  • Joined: 2012/03/30 05:41:29
  • Location: Bangalore ,India
  • Status: offline
Re: Generated SQTP wrong with IPE 2.10 2014/06/19 21:33:19 (permalink)
0
Hi Brad,
 
I could reproduce the issue. Only the first line of the SQTP contains your actual data.
If it helps you, MPLAB8 IDE generates the correct SQTP file. May be Microchip will fix this by next release in MPLABX.
 
Thanks,
Sudheer
#2
Jump to:
© 2019 APG vNext Commercial Version 4.5