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
Batch commands
-
- Posts: 935
- Joined: 10 Nov 2011 09:51
Re: Batch commands
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
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
Who is online
Users browsing this forum: No registered users and 3 guests