PDA

View Full Version : PIC Suggestions



Tobias
- 21st July 2007, 22:10
I am new to the PIC world. I am developing an application that requires one digital input and one digital output. I would like the PIC to be ICD ready. The code is 350 words. What PIC would fulfil my needs? Any input is greatly appreciated. I looked on microchip but there are soo many options I thought I would rather ask for guidance than buy three or four chips to find what I need.

Darrel Taylor
- 22nd July 2007, 01:16
12F629 will do the job for cheap.

But it depends on what you mean by "ICD ready".

_

Tobias
- 22nd July 2007, 02:39
I see that some PICS don't have the In-Circuit-Debug functionality. Ideally I would like to keep this feature. Thanks for the advice.

Darrel Taylor
- 22nd July 2007, 03:16
With 1 digital input, and 1 digital output, I doubt that you'll really have a need for In-Circuit-Debugging.

However, with that said,... ICD comes in several different forms.

There's the ICD2 programmer/debugger and it's various Cloned versions found on eBay. They only work with MPLAB from Microchip.
MPLAB also has a simulator built in so for some things, you don't even need to have hardware connected.

Then there's the In-Circuit-Debugger that comes with Microcode Studio Plus, which only works with PIC chips that have a USART onboard, and assumes you are using PicBasic Pro.

Other simple debugging techniques can be applied to any PIC by using the ON DEBUG GOTO command in PBP.

So, I guess it comes back to ... it depends on what you mean by "ICD ready".

Tobias
- 22nd July 2007, 16:34
Thanks for the input. I ordered the 12f629. MELabs is out of stock for their 8/14 Pin SN/SL Adapter. Do you know of anyone else that sells this part?
Thanks
Toby

Darrel Taylor
- 23rd July 2007, 02:41
Bruce has them.
http://www.rentron.com/PicBasic/products/ADAPTERS.htm

f5bqp
- 5th January 2008, 20:18
Can you confirm that the In-Circuit-Debug functionnality of MicroCode Studio Plus works ONLY with PIC having an internal USART?
If yes I assume that the code of application inside the PIC must not use the hardware USART, am I right?
I'm starting to build an application that needs absolutely to use the USART to talk to an external equipment. Does that mean I'll not be able to use the MCSP In-Circuit-Debug capabilities?

pf

Darrel Taylor
- 5th January 2008, 22:00
Can you confirm that the In-Circuit-Debug functionnality of MicroCode Studio Plus works ONLY with PIC having an internal USART?
Yes.


If yes I assume that the code of application inside the PIC must not use the hardware USART, am I right?
No.
You can send data using HSEROUT while debugging.
It will be displayed in the Output window of the debugger.


I'm starting to build an application that needs absolutely to use the USART to talk to an external equipment. Does that mean I'll not be able to use the MCSP In-Circuit-Debug capabilities?
Yes!
Unless you have a PIC with 2 USARTS?
_

f5bqp
- 6th January 2008, 04:30
Hi Darrel,

This is what I was assuming, I made som search to find a PIC with 2 UART but could not find one, do you know one like the 16F877A or better the 18F452 and having two UART?
This would help...

Many thanks
pf
F5BQP
(Pierre-François)

Darrel Taylor
- 6th January 2008, 18:11
do you know one like the 16F877A or better the 18F452 and having two UART?
Nothing like the 877 or 452.

And the only ones that'll work with the MCS+ ICD are 18F6620, 18F8620.

But here's a complete list of pics with 2 USARTS.
17C752
17C756
17C756A
17C762
17C766
18F6310
18F6390
18F63J11
18F63J90
18F6410
18F6490
18F64J11
18F64J90
18F6520
18F6525
18F6527
18F65J10
18F65J11
18F65J15
18F65J50
18F65J90
18F6620
18F6621
18F6622
18F6627
18F66J10
18F66J11
18F66J15
18F66J16
18F66J50
18F66J55
18F6720
18F6722
18F67J10
18F67J11
18F67J50
18F8310
18F8390
18F83J11
18F83J90
18F8410
18F8490
18F84J11
18F84J90
18F8520
18F8525
18F8527
18F85J10
18F85J11
18F85J15
18F85J50
18F85J90
18F8620
18F8621
18F8622
18F8627
18F86J10
18F86J11
18F86J15
18F86J16
18F86J50
18F86J55
18F86J60
18F86J65
18F8720
18F8722
18F87J10
18F87J11
18F87J50
18F87J60
18F96J60
18F96J65
18F97J60

f5bqp
- 7th January 2008, 06:04
Thanks Darrel, I'll investigate this, probably I'll use a PICPROTO80 for the design:

http://www.melabs.com/products/picproto/40+pproto.htm

It'll simplify the development phase...

pf