Discussion in "Project Help" started by    bask185    Sep 25, 2017.
Mon Sep 25 2017, 12:08 pm
#1
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.

Edit:
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
#2
Happy to hear you got it sorted.
Glad we could help

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Robytv
Mon Feb 26 2024, 03:25 am
RobertTog
Sun Feb 25 2024, 04:14 pm
Myronped
Sun Feb 25 2024, 10:21 am
Matthewdyeta
Sun Feb 25 2024, 04:59 am
Victorral
Sat Feb 24 2024, 05:15 pm
settift
Sat Feb 24 2024, 01:56 pm
Antoniovyj
Sat Feb 24 2024, 10:53 am
Serjvofe
Sat Feb 24 2024, 10:39 am