{"id":189,"date":"2012-05-23T11:03:47","date_gmt":"2012-05-23T15:03:47","guid":{"rendered":"http:\/\/ahdesign.us\/blog\/?p=189"},"modified":"2012-05-23T11:08:43","modified_gmt":"2012-05-23T15:08:43","slug":"stn1110-v3-1-0-firmware-update","status":"publish","type":"post","link":"https:\/\/ahdesign.us\/blog\/stn1110-v3-1-0-firmware-update\/","title":{"rendered":"STN1110 v3.1.0 Firmware Update"},"content":{"rendered":"<p>For those of you that have ordered and use my OBDII module, a software update is available for the STN1110 chip that does all the OBDII protocol handling. The update has some bugfixes and feature additions. See the changelog below for details. All modules I&#8217;ll be shipping from this date on will come w\/ the latest STN1110 firmware.<\/p>\n<p>If you&#8217;d like to update your module, you need to have access to a PC with a Bluetooth adapter\/dongle installed. A laptop would be preferable as you&#8217;ll need to power the STN1110 to update it (aka have it plugged into your vehicle). \u00a0Click &#8220;continue reading&#8221; for the update procedure!<\/p>\n<p><!--more-->Do the following to update your module:<\/p>\n<p>1.) Install the module into your vehicle and make sure the ignition is off<\/p>\n<p>2.) Wait until the flashing LED is flashing slowly, roughly turning on once a second (the LED will go from fast flash to slow flash roughly 30 seconds after plugging the module into your vehicle)<\/p>\n<p>3.) Pair the module to your laptop\/PC and type in the pairing code (1234 unless you changed it to something else)<\/p>\n<p>4.) Make your Bluetooth software create a serial port (COM port) for the module. This process depends on your Bluetooth software running on something other than Windows 7. Windows 7 should automatically create a COM port for the OBDII module.<\/p>\n<p>5.) Determine the COM port number that was created (if the software\/Windows didn&#8217;t tell you) by doing: \u00a0XP\/2000\/98: Control Panel-&gt;Device Manager-&gt;Click plus sign next to &#8220;Ports&#8221;. \u00a0Win7: Control Panel-&gt;Hardware Tab-&gt;Device Manager Button-&gt;Click plus sign next to &#8220;Ports&#8221;. \u00a0Your newly created port should say something like &#8220;Bluetooth Communications Port COMx&#8221; where &#8220;x&#8221; is the COM port number that you&#8217;ll need for the updater.<\/p>\n<p>6.) Download the STN1110 v3.1.0 installer here:\u00a0<a title=\"STN1110 v3.1.0 Update\" href=\"http:\/\/www.scantool.net\/downloads\/126\/stn1110-3.1.0.zip\" rel=\"nofollow\" shape=\"rect\" target=\"_blank\">http:\/\/www.scantool.net\/downloads\/126\/stn1110-3.1.0.zip<\/a><\/p>\n<p>7.) Extract the files from the installer zip<\/p>\n<p>8.) Run\u00a0StnFirmwareUpdater.exe from the folder you extracted all the files to<\/p>\n<p>9.) Select the COM Port number for the OBDII module you found in step 5 and then click the &#8220;Upload Firmware&#8221; button. \u00a0Do not remove the module from the vehicle, turn the ignition on, or unpair the module from the PC. \u00a0Ensure the PC is located close to the module to ensure a stable connection.<\/p>\n<p>10.) The update should be able to connect to the STN1110 onboard the OBDII module and start the update.<\/p>\n<p>11.) Once the update is complete, remove the module from the vehicle, reinsert it, and start using the module w\/ the latest firmware.<\/p>\n<p>12.) As with all software updates, there is a possibility of bricking the module. \u00a0However, the updater and the bootloader in the STN1110 make the possibility of this happening extremely slim. \u00a0If you feel this is too risky to do yourself, I&#8217;d be happy to update your module for free, you&#8217;d just need to cover the shipping costs. Or, you can safely stay at the current software version.<\/p>\n<p>13.) I cannot assume any responsibility for any harm the software update could do to your module. \u00a0Again, while this risk is extremely small, this is a &#8220;perform at your own risk&#8221; procedure.<\/p>\n<p>Changelog:<br \/>\nv3.1.0 &#8211; 2012\/05\/16<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p>&#8211; NEW: STCMM (set CAN monitoring mode)<br \/>\n&#8211; NEW: STFA (enable automatic filtering mode)<br \/>\n&#8211; NEW: STP (set protocol)<br \/>\n&#8211; NEW: STPR (report current protocol number)<br \/>\n&#8211; NEW: STPRS (report current protocol string)<br \/>\n&#8211; NEW: STPO (open protocol)<br \/>\n&#8211; NEW: STPC (close protocol)<br \/>\n&#8211; NEW: STPTO (set OBD response timeout)<br \/>\n&#8211; NEW: STPCB (set automatic check byte calculation\/checking)<br \/>\n&#8211; NEW: STVCAL [no param] (reset voltage calibration to factory defaults)<br \/>\n&#8211; NEW: ATCRA [no param] (set CAN hardware filters to defaults)<br \/>\n&#8211; NEW: ATCSM (set CAN silent monitoring)<br \/>\n&#8211; NEW: ATJHF (set J1939 header formatting)<br \/>\n&#8211; NEW: ATJTM (set J1939 response timeout multiplier)<br \/>\n&#8211; NEW: ATBD (compatibility only &#8211; NOP)<br \/>\n&#8211; NEW: Renamed filtering commands to fit the new naming convention (old ones still available, but deprecated)<br \/>\n&#8211; NEW: Renamed STPRBR to STPBRR (STPRBR still available, but deprecated)<br \/>\n&#8211; NEW: Implemented PP 11 (J1850 Break Signal monitor enable)<br \/>\n&#8211; NEW: Implemented PP 12 (PWM\/VPW pin polarity setting)<br \/>\n&#8211; NEW: Implemented PP 21 (ATCSM default setting)<br \/>\n&#8211; NEW: Added ability to turn off J1850 CRC calculation and checking<br \/>\n&#8211; NEW: Implemented CAN ERROR detection during monitoring<br \/>\n&#8211; NEW: Added capability to receive invalid CAN frames (STCMM 2 only)<br \/>\n&#8211; NEW: STDIX (factory use only, extended device ID information)<br \/>\n&#8211; CHG: Implemented new default J1939 timeouts<br \/>\n&#8211; CHG: Added CAN transmitter &#8220;Bus Off&#8221; mode indication to ATCS command<br \/>\n&#8211; CHG: Changed ATST and PP 03 default to 0x19 (102 ms)<br \/>\n&#8211; CHG: Removed length limitation on custom keep alive messages (ATWM command)<br \/>\n&#8211; CHG: Removed 8-byte Tx data length limitation for J1850 protocols (ATAL only)<br \/>\n&#8211; CHG: Increased CAN FIFO size from 23 to 31 frames<br \/>\n&#8211; CHG: Increased UART Tx buffer size from 512 bytes to 1k<br \/>\n&#8211; CHG: STRSTNVM command now also resets the device<br \/>\n&#8211; CHG: ISO 5-baud init will now not complete initialization if the key byte validation fails<br \/>\n&#8211; CHG: Increased ISO feedback settling wait time from 10% to 33% of bit time<br \/>\n&#8211; CHG: Now all filtering commands turn off automatic filtering mode<br \/>\n&#8211; CHG: ATAL is now forced on, when CAN auto formatting is off (ATCAF 0)<br \/>\n&#8211; CHG: UART Rx now ignores LF characters for the purpose of cancelling a command (CR+LF EOL handling)<br \/>\n&#8211; CHG: OBD Rx LED now blinks for all received messages, inluding internally consummed CAN flow control messages and KWP2000 StartComm responses<br \/>\n&#8211; CHG: Now ISO key bytes will be reset to &#8216;&#8211;&#8216; if init fails or is canceled (ELM327 v1.4 behavior)<br \/>\n&#8211; CHG: Relaxed some J1850 PWM timing settings to work better with slightly non-compliant ECUs<br \/>\n&#8211; CHG: STFAPG command now accepts PGNs 4 to 6 characters long<br \/>\n&#8211; BUG: ATTA command was changing headers even if the protocol was already open<br \/>\n&#8211; BUG: KWP fast init was not properly using user-set headers<br \/>\n&#8211; BUG: With protocol A5 set, autodetect would potentially not work properly with non-default headers set<br \/>\n&#8211; BUG: CAN Rx would sometimes lockup the IC during busy CAN bus monitoring due to FIFO corruption<br \/>\n&#8211; BUG: &#8211; BUG: There could be erroneous &#8211; BUG: SRR bit was being incorrectly set when transmitting 29-bit CAN frames<br \/>\n&#8211; BUG: J1939 TP sessions would not time out if no CAN frames are coming in<br \/>\n&#8211; BUG: Entering monitoring mode would reset CAN settings to the protocol defaults<br \/>\n&#8211; BUG: Due to a race condition, heavy UART Tx traffic sometimes would generate FATAL ERROR 0x0101 [0x05, &#8230;]<br \/>\n&#8211; BUG: Sleep triggers were not working if ATMA on startup was enabled (PP 00), until ATMA was terminated<br \/>\n&#8211; BUG: Protocol would not get properly saved if ATSP set it to the same protocol that was autodetected or set via ATTP<br \/>\n&#8211; BUG: STIBR command would not correctly set baud rates above 32767 baud<br \/>\n&#8211; BUG: Actual default values for the PowerSave voltage triggers were different from those reported by the STSLCS command<br \/>\n&#8211; BUG: KWP2000 fast init did not work reliably with vehicles that have multiple ECUs responding to StartCommunication message<br \/>\n&#8211; BUG: SLEEP input polarity setting was being ignored<br \/>\n&#8211; BUG: PP 0B PWR_CTRL pin polarity setting was being ignored<br \/>\n&#8211; BUG: Some sleep triggers could glitch after about 24 days of continuous operation<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For those of you that have ordered and use my OBDII module, a software update is available for the STN1110 chip that does all the OBDII protocol handling. The update has some bugfixes and feature additions. See the changelog below &hellip; <a href=\"https:\/\/ahdesign.us\/blog\/stn1110-v3-1-0-firmware-update\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-189","post","type-post","status-publish","format-standard","hentry","category-obdii-bluetooth"],"_links":{"self":[{"href":"https:\/\/ahdesign.us\/blog\/wp-json\/wp\/v2\/posts\/189","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ahdesign.us\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ahdesign.us\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ahdesign.us\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ahdesign.us\/blog\/wp-json\/wp\/v2\/comments?post=189"}],"version-history":[{"count":5,"href":"https:\/\/ahdesign.us\/blog\/wp-json\/wp\/v2\/posts\/189\/revisions"}],"predecessor-version":[{"id":193,"href":"https:\/\/ahdesign.us\/blog\/wp-json\/wp\/v2\/posts\/189\/revisions\/193"}],"wp:attachment":[{"href":"https:\/\/ahdesign.us\/blog\/wp-json\/wp\/v2\/media?parent=189"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ahdesign.us\/blog\/wp-json\/wp\/v2\/categories?post=189"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ahdesign.us\/blog\/wp-json\/wp\/v2\/tags?post=189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}