LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

assemble language in Labview

I want to know how to use Labview to program a 68HC11?
I have the instruction says that it need to run in DOS
How can I do it all in Labview??

Turn on & connect module

Type the following command into a DOS screen or window:

zterm com2 9600

(Hit until you see Buffalo prompt)

mm 102b
30 > 35
F6
zterm com2 300
(see zterm startup screen)
(see blank screen)
(see "102B 35")
(see > prompt)

load t

F9

(see: ******** Filespec to upload from:)

bm_11.s19

wait f
or: done
0 Kudos
Message 1 of 2
(2,499 Views)
It's been a while since I used the Buffalo monitor on an 'HC11 but my recollection was that all it needed was a terminal program. With Visa connecting to the PC serial port you should be able to do something like:

1) Setup Visa port com2, 9600, etc.
2) Send , pause
3) If no buffalo prompt, loop to 2)
4) Send string 'mm 102b', wait for '>'
5) Send string '35'
6) Close Visa session
7) Setup Visa port com2, 300, etc.
😎 Send , pause
9) If no buffalo prompt, loop to 😎
10) Send string 'load t'
11) **** Tricky part: I don't remember if the Buffalo monitor wants to use something like xmodem or zmodem for the download protocol; if so, you will have to find or write something compatible to do the actual file transfer, or write a l
ittle hack to read the .s19 file and poke it with the 'mm xx' command (probably easier).
12) Check for 'done', close Visa.

There is a little hand waving in the above, but the general approach should work just fine.

Matt
Message 2 of 2
(2,499 Views)