Batch commands

Topics related to the Dataman S4
Guest
Posts: 723
Joined: 09 Nov 2011 17:16

Batch commands

Postby Guest » 14 Nov 2011 16:38

Hi,
Ive just started making use of the batch file feature in the Windriver program but am having a little problem LOading files larger than the internal memory.
I can load 00000-1FFFF#000000: fine but my next line (after sending to the pc) needs to be something like S4 LO 00000-1FFFF#020000:
is this possible using batch and if so what is the correct command for this action.

Also, is it possible to run an external application from within the batch file? Im pretty sure it isnt but it worth asking.

Thanks for you help

JonT

Dataman (Neil Parker)
Posts: 931
Joined: 10 Nov 2011 09:51

Re: Batch commands

Postby Dataman (Neil Parker) » 14 Nov 2011 16:38

Hello JonT,

The S4 batch file commands can be used for this.

The LOAD command assumes the following: LOAD (START)-(END)=(DEST)

Your example above is incorrect and the second command should look like this:

S4 LO 20000-3FFFF#00000

With the start and end addresses being in the chip and the destination of 00000h being in the S4 RAM.

As far as I know it is not possible to call up an external program from within the S4 batch file environment.

Hope this helps.

Neil Parker
Dataman Programmers


Return to “Dataman S4”

Who is online

Users browsing this forum: No registered users and 17 guests