Technical discussions about Freescale Microcontrollers: M68HC11. (Freescale Semiconductor is a Subsidiary of Motorola).
|
Thanks all of you for the guidance given for us for problems regarding MC68HCF11 interface. We could interface a chip successfully with an external RAM and we have downloaded a program into the External RAM. We have downloaded a LED blink program which uses software delay. That is working fine. But still we are facing some problem if we are using interrupts in our program. And the problem is we are not able to download the program into external RAM. When the Interrupt vector portion is downloaded Jbug11 is giving error, the program part is downloaded successfully . We expect that the vector locations are not being written into the SRAM. We have assigned vector address from 0xFFC0 onwards. Here are the steps we have followed to downloaded the program into the external RAM. 1. The external RAM mapped from the address 0x8000 2. We have used "Embedded GNU" for developing the program. 3. The interrupt vectors are located from the memory location 0xFFC0 4. The settings in the JBug11 are as shown below "Alter HPRIO on reboot" = Checked "Allow writing to CONFIG and EEPROM = Unchecked In the "Memory Map" Tab, in the EEPROM/CONFIG section EEPROM text box is cleared . In the "RAM" check box the text Expansion RAM = 8000..FFFF 5. Now the board is connected to COM port of the PC 6. The board is reset and the boot loader is loaded 7. Then I have used LD command to load the .s19 file into the board. 8. It has written the program part, but it is giving error when writing into location from 0xFFC0. Please help us to find a solution for this. What is our requirement is in a single stretch we have to download both the program memory and interrupt vector table into same type of memory. |