CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

PIC12 development (pin replacement in debugging)

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Jeff King



Joined: 20 Oct 2003
Posts: 43
Location: Hillsdale, Michigan USA

View user's profile Send private message Send e-mail Visit poster's website

PIC12 development (pin replacement in debugging)
PostPosted: Tue Oct 27, 2015 9:35 pm     Reply with quote

Wanting to do some development with the PIC12F1572 series of parts. Of the 6 pins 3 are taken up with the ICSD.

Is there a comparable part one might use to debug on to get back the missing pins? I know microchip has a few pin expansion debug headers but none for this one.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Oct 28, 2015 1:22 am     Reply with quote

Use this tool:
https://www.microchip.com/maps/microcontroller.aspx
At the top, select the tick boxes for 8-bit and current. Deselect the others.

Then scroll down to the Digital Peripherals section and set PWM Res (bits)
to 16, and set PWM Chan to 3. Do this in the left column.

For the results, I get the two 12F parts and several from the 16F17xx series.
Jeff King



Joined: 20 Oct 2003
Posts: 43
Location: Hillsdale, Michigan USA

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Wed Oct 28, 2015 2:09 am     Reply with quote

Thank you
Ttelmah



Joined: 11 Mar 2010
Posts: 19553

View user's profile Send private message

PostPosted: Wed Oct 28, 2015 3:42 am     Reply with quote

Have you also considered just asking MicroChip?.
In the past when working on reasonably 'new' chips, I've found they have debug versions available as a chip, but not yet manufactured into headers. They are normally identical dies to the standard chips, with extra legs bought out (they are even 'seen' as the standard chip, by programmers etc.).
Jeff King



Joined: 20 Oct 2003
Posts: 43
Location: Hillsdale, Michigan USA

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Wed Oct 28, 2015 9:28 am     Reply with quote

Ttelmah wrote:
Have you also considered just asking MicroChip?.


I did 2 days ago, no answer which is typical. I saw other debug chips (for the 508 for example) on the MC store but none for the part in question.

While a true debug chip would have been ideal, I can work with the answer PCM programmer gave me since the peripheral set and clock speed are either similar or identical.

If I hear back from MC I'll update the thread.

Thanks
Ttelmah



Joined: 11 Mar 2010
Posts: 19553

View user's profile Send private message

PostPosted: Wed Oct 28, 2015 9:46 am     Reply with quote

What did you actually ask 'for'?.
Generally these are 'debug devices', so somebody looking for a 'header', won't get the answer they want.

Haven't you got a technical support number to actually call MicroChip?. In the UK, they are very good.
Jeff King



Joined: 20 Oct 2003
Posts: 43
Location: Hillsdale, Michigan USA

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Wed Oct 28, 2015 11:44 pm     Reply with quote

Ttelmah wrote:
What did you actually ask 'for'?.


Please see my question above and the answer PCMProgrammer provided. The parts I need are on the way.

Quote:
Haven't you got a technical support number to actually call MicroChip?. In the UK, they are very good.


That's good to hear. Wading through voice mail prompts at corporate headquarters and waiting for return calls is not generally a good use of my time. I have a good relationship with my local rep but he always doesn't get back to me in a timely fashion. Was there an issue asking here? I've been on this forum 10+ years and have put out multiple CCS compiled products but don't post much (almost always a search turns up the answer I seek), but since the question hadn't been asked, not only did it help me, but hopefully seeded the search engine in case someone in the future has a similar question.
Ttelmah



Joined: 11 Mar 2010
Posts: 19553

View user's profile Send private message

PostPosted: Thu Oct 29, 2015 12:45 am     Reply with quote

No problem at all, but debugging with a different chip is always going to leave some problems. A real debugger for the real chip is (obviously) going to be much better, and I wanted to make sure that you had tried to source this first. The reason I'm so sure these will exist (even if MicroChip don't list them), was I was told by MicroChip a while ago, that they always produce the dies for these 'in house', as part of the initial development of the chip. I was supplied bare dies when I asked for these on another chip, before the real chip even existed. However they did know we had the ability to make the connections to these....
Jeff King



Joined: 20 Oct 2003
Posts: 43
Location: Hillsdale, Michigan USA

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Thu Oct 29, 2015 12:47 am     Reply with quote

Good point. I'm adverse to using the phone but will call my rep up.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group