Hi,
I would like to know if i can integrate my software developped for 8051 (P89C51RD2) into ARM ?
And the second question : what is differents between FPGA and ARM?
Thanks. Bye.
"I would like to know if i can integrate my software developped for 8051 (P89C51RD2) into ARM ?"
Well, it's your software - so, surely, you must be the best one to judge how easy or hard it will be to port it!
Did you write it in a clean, modular, portable fashion?
Did you take care to keep all specific 8051-dependencies (including tool dependencies) well-defined and isolated?
The OP posted too little information for us to know what is relevant.
8051 assembly instructions are very easy to emulate in a 32-bit processor. But a 8051 program normally spends quite a lot of time (or instructions) handling different peripherials that will not map well to the ARM chip.
If the 8051 program is written in C, then the usable parts should be reasonably easy to port to a native ARM program. And the mappings for reading/writing pins or using UART etc has to be rewritten anyway.
8051 emulator on an ARM softcore in an FPGA! That just yells out "I'M DOING IT WRONG!!" but it might be worth a giggle.
And advanced programmable logic can implement processor cores.
Can you simulate 8051 architecture into ARM and FPGA?
FPGA is a type of programmable logic device, ARM is a processor architecture.
Write a 8051 simulator.
Or port the code.
View all questions in Keil forum