At89C51RC2 timing out when programming (FLIP)

Go To Last Post
6 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I've recently purchased an AT89C51RC2 and have been having some issues trying to program it serially using FLIP.

 

I am successfully able to initialize the bootloader. I'm also able to read and erase the memory from the chip using FLIP. However, whenever I try to program the chip, FLIP produces an error and times out. 

 

I am unsure as to why this is happening. If anyone has come across this issue before or may have a solution, that would be very helpful! 

 

Thank you

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You came to the wrong website. This one is for the support of AVRs (there's a clue in the name "AVR Freaks"). I think the only place you may find support about 8051 is www.8052.com (yup 8052 not 8051).

 

Moderator

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

kdolan wrote:
I've recently purchased an AT89C51RC2

Was there a particular reason for choosing that chip?

 

There is no Atmel/Microchip forum for the 8051 parts.

 

8052.com used to be the go-to place all 8051/2-related questions - but is now all but dead.

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Notwithstanding wrong forum, by way of trying to help kdolan - I have had a similar issue using Flip 3.4.7 on an AT89LP51RB2 which is the same class of device. I don't yet know the solution myself but I can get around it by using an old version of Flip (V1.8.8 is the one I have which works ok even though I can only select an T89C51RB2).

Karam

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

kdolan wrote:

I've recently purchased an AT89C51RC2 and have been having some issues trying to program it serially using FLIP.

 

I am successfully able to initialize the bootloader. I'm also able to read and erase the memory from the chip using FLIP. However, whenever I try to program the chip, FLIP produces an error and times out. 

 

I am unsure as to why this is happening. If anyone has come across this issue before or may have a solution, that would be very helpful! 

 

Microchip show FLIP 3.4.7.112 dated  1/17/2018 here

http://www.microchip.com/develop...

 

They claim it supports these '51 cored variants mentioned

Flash ISP (In-System Programmable):

  • AT89C5115 - Low Pin Count 8-Bit Microcontroller with A/D Converter and 16KB Flash
  • AT89C51AC3 - Enhanced 8-Bit Microcontroller with 64KB Flash Memory
  • AT89C51ED2 - High performance 8-Bit Microcontroller 64KB Flash, 2KB EEPROM
  • AT89C51IC2 - 8-Bit Flash Microcontroller with Two-Wire Interface
  • AT89C51ID2 - High-Performance CMOS Flash Version of the 80C51 CMOS Single Chip 8-Bit Microcontroller
  • AT89C51RC2 - 8-Bit Microcontroller, 32KB Flash
  • AT89C51RD2 - High-Performance 8-Bit Microcontroller, 64KB Flash
  • Flash ISP - Single Cycle Core:
  • AT89LP51ED2 - 8-Bit Microcontroller, 64KB ISP Flash, 4KB EEPROM
  • AT89LP51IC2 - 8-Bit Microcontroller, 32KB ISP Flash, Dual Oscillators
  • AT89LP51ID2 - 8-Bit Microcontroller, 64KB ISP Flash, 4KB EEPROM, Dual Oscillators
  • AT89LP51RB2 - 8-Bit Microcontroller, 24KB ISP Flash
  • AT89LP51RC2 - 8-Bit Microcontroller, 32KB ISP Flash
  • AT89LP51RD2 - 8-Bit Microcontroller, 64KB ISP Flash

 

Did you try the latest version, and did you contact Microchip about the issue ?

 

Note: The AT89LP51 series is more for new designs than the AT89C51, and Microchip reflect that in lower prices for AT89LP51RC2 than AT89C51RC2

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Note that the OP has never responded in this thread (or, in fact, anywhere else on this forum) in over a month ...

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...