Author Topic: Microcontroller Idea Book - PROG issue  (Read 1562 times)

mkjohnson84655

  • Member
  • ***
  • Posts: 2
Microcontroller Idea Book - PROG issue
« on: February 19, 2016, 07:34:23 pm »
Hi Jan..
Well I finally retired and can not pursue all my hobby's one of which is microcontrollers.
I've put off putting together your 8052 basic circuit until now.. lol
After bread boarding Figures 3-1 and 4-3 I powered it up.
yeah, received the sign on.
wrote a quick program to loop 10 times and print the loop value.
that works great.

Set MTOP to 7FFFh as I'm using a 32k sram.

My NVRam is a Dallas DS1225AB.

However when I do a PROG or FPROG I just get the number 1 followed by ERROR: Programming.

like this

>prog

1

ERROR PROGRAMMING

READY

>

I've doubled checked all the wiring and its exactly as fig 4-3 shows. Pins 20,22,27 are all toggling.

Any Ideas?

Great book.

thanks
Mike

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 2596
    • Lakeview Research
Re: Microcontroller Idea Book - PROG issue
« Reply #1 on: February 19, 2016, 09:31:37 pm »
The only thing that comes to mind is that the memory chip isn't working or there is a bad connection somewhere - the wiring looks ok but isn't connecting.

The fact that you can run programs is a good sign.

Sorry I don't have anything more specific.

mkjohnson84655

  • Member
  • ***
  • Posts: 2
Re: Microcontroller Idea Book - PROG issue
« Reply #2 on: February 20, 2016, 10:42:55 am »
Thanks for the reply.. I keep looking then.
later
Mike