??? 05/06/05 15:52 Read: times |
#93083 - 87C52 startup ?? |
Hi
This is my first attempt at designing a microcontroller based application and I'm having a problem getting the 87C52 mpu up and running. My design approach is to have all code located in a external 32k memory. I have tied the EA pin high to enable the external fetch in all cases. I'm using the SDCC compiler and have written a simple C program as a test which is simply intended to flash a LED which I have connected to a 8255 output pin. This program works on a 8051 development board I have purchased so I'm fairly sure that there is no problem with the code itself. Not enough space to show here. My question is should I expect this program to run without some other software initialization of the 87C52 chip. (Obviously I'm unware of what this might be if needed) As info I am using the following command line to invoke the SDCC compiler. sdcc --code-loc 0x0000 --stack-after-data --xram-loc 0x8000 -I c:sdccinclude J1.c Thanks |
Topic | Author | Date |
87C52 startup ?? | 01/01/70 00:00 | |
it is NOT EA | 01/01/70 00:00 | |
87C52 startup $ | 01/01/70 00:00 | |
if you do right, you can safely think wr | 01/01/70 00:00 | |
87C52 startup $ | 01/01/70 00:00 | |
This is garbage | 01/01/70 00:00 | |
87C52 startup $ | 01/01/70 00:00 | |
makes total sense | 01/01/70 00:00 | |
NOW | 01/01/70 00:00 | |
Err. | 01/01/70 00:00 | |
neither do we | 01/01/70 00:00 | |
so how is it linked then ? | 01/01/70 00:00 | |
it is usually in a library | 01/01/70 00:00 | |
87C52 startup $ | 01/01/70 00:00 | |
87C52 startup $ | 01/01/70 00:00 | |
What's the app called ? | 01/01/70 00:00 | |
sdcc call![]() | 01/01/70 00:00 |