Re: Downloading the BMP through CF card

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



We have no idea. Whatever script you have is completely custom and
nonstandard. We don't know how it works or what it does. You need to
contact whoever wrote it for help.

--
Dean Ramsier - eMVP
BSQUARE Corporation


"garlic" <garlic@xxxxxxxxxxxx> wrote in message
news:E6084B50-D8FF-4325-A2EE-B3638C43C035@xxxxxxxxxxxxxxxx

it need the board support Package to be downloaded. I keep thinking
kernel
image [nk.bin] and [boot rom, bios] are downloaded at different times.

I am making amending by replacing update.z with WinCE BSP .dll .o file
If i put these 4 files in the CF card will the board boot up properly ???
1) autorun.cmd - start first
2) boot.rom - ascii bl common defining boot line parameter for the board
3) config.xml - i think it defines constants such as Rom size and address
4) update.z - thinking of replacing this with BSP .dll .o file
/autorun.cmd////////////////////////
'cv2021.cmd

' format the strata flash
drive 1
drive 0
format !!!

' select the compact flash drive
drive 1

' copy the firmware BSP file
'mount update.z
mount BSP.dll
drive 3
copy * 0

' copy the updated config file
drive 1
copy config.xml 0

' re-program the bootloader
drive 1
bootroot boot.rom


'================================================
'================================================
'
' REMOVE THE COMPACT FLASH CARD !!!
'
'================================================
'================================================

' wait for compact flash card to be removed
cflash detect 0

' reset the cv
reset
////////////////////////////////End of autorun////////////////

///////////////////////////config XML////////////////////////
<?xml version = "1.0"?>

<config name="config1">
<bootloader name="bootloader1" select="1">
<application name="1" image="vm10153.rom"/>
</bootloader>

<hardware name="hardware1">
<screen name="SCREEN"/>

<cv2021serial name="COMdebug" PortNumber="0" baudrate="115200" />


<Option name="GpsOption" Sel="GpsSignav" Text=" ">
<Object name="GpsSignav" Text=" ">

<cv2021serial name="COMgps" PortNumber="5" baudrate="9600" />
<NMEAGPS name="GPS" Serial="COMgps" OnChange="GPSOnChange"
ReportOnTime="1000" ReportOnDistance="20"
ModemResetCmds=""$PAUSA,002,,8,0,C,3,6,4.5,2,1","$PAUSA,004,,0,0122.00,N,10355.00,E,0032,M","$PAUSA,016,""
ReceiverID="4"/>

</Object>

<Object name="GpsMG5101" Text=" ">

<cv2021serial name="COMgps" PortNumber="5" baudrate="4800"
invertrx="false" inverttx="false" />
<GPSMG5101 name="GPS" Serial="COMgps" OnChange="GPSOnChange"
ReportOnTime="1000" ReportOnDistance="20"/>

</Object>
</Option>

<!--************************************** TV1021 module
************************************** -->

<!-- ScanBusSerial configout: pprrrrttttBBff - port, receive, transmit,
baud, flags
baud: 0=9600, 1=300, 2=512, 3=600, 4=1200, 5=2400, 6=4800, 7=7200,
8=19200,
9=38400, 10=57600
flags: 0=one stop bit, 8=two stop bits, 0=7 bits, 4=8 bits, 0=none 1=odd
2=even
-->

<ScanBusNode name="tv1021" portnumber="6" NodeAddress="1"
DataReserved="16" MaxBaudRate="1" MaxHDLCTransfer="200"
ProcessTimeout="30"
Description="Head unit..." Text=" ">
<ScanBusSerial name="COMTouchScreen" node="tv1021"
ConfigOut="0400800002"/>
<ScanBusSerial name="ComKB" node="tv1021"
ConfigOut="0501000100"/>
<ScanBusSerial name="COMTVB" node="tv1021"
ConfigOut="01008000800000"/>
<ScanBusSerial name="ComTVC" node="tv1021"
ConfigOut="0200800080"/>
<ScanBusSerial name="ComTVTemp" node="tv1021"
ConfigOut="0600040001"/> <!-- 2 bytes per sample, temp in K -->
<ScanBusSerial name="ComTVBL" node="tv1021"
ConfigOut="0700010002"/> <!-- 1 byte per sample -->
</ScanBusNode>

<!--************************************** Serial Module
************************************** -->
<ScanBusNode name="SerialExp" portnumber="7" NodeAddress="1"
DataReserved="16" MaxBaudRate="1" MaxHDLCTransfer="200"
ProcessTimeout="30"
Description="Serial Expansion" Text=" ">

<!--************* Mobitex modem -->
<ScanBusSerial name="COMnif" node="SerialExp"
ConfigOut="00010001000002"/>
<ScanBusPin name="PinDTRnif" node="SerialExp" ConfigOut="0883000080"
/>
<ScanBusSerial name="COMrts" node="SerialExp"
ConfigOut="0100800080040A"/>
<ScanBusSerial name="ComSerC" node="SerialExp"
ConfigOut="02008000800000"/>

