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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/01/05 15:23
Read: times


 
#86285 - After Boot Loader......
Responding to: ???'s previous message
Thanks to u, for providing useful advice since last time.My MCU development trainer seems works. But I met some problem. After loading Steve's Bootloader version 3, I connect my RS232 to PC and using software from Bray's Terminal. It works. I try to send intel Hex file to Ram at address of 8000h. It works too. How do I figure out? I replace the Ram using NV Sram. Then I check the content.
The problem I am having now is, whenever after the file is sent, it should execute that file. Since the file is sent at starting address of 8000h, and according to the bootloader I used, boot3, After the Ram receiving file, the file should run. But I didn't get the file run. It juz prompt back to
'Steve's 8051 bootloader - 18 April 1995
Download Intel hex files to address 8000h'

Any idea where the problem is?
In fact, I try to use blink.asm from asem51 assembler to verify my 8051 trainer board. The program works, when I program onto Rom at address of 0000h with slight modification. Originally the program is begin with 8000h for Ram purpose. But when I try that the rom is runnning boot3 and send blink.hex to Ram with starting address inside blink is 8000h, the LED won't blink. blink.asm can be found in asem51 at www.lvr.com

In fact last time from your message you telling me that the intel hex file will end with 1ah. But I check the blink.hex file, it doesn't end with 1ah.
Thanks.


From LIAN KOK TONG

Last time Jan Waclawek wrote:

About http://www.embeddedlogic.com/embarchiv.../boot3.asm , there is enough guidance within this file:
- you should have a program memory starting from 0 prgrammed by boot3.hex, either internal or external (and EA set accordingly);
- you should have 12MHz xtal
- you should set 2400 Baud (8 data bit, no parity, 1 stop bit) and no handshake!
- upon reset, the terminal should receive the following message:


Steve's 8051 bootloader - 18 April 1995
Download Intel hex files to address 8000h

In the following, it is assumed that you send an intelhex file, which is loaded into RAM at position 8000h; if end-of-file character is sent (1ah), it jumps into 8000h.

List of 16 messages in thread
TopicAuthorDate
how to Boot 8052?            01/01/70 00:00      
   Be specific!            01/01/70 00:00      
      Program RAM            01/01/70 00:00      
      Thanks for reminding!            01/01/70 00:00      
         Mods            01/01/70 00:00      
         Read the tutorial            01/01/70 00:00      
            Thanks            01/01/70 00:00      
               Study the code...            01/01/70 00:00      
         test            01/01/70 00:00      
            After Boot Loader......            01/01/70 00:00      
               blink.ask            01/01/70 00:00      
                  Attached Blink.asm            01/01/70 00:00      
                     Is the RAM mapped for CODE memory?            01/01/70 00:00      
                        Great! PROBLEM SOLVED!            01/01/70 00:00      
   Didn't search first?            01/01/70 00:00      
   answer to dual thread question            01/01/70 00:00      

Back to Subject List