Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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.

New Articles From Microcontroller Tips

Back
Top