Page 1 of 1

ATMega replacign the 8051 in M16_24 project?

Posted: Sun Mar 28, 2010 5:41 am
by Aion
Hi All,

Is it easy to replace the 8051 uC with an ATMega uC in the mixer M16_24 project?

Could you give an example of the C code for the ATMega, loading the source *.h file generated by the Spin assembler to the ATMega Flash memory?


Thank you for help in advance.

Posted: Sun Mar 28, 2010 10:21 am
by frank
Sorry , that is a completely different micro with a different structure, assembly language, etc. We've never programmed for it so not able to provide code for it.

Posted: Sun Mar 28, 2010 1:46 pm
by Aion
OK, thank you. Is there more detailed information how it is done with the 8051? Knowing the C code for the 8051 it would be easier to implement that with an AVR. I am poor in the 8051 assembly language.

Posted: Sun Mar 28, 2010 2:51 pm
by frank
Sorry, we tend to write directly in assembly in 8051 so no C code. The FV1_V1.asm is the main program and has lots of comments so best to start there.

Posted: Mon Mar 29, 2010 8:53 am
by Aion
Thank you. I will try to analyze the assembly code.