Discussion in "Project Help" started by    bask185    Sep 25, 2017.
Mon Sep 25 2017, 12:08 pm
I might have a difficult question.

At work we build machine which are controlled by an FPGA chip. This chip has certain firmware which lets it think it is a 80c51 microcontroller.

The program, a .bin file, gets loaded on a CF card and the FPGA's firmware can run this program. Currently these chips are still being programmed in assembly and now I am going to program them in C.

A standard 80C51 has 4 IO ports. Our FPGA has 8 or 10. So I asked the assembly programmer for the adresses and I updated the header file accordingly (I hope).

The reason why I am here is the following: I noticed that there were no references to port P4 and P5. This is because the assembly guy uses a certain header file for a 80c537 chip. Even though his program is compiled for a 80C51.

The thing is that I cannot find this chip in 8051 IDE. And before I go look up the adresses in the datasheet, I thought it might be clever to ask around here first.

Besides the extra I/O ports, there are more features in the FPGA chip like extra timers and interrupts and such. I am essentially missing everything what a 80C537 has more than a 80C51. So I am looking for a header file for a 80C537 chip and I was hoping somebody here can point me in a direction.

I managed to get it al working. I looked up the datasheet of the 80c537 and I got it working surprisingly fast.

[ Edited Mon Sep 25 2017, 03:49 pm ]
Tue Sep 26 2017, 02:50 am
Happy to hear you got it sorted.
Glad we could help

Get Social


Powered by e107 Forum System



Mon Feb 26 2024, 03:25 am
Sun Feb 25 2024, 04:14 pm
Sun Feb 25 2024, 10:21 am
Sun Feb 25 2024, 04:59 am
Sat Feb 24 2024, 05:15 pm
Sat Feb 24 2024, 01:56 pm
Sat Feb 24 2024, 10:53 am
Sat Feb 24 2024, 10:39 am