PIC17C42A to PIC17C44

(instructions, reset, WDT, specifications...) PIC17Cxx, PIC18Fxxx

PIC17C42A to PIC17C44

Postby perdrix » Wed Nov 24, 2021 1:34 pm

I have some code for the PIC17C42A, but I can't get them right now or for the foreseeable future.

I have managed to get some PIC17C44 parts.

I thought that code for PIC17C42A should run unchanged on the PIC17C44.

I re-compiled the code for PIC17C44 changing:

Code: Select all
   list   p=17c42a
   include   <P17c42a.inc>


to

Code: Select all
   list   p=17c44
   include   <P17c44.inc>


and the output hex file was identical.

However when I programmed a 17C44 it didn't work :( It's possible of course that the chip was bad, but I'm loath to burn more of these OTP parts as I only have a limited stock.

I've spent a long time looking at the datasheet and don't understand why it didn't, because unless I missed something the pin-out is identical. Are there some crucial parts of the memory map (e.g. interrupt vectors) that are different?

Can someone who knows these parts better than I give me some guidance.
perdrix
 
Posts: 4
Joined: Wed Nov 24, 2021 1:17 pm

Re: PIC17C42A to PIC17C44

Postby perdrix » Thu Nov 25, 2021 3:31 pm

It was a simple error - I needed to set the config bits!!! Now works fine!
perdrix
 
Posts: 4
Joined: Wed Nov 24, 2021 1:17 pm

Re: PIC17C42A to PIC17C44

Postby ric » Thu Nov 25, 2021 8:50 pm

Well done to track it down yourself.
Plainly this is related to the discussion at https://www.microchip.com/forums/m1192298.aspx
Latest test project, an LED matrix display made from one reel of addressable LEDs. here
User avatar
ric
Verified identity
 
Posts: 659
Joined: Sat May 24, 2014 2:35 pm
Location: Melbourne, Australia
PIC experience: Professional 5+ years with MCHP products

Re: PIC17C42A to PIC17C44

Postby perdrix » Thu Nov 25, 2021 9:06 pm

Yes, absolutely correct :)

David
perdrix
 
Posts: 4
Joined: Wed Nov 24, 2021 1:17 pm


Return to 16-Bit Core

Who is online

Users browsing this forum: No registered users and 10 guests

cron