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

Get Social

Information

Powered by e107 Forum System

Conversation

Fri Sep 29 2017, 02:45 AM
Maaz
i am doing the same project on verilog please contact me [email protected]
Wed Sep 20 2017, 12:36 AM
Ted
In a missing pulse detector using a 555 timer connected as a monostable vibrator with a PNP transistor,how does the positve input pulse turn on the PNP transistor?
Sun Sep 03 2017, 02:29 PM
martymarty
How do I connect an <NOKIA 1100 LCD > to an atmega328P ?
poojab51296
Sun Aug 20 2017, 10:23 AM
i am intending to interface sd card with STM32F4 and want to write a file in sd card using SPI protocol but using HAL only. Can anyone help me PLEASE!!!!
poojab51296
Sun Aug 20 2017, 10:22 AM
hello
rawat742
Fri Aug 18 2017, 11:37 AM
hi @ angel patel i will attach a file i hope it will be helpfull for you
ExperimenterUK
Mon Aug 14 2017, 09:57 PM
@ angel patel... just log in and post your problem
Mon Aug 14 2017, 01:45 PM
angel patel
hey any one help to make the led scrolling display
desuza6
Sat Jul 29 2017, 07:09 AM
I see the code for step motor h l 298 to rotate 45 degree, but all delay time, if I want to input sensor to h the pulses to stepmotor
rammichael
Thu Jul 27 2017, 12:05 PM
okay fine

Downloads

Comments

TinkeringJoe
Sun Oct 15 2017, 02:23 AM
Tubai96
Thu Oct 12 2017, 05:30 PM
roberttku
Thu Oct 12 2017, 08:02 AM
Bdavid.sam
Mon Oct 09 2017, 02:23 PM
SUNSHINE
Thu Oct 05 2017, 03:54 AM
Dogg4live77
Wed Oct 04 2017, 01:58 AM
RajeSH190295
Mon Oct 02 2017, 10:08 AM
Jatin2710
Tue Sep 26 2017, 01:37 PM

Online

Guests: 77, Members: 0 ...

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

Members: 37901
Newest member: TinkeringJoe
Forum Activity
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon Oct 16 2017, 11:44 PM
That looks complicated.Is 8051_BLK a standard 80...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sun Oct 15 2017, 07:29 PM
According to this, gmail should support POP3.https...
Help Avatar
Posted By Help
Sun Oct 15 2017, 03:21 AM
AT+POP3READ=? +POP3READ: (1-1460) OK AT+POP3READ=...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sat Oct 14 2017, 08:06 PM
What happens if you ask for the full email ieAT+PO...
Help Avatar
Posted By Help
Sat Oct 14 2017, 02:28 AM
Dear all, AT // OK // 3.1 Bearer profile // Conf...
ExperimenterUK Avatar
Posted By ExperimenterUK
Thu Oct 12 2017, 01:04 AM
I don't think the 0804 works as it should in Prote...
Bdavid.sam Avatar
Posted By Bdavid.sam
Wed Oct 11 2017, 01:54 AM
Are you simulating in Orcad ?Please post your cod...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Oct 10 2017, 09:43 PM
Are you simulating in Orcad ?Please post your cod...
Bdavid.sam Avatar
Posted By Bdavid.sam
Mon Oct 09 2017, 02:38 PM
Hello, This might be a beginner’s mistake but I a...
kira113 Avatar
Posted By kira113
Sun Oct 08 2017, 08:42 PM
https://drive.google.com/open?id=0B_IGcFftMx3fYV9V...