Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Migration Hi-Tech code to C18

Status
Not open for further replies.

tectona

Member level 2
Joined
Mar 24, 2006
Messages
53
Helped
4
Reputation
8
Reaction score
0
Trophy points
1,286
Activity points
1,602
Hi all,

I need ur help for migration.

I have written my code in Hi-Tech PICC18 c compiler.

Now because of some issues with Hi-Tech c compiler, I want to migrate my code in PIC C18 c compiler.

Plz, give me common take care points so i migrate my code efficiently into C18 compiler.

Thanks & Regards
Tectona
 

Hi,

You can read the manual of C18, and be aware of the C18 compiler specifics such as include and linker files, as well as available libraries in C18.
 

Hi,

Thanks for ur kind reply.

I required information which not mention in data sheet but gain through experience.

I read manual of C18 but there some issues when we migrate any code , like timing & some limitation of that compiler also.

This information not mention in compiler but this information got from who already work on that compiler.

So , i need ur help !!!

Regards
Tectona
 

There is a straitforward conversion, but you have to take care at least for followings:
1. Interrupt routines for high/low priority synthax (check code examples on microchip forum)
2. pin identifiing (for example RAx is changed into PORTAbits.RAx)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top