Discussion in "Project Help" started by    bask185    Sep 25, 2017.
Mon Sep 25 2017, 06:38 AM
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, 10:19 AM ]
Mon Sep 25 2017, 09:20 PM
Happy to hear you got it sorted.
Glad we could help

Get Social


Powered by e107 Forum System


Mon Dec 03 2018, 06:17 PM
Please post questions in the forum. The chat box is for chat
Mon Dec 03 2018, 07:43 AM
help! I don't understand busy flag!
Sun Dec 02 2018, 09:01 PM
Mon Nov 12 2018, 06:58 AM
i have seen your replica of I2C programming using AT89C51 but i am unable to understand the "ack_bit" variable usage ...looks like it is always 1...can you elaborate how acknowledgment is working....
Tue Nov 06 2018, 03:36 PM
kindly any one give solution for my problem
Mon Nov 05 2018, 10:48 PM
Pins high is the normal state. You need a program to set them low
Sun Nov 04 2018, 06:41 PM
hello, i am niranjoy, alll the port of my 8051 is always high, even i erase all the program. why is it so happen and what is the problem. any one please help me!
Sun Nov 04 2018, 03:16 PM
BASAVARAJ g kudamble
hi I am interfacing GSM 300 to 8051 microcontroller to receive message from mobile
Sat Sep 29 2018, 07:28 PM
Please post questions in the forum.
Sat Sep 29 2018, 12:26 PM
Ashfaq Ch
hi i have some AT89C51RC microcontrollers already programed. some one help us to how to download from AT89C51RC and after study and edit all corractions reload to AT89C51RC controller



Thu Dec 13 2018, 01:52 PM
Wed Dec 12 2018, 01:37 PM
Fri Dec 07 2018, 10:11 AM
Sun Dec 02 2018, 01:12 AM
Thu Nov 29 2018, 03:43 PM
Thu Nov 29 2018, 10:44 AM
Mon Nov 26 2018, 05:18 AM
Fri Nov 16 2018, 07:44 AM


Guests: 47, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38028
Newest member: mauste
Forum Activity
sifirsekiz Avatar
Posted By sifirsekiz
Thu Dec 13 2018, 04:31 PM
sifirsekiz Avatar
Posted By sifirsekiz
Wed Dec 12 2018, 01:50 PM
Hi guys I have max30100 pulse sensor need to measu...
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon Nov 19 2018, 01:11 AM
ExperimenterUK Avatar
Posted By ExperimenterUK
Thu Nov 15 2018, 06:48 PM
Unfortunately I have no experience of LabView,but ...
katherineamt Avatar
Posted By katherineamt
Mon Nov 12 2018, 03:22 PM
I have never used LabView and I have to implement ...
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon Nov 12 2018, 01:21 AM
wimac Avatar
Posted By wimac
Sun Nov 11 2018, 04:03 PM
bgk3678 Avatar
Posted By bgk3678
Sun Nov 11 2018, 07:25 AM
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Nov 06 2018, 06:10 PM
bgk3678 Avatar
Posted By bgk3678
Sun Nov 04 2018, 02:52 PM