ATMega 8 to microchip

Status
Not open for further replies.

Ricardoco

New Member
Hi ive been given some source for an atmega 8 and i would like to know if there is an easy way to convert the code for use on the microchip range of products, Any ideas?
 
Ricardoco said:
Hi ive been given some source for an atmega 8 and i would like to know if there is an easy way to convert the code for use on the microchip range of products, Any ideas?

Just a guess : converting ASM code would be quite a challenge, while C (or even BASIC?) would easily port... using your brain There might be tools to automate the process, but would they be reliable?...
 
Given that the hardware resources are different, if the code uses hardware resources the whole solution may not be applicable even if it were changed to equivalent instructions. For example if the code needs 2 timers with arbitrary periods, PIC can only write an arbitrary period for TMR2, so you'd have to rethink the solution.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…