electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

Is it possible to migrate code of Pic16C711 to ->?


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> Is it possible to migrate code of Pic16C711 to ->?
Author Message
Analyzer



Joined: 18 Nov 2001
Posts: 414


Post10 Feb 2004 8:06   

Is it possible to migrate code of Pic16C711 to ->?


Hi there,

I have a complete pic project using 16C711 (also source code in asm).But there is a very big problem with it.I can not find 16C711 in my country.I also dont wanna order from any other country.Is there a way to migrate asm code to any other common mcu's like 16F628(A) of 16F84(A)? If so what should i modify in my code?
Thanks in advance.

Analyzer.
Back to top
C-Man



Joined: 19 Jul 2001
Posts: 1235
Helped: 73


Post10 Feb 2004 9:26   

Re: Is it possible to migrate code of Pic16C711 to ->?


I see nothing special when i look at the datasheet of 16c711 except that it has a 4 channel 8 bit adc which neither 16f628 nor 16f84 has.

If your application does not need the adc either 16f628 (2K codespace) or 16f84 (1K codespace) should be able to replace your 16f711.

Maybe you can post the project here so that we can take a look at it ...

best regards
Back to top
Analyzer



Joined: 18 Nov 2001
Posts: 414


Post10 Feb 2004 10:12   


Sure,

The project even does not use RA ports as adc only buttons.(of course neither adc function). Here is the link of project :

http://dt.prohosting.com/pic/vidclock.html

It is a video overlayer.It has asm code in it.So how can i replace its mcu to 628?

Analyzer.


Last edited by Analyzer on 10 Feb 2004 10:58; edited 1 time in total
Back to top
Google
AdSense
Google Adsense




Post10 Feb 2004 10:12   

Ads




Back to top
C-Man



Joined: 19 Jul 2001
Posts: 1235
Helped: 73


Post10 Feb 2004 10:27   

Re: Is it possible to migrate code of Pic16C711 to ->?


As the design uses an 16 (or 18?) Mhz clock i would recommend using a 16f628.

Do not forget to switch off the comperator module in the 16f628 (is on by default), this will require a small modification of the sourcecode.

hope this helps
Back to top
Analyzer



Joined: 18 Nov 2001
Posts: 414


Post12 Feb 2004 8:58   


So, I should only turn off comparator in source code and recompile it.That's it? Am i right?

Analyzer
Back to top
C-Man



Joined: 19 Jul 2001
Posts: 1235
Helped: 73


Post12 Feb 2004 9:39   

Re: Is it possible to migrate code of Pic16C711 to ->?


Yes I would recommend that as a start, also look at the fuse settings and disable LVP and Debug.

best regards
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> Is it possible to migrate code of Pic16C711 to ->?
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
any tools to migrate Asm51 to C code?? (1)
Programing pic16c711 (3)
FLASH ver for PIC16C711 (1)
Is PIC16C71 can be replace by PIC16C711 or PIC16F716 ? (3)
DEBUG THIS CODE...IF POSSIBLE (11)
is it possible to write a verilog code for DCO? (2)
Virtuoso Layout Migrate (1)
it's possible to implement ADC code on DSP TMS320VC5416? (4)
Anyone know Virtuso Layout Migrate? (3)
Migrate project from Keil uVision3 to IAR EW (1)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS