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

sahar7478
Fri Dec 08 2017, 12:47 PM
can i get gsm a6 library? can anybody help? tia
Faiqa
Sat Nov 25 2017, 08:32 AM
Can i get the code of Monitering and controlling of green house effect? ... Can anyone help me ?
Wed Nov 08 2017, 01:35 PM
Anirudh jain
I want to burn code in atmel 89s51 24pc 0329 but cannot get the connection with the burner. Can somebody provide me with the circuit diagram for connecting controller to burner. I'm using usb burner
Thu Nov 02 2017, 11:44 AM
karpal
write a program to exchange the content of b register with external RAM address 02CFH help me
Wed Nov 01 2017, 05:47 PM
sanae
i am using the DHT11 but i'm getting some errors in the simulate the programe in proteus 8 professional,: 1)cannot find model file 'DHTXX.MDF'.2)simulation failed due to netlist linker error(s).
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

Downloads

Comments

roopay
Wed Dec 13 2017, 07:11 AM
janvimandeep
Mon Dec 11 2017, 01:05 PM
fernanmonroy2
Mon Dec 11 2017, 08:33 AM
sahar7478
Fri Dec 08 2017, 12:34 PM
zhudao
Tue Dec 05 2017, 06:14 AM
chetan6379
Sat Dec 02 2017, 03:42 PM
HaloSpartanOdst
Fri Dec 01 2017, 12:05 PM
workzone
Sat Nov 25 2017, 01:13 PM

Online

Guests: 90, Members: 0 ...

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

Members: 37928
Newest member: roopay
Forum Activity
fernanmonroy2 Avatar
Posted By fernanmonroy2
Mon Dec 11 2017, 08:40 AM
Que significa que el contador de programa abordar...
zhudao Avatar
Posted By zhudao
Wed Dec 06 2017, 03:08 AM
I think either your 120 - 5 volt adapter, or the L...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Dec 05 2017, 08:12 PM
I think either your 120 - 5 volt adapter, or the L...
zhudao Avatar
Posted By zhudao
Tue Dec 05 2017, 06:41 AM
Hi to all, in the period time I'm doing an project...
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon Nov 20 2017, 10:18 PM
Here is a version of the tutorial that reads a key...
Ansh12 Avatar
Posted By Ansh12
Mon Nov 20 2017, 02:15 AM
As a starting point, can you tell us how much of t...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sun Nov 19 2017, 08:35 PM
As a starting point, can you tell us how much of t...
Ansh12 Avatar
Posted By Ansh12
Fri Nov 17 2017, 04:07 AM
I am looking keypad interfacing program. I was rea...
JardCrocker Avatar
Posted By JardCrocker
Wed Nov 08 2017, 05:29 PM
Hi...i am a new user here. I was also facing the s...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Nov 07 2017, 07:13 PM
> It employs a fairly advanced technique to detect...