Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/28/03 05:23
Read: times


 
#42418 - RE: 8051 serial comm's
Responding to: ???'s previous message
There are many many examples about loading HEX files into 8052's on the WEB. Heck, much discussion has been had about this discussion on the forum at 8052.com. You should search....I am sure you can find everything
you need.

You should be aware that the approach that many people use is to directly send the ASCII records of the microcontroller. This gives an easy way to get the addressing information, the data bytes, and an error detection scheme into the transfer process. This scheme lets you send the .HEX file without having to write any special software on the PC side. (Although you can still write special software should you so choose). Even a terminal emulator that supports "Send ASCII File" can be used for this purpose. These programs even have a programmable delay that can be enabled at the end of each line to be used to throttle the transfer process and allow for time inside the
8052 to get the data programmed into a flash or eprom chip.

There are direct examples of 8052 code to accept ASCII HEX records as lines of data. You can look in application notes for IAP (in application programming) sample code, in source code for debug monitors, and 8052 boot strap loader code.

If you cannot find a path to get what you need by using the above information then it may be you will need to hire the expertise of a professional consultant.

Alternatively you could consider using one of the newer 8052 type derivatives that supports ISP (In System Programming) and onboard FLASH. These chips can be fitted to a target product board without having to use external memory chips to store the program code. ISP requires a very simple connection from the target
processor to the PC. Usually this requires a small adapter that connects to a PC serial port or parallel port. If you use this approach then there is NO need for you to write software for either end in order to download code to the target processor. For Philips chip there it the FLASH MAGIC program For ATMEL chip there is the FLIP program For CYGNAL chip there is the CYGNAL IDE.

Michael Karas


List of 9 messages in thread
TopicAuthorDate
8051 serial comm's            01/01/70 00:00      
   RE: 8051 serial comm's            01/01/70 00:00      
      RE: 8051 serial comm's            01/01/70 00:00      
         RE: 8051 serial comm's            01/01/70 00:00      
   RE: 8051 serial comm's            01/01/70 00:00      
      RE: 8051 serial comm\'s            01/01/70 00:00      
         RE: 8051 serial comm\'s            01/01/70 00:00      
   RE: 8051 serial comm\'s _ Nick            01/01/70 00:00      
   RE: 8051 serial comm's            01/01/70 00:00      

Back to Subject List