This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

code works in simulation not on chip

hi, my first project on uvision but im having trouble making it work. so I'm making a simple POV toy (leds flash and moving it side to side you see a message) using a Atmel AT89S52 microcontroller, with 8 leds connected to its port 2.

i know my programmer and board is working because i made a simple program to toggle leds in port 2 and it work fine.

programmer i using is based on this:
http://ikalogic.com/isp.php

im using the latest version of the software and I added leds on it to see if programs work.

Parents
  • so im using c51 to output a hex file and the programmer software to flash the chip, but after i flashed it no leds light up it just does nothing.

    i made a project and i tried it with and without a start-up code. is there something i have to do with the start up code? it just copied it in the folder and i left it there.

    anyway, can any one help me? im soo confused i got no errors or warnings on my code and it works in the simulation but when i flash it, nothing happens.

Reply
  • so im using c51 to output a hex file and the programmer software to flash the chip, but after i flashed it no leds light up it just does nothing.

    i made a project and i tried it with and without a start-up code. is there something i have to do with the start up code? it just copied it in the folder and i left it there.

    anyway, can any one help me? im soo confused i got no errors or warnings on my code and it works in the simulation but when i flash it, nothing happens.

Children
No data