Hi, I have developed a firmware with P80C32SBAA controller with external ROM AT27C512R. Now i want to migrate to AT80C51RD2. I observed Pin to Pin configuration are same in both controllers. I replaced P80C32SBAA with AT80C51RD2, but the firmware is not working. Is there any configuration settings to be changed? firmware was developed in KEIL Uvision4 IDE.
Thank you, Ramesh Chand S
I do not know thw P80C32SBAA, but for the AT80C51RD2 you need to configure the memory in startup when using external memory
Hi Eric, Thank you for the reply. Can you suggest me the configuration for AT80C51RD2 when we use external ROM
Hi Eric,
For your information , P80C32SBAA is a ROM less controller. In Keil IDE i have selected the AT80C51RD2 Device and build the code. The device is working fine with P80C32SBAA without any changes made in start up file, when i try with AT80C51RD2 device is not responding.
Device connected with stepper motor and seven segment display.
Stepper motor is connected directly to GPIO of the controller. Seven Segment display is connected using Memory Map.
Findings:
When i used P80C32SBAA Revision number is observed on Seven segment display and motor rotates at start up, whereas with AT80C51RD2 Motor is rotating but Seven segment display all segments are High.
I'm sure there is memory mismatch but not able figure out.
Please help me to get through.
Can you suggest me the configuration for AT80C51RD2 when we use external ROM
it's in the datasheet
configure the memory interface as per the datasheet