Jump to content
Sign in to follow this  
nschlen

supported processors

Recommended Posts

Guest Pavel
Can I develop code for processors such as 12F629/675.

This is not listed in the available targets can I add it or modify and existing target?

Both 12F629/675 are supported by the compiler and you can compile and assemble code for these processors (look more carefully into the target selection list). Built-in simulator will not work with them though as it supports only 14-bit core targets.

 

Regards,

Pavel

Share this post


Link to post
Share on other sites

Pavel, I would recheck those processors again they are in fact 14bit cores that has a great dev kit for $35 from digi-key.

It is the Microchip PICkit1 flash.  It will program via usb 8 and 14 pin chips.

In fact this is the only pic kit that I do have.  For the most part I use the SX chips.

 

You can actually use the PIC16F630/676 to do testing right now since they are just extended 14 pin versions of the 629/675.  You may just want to rename the ra0 to ra5 to gpio0 to gpio5 in a header file.

 

Data from Microchips pdf on the processors.

41186b.pdf

The PIC12F629/675 microcontroller products merge

all the advantages of the mid-range x14 architecture

and the flexibility of FLASH program memory into an

8-pin package. The PIC12F6XX devices feature a 14-

bit instruction set, small footprint package, and a

wide operating voltage of 2.0 – 5.5 volts. In addition,

these devices offer an internal programmable 4 MHz

oscillator, on-board EEPROM Data Memory, on-chip

voltage reference and up to 4 channels of 10-bit A/D.

These 8-pin microcontrollers provide the features and

intelligence not previously available due to cost and

board space limitations. With the flexibility of FLASH

and an excellent development tool suite including a

low cost In-Circuit Debugger (ICD), In-Circuit Serial

Programming™ (ICSP™) and full ICE 2000 emulation,

these devices are ideal for just about any embedded

control application.

Share this post


Link to post
Share on other sites

Forgive me if this is a repost.

Pavel, check your data this is a 14bit processor

 

Taken from microchips pdf 41186b.pdf

The PIC12F629/675 microcontroller products merge

all the advantages of the mid-range x14 architecture

and the flexibility of FLASH program memory into an

8-pin package. The PIC12F6XX devices feature a 14-

bit instruction set, small footprint package, and a

wide operating voltage of 2.0 – 5.5 volts.

 

You could use the PIC16F630/676 and just write a header file so that gpio0-5 are recognized since they are called ra0-5 on this chip.  Exactly the same chip except for naming conventions and pin count.  

 

I have the PICkit1 flash that I purchased from digikey for $35.  Actually this is the only pic programmer that I have and for the most part I use the SX chips.

Share this post


Link to post
Share on other sites
Guest Pavel
You can actually use the PIC16F630/676 to do testing right now since they are just extended 14 pin versions of the 629/675.  You may just want to rename the ra0 to ra5 to gpio0 to gpio5 in a header file.

If that's the case you don't need to wait for me. To be able to use SourceBust debugger with a new target you need to create a .TDF file for this target. Since 629/675 are very close to 16F630/676 (that are already supported) you can use pic16f630.tdf as a template for new configuration. The methodology to add support for a new target is:

 

 

[*]create a .TDF file that has the name of the target (in this case copy pic16f630.tdf into pic12f629.tdf and do necessary corrections there like changing ra0 and gpio0 that you mentioned in your message)

 

[*]add a line to map.txt that maps part name to the .TDF file (like: PIC12F629 "PIC12F629.TDF")

 

Regards,

Pavel

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...