S6 - PIC12F629 Original hex different than written hex?

Topics related to the Dataman S6
mektrix5000
Posts: 18
Joined: 15 Apr 2020 17:19

S6 - PIC12F629 Original hex different than written hex?

Postby mektrix5000 » 30 Nov 2024 22:29

Hello,

I'm attempting to write a hex file using the S6 program PIC12F629(DIP8). The written CRC hex file doesn't match the original hex file. I noticed the original hex file contains FFFF in the unwritten/empty fields but the written hex contains 3FFF instead. Attached screenshots of the hex views from Dataman and the log file.

The programmed PIC isn't running correctly so I want to eliminate this as being a potential issue. I've used the same programmer and PIC12F529 Device / Project on other hex files so I'm not sure if there is something i need to edit on this particular hex file. I would've attached the hex file to this post but the forum doesn't allow the *.hex file extension. :)

Thank you in advance, cheers.
Attachments
log_ss.jpg
writtenhex.jpg
originalhex.jpg

Dataman (Neil Parker)
Posts: 966
Joined: 10 Nov 2011 09:51

Re: S6 - PIC12F629 Original hex different than written hex?

Postby Dataman (Neil Parker) » 02 Dec 2024 09:22

Hello mektrix5000,

The values seen in the buffer are the default blank states of the two devices based on their organisation:

PIC12F629
Organisation: 400h (x14 bit)
Default blank state: 3FFF

PIC12F529
Organisation: 600h (x12 bit)
Default blank state: 0FFF

In general, when working with PIC devices it is a good idea to read a blank device into the buffer before loading your hex file. This way any gaps in your file will have the correct blank state in the buffer.
Best regards,

Neil Parker
Dataman Programmers

mektrix5000
Posts: 18
Joined: 15 Apr 2020 17:19

Re: S6 - PIC12F629 Original hex different than written hex?

Postby mektrix5000 » 02 Dec 2024 16:24

Hello Neil,

Thank you very much for the reply with that helpful information. I'll try that method and report back with my findings.


Return to “Dataman S6”

Who is online

Users browsing this forum: No registered users and 1 guest