16F54 Reset Vector

(instructions, reset, WDT, specifications...) PIC10F2xx, PIC12F5xx, PIC16F5x

16F54 Reset Vector

Postby CaliforniaSlacker » Thu Jul 08, 2021 5:03 pm

Why is the reset vector address 0x1FF?

ORG 0x1FF

Thanks!
CaliforniaSlacker
 
Posts: 21
Joined: Mon Feb 19, 2018 8:01 am

Re: 16F54 Reset Vector

Postby AussieSusan » Fri Jul 09, 2021 4:03 am

By design.
The PC is reset to all '1's on reset.
The data sheet has all of this information in it.
Susan
AussieSusan
Verified identity
 
Posts: 173
Joined: Mon Jun 16, 2014 4:45 am
PIC experience: Experienced Hobbyist

Re: 16F54 Reset Vector

Postby CaliforniaSlacker » Fri Jul 09, 2021 8:09 pm

Thank you Susan

Good answer

Have another Baseline PIC question.

On the 10F200 datasheet there are the 202 204 and 206 too.

While they do add memory.

They also add a comparator.

Why are comparators important?

Thanks!

Bob
CaliforniaSlacker
 
Posts: 21
Joined: Mon Feb 19, 2018 8:01 am

Re: 16F54 Reset Vector

Postby AussieSusan » Mon Jul 12, 2021 3:48 am

They are not if you don't want to use them.
However if you are (lets say) wanting to build a monitor for a battery and to know then it falls below some preset value, then the comparator will be useful for that. Basically it is used to compare two voltages and tells when one is above the other. What you use that information for is up to you.
Susan
AussieSusan
Verified identity
 
Posts: 173
Joined: Mon Jun 16, 2014 4:45 am
PIC experience: Experienced Hobbyist

Re: 16F54 Reset Vector

Postby CaliforniaSlacker » Mon Jul 12, 2021 6:03 am

Thank you Susan

Good answer.

Thanks again.

Bob
CaliforniaSlacker
 
Posts: 21
Joined: Mon Feb 19, 2018 8:01 am


Return to 12-Bit Core

Who is online

Users browsing this forum: No registered users and 6 guests

cron