User Tools

Site Tools


**The OOBD Book** Download as [[epub|eBook]] \\ Download as [[|PDF / Mobi]] * [[start|Documentation]] * Installation * [[startup_javame|OOBD-ME (Mobile Phones)]] * [[startup_android|OOBD-Android]] * [[startup_windows|Windows OOBDesk]] * [[startup_embedded|Raspi & Co]] * [[startup_usage|Start the programs]] * [[startup_oobdscript|First Success: Run the OOBD script]] * [[lua_start|Lua in OOBD]] * [[tools_quickscript|Click your Script: Quick Script]] * [[lua_make-your-own-scripts|Make your own OOBD Scripts]] * [[lua_tutorial|The OOBD Lua Tutorial]] * [[lua_make|Lua Build Enviroment]] * Web UI * [[:de:doc:webui_tutorial|Web User Interface Tutorial(German)]] * [[webui_guide|Web UI Package structure]] * [[:de:doc:webui_simulator|UI Emulator for development(German)]] * [[hw_start|The OOBD Hardware]] * [[hw_quickstart|OOBD Cup Quick Start]] * [[hw_assembly-cupv5|Build your own Dongle]] * [[hw_busswitch|Add a second Bus to DXM]] * [[hw_bootloader|Flash the Bootloader]] * [[hw_firmware|Flash the Firmware]] * [[hw_flash-from-usb-stick|Flash the Firmware from USB-Stick]] * [[hw_commands|The Firmware Commands]] * [[tools_start|The OOBD Utilities]] * [[tools_kadaver|Kadaver]] * [[tools_quickscript|Quick Script]] * [[tools_cortex-crc32|Cortex-CRC32]] * [[tools_filelist|Filelist]] * [[tools_olp|OLP]] * [[tools_oobdcopyshop|OOBDCopyShop]] * [[tools_oobdtemple|oobdtemple]] * [[tools_oodbcreate|OODBCreate]] * [[tools_opendiagx|OpenDiagX]] * [[tools_oobdcmd|OOBDcmd]] * [[tools_oobdflash|OOBDFlash]] * PGP * [[pgp_setup|Install PGP Keys]] * [[dev_start|Development]] * [[dev_googlesetup|Join the News]] * Setup your Developer Environment * [[dev_cygwininstall|CygWin Environment]] * [[dev_setupswing|Java Swing]] * [[dev_setupme|Java ME]] * [[dev_setupandroid|Android]] * [[dev_androidlivecd|The Android Debug Live CD]] * [[dev_setupfirmware|Firmware]] * [[dev_clientdesignguide|User Interface Design Guide]] * [[dev_systemspec|The OOBD System Spec]] * [[dev_readotherformats|Import XML files]] * [[dev_links|Link Collection]] * [[dev_roadmap|Road Map]] * [[rfc_start|Specifications (RFC)]] * [[rfc_firmware_syntax|OOBD Firmware: General Command Syntax]] * [[rfc_canuds-mode|OOBD Firmware: Protocol : UDS (P 6 ..)]] * [[rfc_canraw-mode|OOBD Firmware: Protocol : CANraw (P 6 ..)]] * [[rfc_rtd-real-time-data-protocol-for-the-oobd-firmware|OOBD Firmware: Protocol : Real Time Data (RTD) (P 6 ..)]] * [[rfc_pgp-encrypting-sensible-data-with-pgp|PGP Principle]] * [[rfc_onion|The ONION Message Format]] * [[faq|Frequently Asked Questions]]


How to flash an OOBD CAN Invaders with new OOBD-Firmware

To update your dongle with the latest actual firmware, the easiest way is to use the OOBDFlash program.

Only in case you want to flash other firmware files, here's the manual way to do so:

start HyperTerminal

configure Hyperterminal as: 115200 bit/s, 8N1, no flow control

After connect a input- prompt appears when you hit <RETURN> , with the command p 0 0 the firmware level will be displayed (is also used for checking the connection)

>p 0 0
OOBD D2 192

With the command p 0 99 2 the CAN-Invader will be set back, after that you will have a timeframe of 500 ms, in that you will force the CAN-Invader, with reiterated pressing of the “f”- key after booting, to jump into the bootloader.

>p 0 99 2

Press the „1“- key in the bootloader startscreen to start the firmware download („C“ character of the Y-Modem protocol will appear)

Select menue entry „transmission ⇒ send file“ and select firmware (*.bin) ⇒ select protocol Ymodem

Ymodem download running

download finished, firmware starts automatically or with key „3“

After the reset the firmware starts and shows the actual version (here: SVN Build 133)

Switching the interfacespeed – BTM222

This step is necessary to set the UART speed between DXM1 and BTM222 to the default of 115200Bit/s. Because the BTM222 is delivered with an default interface speed of 19200Bit/s (= atl2), this value has to be changed with the command „atl5<CR>“.

For that you have to connect direct the Rx/Tx-joint of the BTM222 on the DXM-Bluetooth with the terminalprogramm (Setting: 19200Bit/s, 8N1) and a appropriate 3,3V capable serial interface (z.B. MAX3232).

With „atl?“ you can readout the actual setting. Here you should see a value beteen 0 and 7. Please take into account that the interface speed of the BTM222 is configurable:

0 4800
1 9600
2 19200 (Default)
3 38400
4 57600
5 115200
6 230400
7 460800

If after „atl?“ nothing sensefull should be responded, you have to test the interface speed settings above until you see after the command „atl?“ a number (= configured interface speed) and OK.

Important :

After „atl5“ ,which is shown here, the succesfull change of the setting will be confirmed.

After that the BTM222 is set to 115200Bit/s. If you want to configure more you have to change the terminalprogramm first.

This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information
doc/hw_firmware.txt · Last modified: 2014/09/05 06:30 by admin