Config Bits and Reading/Writing

Topics related to the Dataman 48Pro2
BrooksCircuitSpecialists
Posts: 9
Joined: 08 Dec 2020 01:56

Config Bits and Reading/Writing

Postby BrooksCircuitSpecialists » 05 Feb 2021 18:40

Hello,

I have a few different IC's that have config bit options like WDT, Oscillator Timer, etc
Ex. PIC16C62A or ST7FMC2S4T

Usually I just grab a working system and read the ICs and then simply save them for future instances where a processor may've taken damage.

When that time comes, how do I know that the CONFIG bits will be written to the new future IC's properly?

Do I need to do something when reading my initial master IC so that the original CONFIG bits will be a part of the IntelHex file?

If I simply copy the prog memory and then program that to new IC's, the unit will not run properly if those config bits are different, most likely.

Appreciate your wisdom and thank you in advance!

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

Re: Config Bits and Reading/Writing

Postby Dataman (Neil Parker) » 08 Feb 2021 11:00

Hello BrooksCircuitSpecialists,

> When that time comes, how do I know that the CONFIG bits will be written to the new future IC's properly?

When you read a device with configuration options (as long as it is not protected) the config. settings will be read into our software and can be seen in the "View/Edit Config. bits and ID locations" dialog. This can be save to a project file which will include the program data and config. bits.
Capture1.PNG
Capture1.PNG (7.42 KiB) Viewed 3592 times
> Do I need to do something when reading my initial master IC so that the original CONFIG bits will be a part of the IntelHex file?

Not when reading the master, but when programming the new device you will need to make sure you check the "Configuration bits" option in the "Device operation options" dialog:
Capture.PNG
Capture.PNG (9.62 KiB) Viewed 3592 times
I hope this helps but if you have any further questions please do not hesitate to contact us.

Best regards,

Neil Parker
Dataman Programmers

BrooksCircuitSpecialists
Posts: 9
Joined: 08 Dec 2020 01:56

Re: Config Bits and Reading/Writing

Postby BrooksCircuitSpecialists » 08 Feb 2021 18:05

Hey Neil, thank you for the fast reply.

This answers all of my questions perfectly, thank you!

BrooksCircuitSpecialists
Posts: 9
Joined: 08 Dec 2020 01:56

Re: Config Bits and Reading/Writing

Postby BrooksCircuitSpecialists » 09 Feb 2021 19:50

Hey Neil,

Last question, will the buffer file (Save Buffer to File F2) include the config bits when I save, or only if I save the project file?

Respectfully

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

Re: Config Bits and Reading/Writing

Postby Dataman (Neil Parker) » 10 Feb 2021 09:07

Hello BrooksCircuitSpecialists

The configuration will only be saved as part of a project file.

Regards,


Neil Parker
Dataman Programmers


Return to “Dataman 48Pro2”

Who is online

Users browsing this forum: No registered users and 6 guests