PDA

View Full Version : Nmin-12a256b


bob charles
08-15-03, 03:50 AM
I am using the MGTEK miniIde assembler
and am having trouble getting S19 files into the module

I have assembled a small test program to run in ram area $1000

I type load and then tell the assembler to download the s19 file.... a * appears but the load does not exit

if I reset and dissassemble i can find some of my code but the first few bytes are missing

I have tried adding offsets and also re-org-ing the code to say $1200

but what ever I do , I cant get sufficient confidence to trust the download process.

any suggestions??

nmitech
08-15-03, 10:13 AM
Are you using Hyperterminal program for downloading?
Can you email me nmitech@newmicros.com your s19 file to try?

nmitech
08-15-03, 12:39 PM
* ----- Toggling Leds ------

ORG $1000

ldaa #$03 * set DDRM output on bit 0 & 1
staa $252

start: ldaa #$01 * set PortM bit 0
staa $250
bsr loop * delay
ldaa #$02 * set PortM bit 1
staa $250
bsr loop * delay
jmp start * keep toggling

* --- delay routine ----
loop: ldab #$10
inlp ldx #$ffff
decx dex
bne decx
decb
bne inlp
rts
* -------------------- end -----------
*
* or copy the srecord below
* At the Terminal program enter LOAD
* then paste to hyperterminal window to download
*
S113100086037A025286017A0250070A86027A021D
S1131010500703061005C610CEFFFF0926FD532610
S1051020F73D96
S9030000FC

* enter, G 1000 to execute the program
* Leds are now toggling

bob charles
08-17-03, 09:00 PM
The problem seems to be with MiniIde
I will email you additional data for your comments

many thanks