开发者

What softwares do you need inorder to develop a firmware application with Atmel 89C2051 micro-controller?

开发者 https://www.devze.com 2023-02-02 10:52 出处:网络
Please list some software/s and links which can help me build firmware for Atmel 89C2051 micro-controller. Thanks.开发者_StackOverflow社区The Atmel AT89C2051 is a 20 pin version of the popular 8051 mi

Please list some software/s and links which can help me build firmware for Atmel 89C2051 micro-controller. Thanks.开发者_StackOverflow社区


The Atmel AT89C2051 is a 20 pin version of the popular 8051 microcontroller. The program memory (Flash) is limited to 2K and all the instructions related to jumping or branching should be restricted such that the destination address falls within the physical program memory space of the device. The Atmel AT89C2051 also has all of the normal 128 bytes of RAM as well as the built-in UART.

The datasheet (PDF link) is often a good place to start when developing firmware for a microcontroller.


Since the Atmel AT89C2051 is fully compatible with the MCS-51 architecture, and can be programmed using the MCS-51 instruction set, http://www.8052.com should be a good resource.

http://www.google.com/search?q=89C2051+site:www.8052.com


The open source Small Device C Compiler (SDCC) toolchain can be used to produce the necessary firmware files for programming the Atmel chip.

The Atmel C51ASM assembler is a two-pass macro assembler for the Atmel AT89 Family of 8051 microcontrollers and, according to the documentation, supports the AT89C2051.


The Stack Overflow questions tagged 8051 may also be of use.


I used Keil µVision for developing firmware for microcontrollers with MCS51 instruction set. It was convenient, but it was not free and trial version had some limitations on size of firmware.


You need 2 or 3 things:

  1. Develop the firmware: Depending on what programming language you are good at, you may use assembly language [a51 & asem51 are good assemblers], c cross-compiler [keil c51 free trial version should be sufficient] or even basic [you can find a basic compiler for 8051 on the net].

  2. The firmware should be in Intel hex format; if your assembler/compiler output is binary code, you need a bin2hex utility to convert the binary code to hex format. You can find freeware bin2hex utilities on the web.

  3. A programmer [this is hardware] for loading the firmware into the microcontroller's program memory.

0

精彩评论

暂无评论...
验证码 换一张
取 消