<!-- break on port 1 -->
<!--
<ScanBusPin name="PinSerBK1" node="SerialExp" ConfigOut="0f83000080"
/>
-->

<!-- control the serial board driver IC correctly -->
<ScanBusPin name="COMpinDriverTEX0" node="SerialExp"
ConfigOut="0a83000000" State="0"/>
<ScanBusPin name="COMpinDriverDTR0" node="SerialExp"
ConfigOut="0983000080" State="1"/>

</ScanBusNode>

<!--************************************** Meter
************************************** -->

<Option name="MeterOption" Sel="MeterVirtual" Text="">
<Object name="MeterVirtual" Text="">
<Meter name="Meter" OnChange="MeterOnChange" />
</Object>
<Object name="MeterMetroLink" Text="">
<ScanBusSerial name="ComMeter" node="tv1021"
ConfigOut="00008000000504"/>
<MetroLinkMeter name="Meter" Serial="COMMeter"
OnChange="MeterOnChange" />
</Object>
<Object name="MeterDigitax" Text="">
<ScanBusSerial name="ComMeter" node="tv1021"
ConfigOut="00008000800004"/>
<DigitaxMeter name="Meter" Serial="COMMeter"
OnChange="MeterOnChange" OnAuthorisation="MeterOnAuthorisation"/>
</Object>
</Option>

<!-- ************************************** Assorted Pins
************************************** -->
<CV2021Pin name="PinLowPower" Number="3" DownKey="&h0201"
UpKey="&h0202" StateKey="" Debounce="100" Phase="1" />
<CV2021Pin name="PinAccessory" Number="4" DownKey="&h0203"
UpKey="&h0204" StateKey="" Debounce="100" />
<CV2021Pin name="PinAlarmPin" Number="5" DownKey=""
UpKey="&h0301" StateKey="" Debounce="3000" Phase="0" />
<CV2021Pin name="PinPWRButton" Number="6" DownKey="" UpKey=""
StateKey="&h0110" Debounce="200" />
<CV2021Pin name="PinPowerDown" Number="7" Direction="2"/>

<!--************************************** Roof Sign
************************************** -->
<smrtroofsign name="RoofSign" serial="COMrts"/>

<!--************************************** MobiTex
************************************** -->
<mobitexnif name="NIF" Serial="COMnif" OnRXRaw="NIFOnRXRaw"
RemoteID="4100061" DTRPin="PinDTRnif"/>

<!--************************************** CV2021 inputs
************************************** -->



<!--************************************** Script Interfaces
************************************** -->

<sbkeyboard name="Keyboard" serial="ComKB" />
<mouse name="Mouse" serial="COMTouchScreen"/>
<codec name="Codec" ModOutVol="0" SpkVol="+3"/>
</hardware>

<smdl name="smdl1" select="001">
<script name="001" main="app.xml">
<filesystem name="script" filename="script11001.z"/>
<filesystem name="fonts" filename="fonts11001.z"/>
<filesystem name="audio" filename="audio11001.z"/>
<filesystem name="pics" filename="pics11001.z"/>
<filesystem name="custom" filename="tables11001.z"/>
<filesystem name="adverts" filename="adverts11001.z"/>
</script>

</smdl>

</config>
//////////////config.xml/////////////////////////////////



.



Relevant Pages

  • Re: Downloading nk.bin to Target device without PB?
    ... and reset the system ... ' format the strata flash ... ' REMOVE THE COMPACT FLASH CARD!!! ...
    (microsoft.public.windowsce.platbuilder)
  • Downloading the BMP through CF card
    ... I am making amending by replacing update.z with WinCE BSP .dll .o file ... ' REMOVE THE COMPACT FLASH CARD!!! ... ' reset the cv ...
    (microsoft.public.windowsce.platbuilder)
  • Re: HELP! HELP! If you can.
    ... execute a file "trim" in the HD-P2? ... I often consider throwing a little md recorder in my bag and letting ... the Tascam and the blasted compact flash card. ...
    (rec.arts.movies.production.sound)
  • Re: "boot0cfg: read /dev/ad1: Input/output error" using nanobsd
    ... The machine boots fine, but I can't provoke any kind of response from boot0cfg except for input/output errors. ... The number of heads that the "diskinfo" reports is different depending on whether the compact flash card is plugged into the soekris box or mounted in a USB card reader/writer. ... ad1: setting up DMA failed ...
    (freebsd-questions)
  • mfs is getting full (/etc/rc.diskless2)
    ... I've setup a firewall with a compact flash instead of a hard-drive. ... I mount the compact flash as read-only and I setup a memory ... Filesystem 1K-blocks Used Avail Capacity Mounted on ...
    (freebsd-questions)