External EPROM code error

Status
Not open for further replies.

DrWhoF

Advanced Member level 1
Joined
May 6, 2005
Messages
402
Helped
24
Reputation
48
Reaction score
11
Trophy points
1,298
Activity points
4,388
External EPROM code

If I run code only from external EPROM everything runs OK (87C52).
As soon as I burn code to internal OTP and leave look-up tables in external EPROM (outside internal memory area), so they can be changed without changing the CPU code, nothing works anymore.
What is the reason?
Thanks.
DrWho
 

Re: External EPROM code

If the code is executed correctly from external EPROM then the problem most likely lays in the hardware ..
My guess is that you may have problem with pullups on Port 0 ..
Try to connect 10kΩ pullups on this Port and see how it goes ..

Regards,
IanP
 

    DrWhoF

    Points: 2
    Helpful Answer Positive Rating
External EPROM code

Did you set the security fuses?
Some derivatives prevent external code memory access when all the fuses are on.
Just a guess.

wek
 

    DrWhoF

    Points: 2
    Helpful Answer Positive Rating
Re: External EPROM code

I tried with the security bits but it didn't make any difference.
As soon as I fitted 10kΩ pullups on port 0 circuit started to work again.
Thanks very, very much.
How did you know that?
DrWho
 

Re: External EPROM code

Just a guess ..

Regards,
IanP
 

    DrWhoF

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…