Alright guys, I think I have a major problem here.
I've tried the LOAD t and it worked BUT, it doesn't place the codes at where I want the codes to be at. My controller unit is the 68hc11e9bcfn2. I referred to the manual and it said that the starting EEPROM is at $b600 which is what I put my ORG as but when I tried to download the file, it just hangs there. There are two download options, one is just download file while the other is download file to EEPROM. WHich should I use?? I tried using the download to EEPROM command but it just hangs there too.
I tried address 0800 and it downloaded. Here are the feedback given from the MCU.
This is the exact EVB I'm using.
BUFFALO 3.4 (ext) - Bit User Fast Friendly Aid to Logical Operation
>load t
rom-B900
>
Then when I do a MD b900
B900 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
B910 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
B920 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
B930 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
B940 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
B950 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
B960 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
B970 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
B980 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
This came out. What gives?? Am I doing it right?? But when I do a MD 0000
0000 CF 00 FF 86 FF 7A 10 00 07 07 79 10 00 07 02 20 z y
0010 F2 CD FF FF 03 02 03 26 FB
3D FF FF FF FF FF FF & =
0020 FF 7E FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0030 FF FF FF FF FF FF FF FF FF D0 FF FF 77 FB FD 5F w _
0040 B9 00 FF FF FF FF FF EF FF FE FF FF E4 E4 6D E3 m
0050 D4 00 E4 6D E3 D4 00 57 07 20 E5 02 E8 10 E1 AA m m X (
0060 B9 00 FD 5F 77 FB FF FF D0 00 41 6D 64 20 30 30 _w Amd 00
0070 30 30 0D 30 46 43 0A 6C 6F 61 64 20 74 0D 30 33 00 0FC load t 03
0080 30 32 30 33 32 36 46 42 33 44 42 46 0A 53 4D 44 020326FB3DBF SMD
I checked the lst file and the program is being loaded at the 0000 till the highlighted part.
Here are my codes.
*file: simple2.asm
*A simple HC11 program with a subroutine.
*It continuously blinks the LED on PA6.
org $b900 ;beginning of EEPROM (68HC811E9) The actual starting point is at b600 but it'll hang there.
begin:
lds #$ff ;set up stack (essential if you use subroutines)
loop:
ldaa #$ff ;write logic high to PA6 (turn on LED)
staa $1000
bsr Delay
clr $1000
bsr Delay
bra loop
*define the delay subroutine
Delay:
ldy #$ffff
D1: dey ;the extra iny and dey instructions are meant to add
iny ;extra cycles, giving about a half-second total delay
dey
bne D1
rts
*define the reset vector to point to start of program
org $fffe
fdb begin
I'm desperate now.
Does the run and boot switch on the EVB matter???