E90Post
 


GetBMWParts
 
BMW 3-Series (E90 E92) Forum > E90 / E92 / E93 3-series Technical Forums > ConnectedDrive / I-Drive / Navigation Related Discussion > Cheap and easy 1b file from CIC



Reply
 
Thread Tools Search this Thread
      05-17-2018, 08:33 PM   #287
cst1077
Registered
0
Rep
2
Posts

Drives: BMW 528i xDRIVER
Join Date: May 2015
Location: NY

iTrader: (0)

Is it possible to apply nbt head unit?
Thanks.
Appreciate 0
      05-18-2018, 09:14 AM   #288
lnxguy
Captain
136
Rep
828
Posts

Drives: 2009 335D
Join Date: Jun 2016
Location: Barrie

iTrader: (1)

Quote:
Originally Posted by cst1077 View Post
Is it possible to apply nbt head unit?
Thanks.
No.
__________________
'09 335D
Appreciate 0
      05-27-2018, 05:38 AM   #289
HelloHello
Registered
0
Rep
2
Posts

Drives: BMW
Join Date: May 2018
Location: NL

iTrader: (0)

Angry cannot access F11 CIC via Enet..

Hello everyone, I was trying to download the 1b file from my 2013 F11 using the enet cable and the method described in Vespa's post, but was unsuccessful. I think my NAV unit is a small size screen business version (Map is MOVE 2017-1).

I connected my win7 laptop (anti-virus and firewall disabled) to the OBD2 socket with the Enet cable, switched on the car, assigned the IP address to network adapter (IPV4), typed in the ftp address in firefox browser, then got a timeout error message.

I used the command line to ping the CIC address and didn't receive any ping back.

Can someone suggest how to fix this?

Many thanks!

[QUOTE=vespa;18314028]Many thanks to Rotary Rasp and many others for developing these tools and techniques, I just combined several approaches to find a 12 step program. Here goes:

1. Get a ENET cable (yes, even though e9x doesn't normally use ENET). These typically end up costing about $5 by the time you pay for shipping and everything, but you can certainly save some money by making your own. Search eBay for "bmw enet", see this example for pre-made cables, or make your own with these instructions.
2. Set your PC/Android/Mac ethernet port to IP: 169.254.199.98, subnet: 255.255.255.0, Gateway: 169.254.199.99, any DNS
3. Connect the cable and turn on the car (acc mode is fine)
4. In your web browser go to: ftp://169.254.199.99
5. It should prompt for a login, user name is "root", password is either "Hm83stN)" or "cic0803"
6. Click the link to go up a directory a couple of times then browse to /HBpersistence/normal and download the file "generalPersistencyData_DiagnosticSWTControlle r"
7. Disconnect from the car and get that file into Windows
8. Open the file in a hex editor like Hxd http://mh-nexus.de/downloads/HxDSetupEN.zip
9. Press CTRL-F to search, change the search mode to "Hex" and then search for "01 01 00 1B. Note that the data just before this should read "3F 01 00 00", otherwise see 9a below.
10. Highlight and delete everything prior to "01 01 00 1B
11. Go to line (offset) 130 and delete the last block and everything after. The data to be deleted should begin with "3F 01", otherwise see 11a below.
12. Save the file as "a.hex", which should be exactly 319 bytes


Alternative options:
1a. Use a very particular USB-Ethernet adapter per a thread on the other board titled "showthread.php?11728-Get-1B-file-from-Exx-CIC-WITHOUT-ICOM" In this case the address settings may be:
Static IP:160.48.199.98 Mask:255.255.255.128 Gateway/CIC IP:160.48.199.99
or: Static IP:10.250.89.1 Mask:255.255.0.0 Gateway/CIC IP:10.250.89.2
2a. Use tftp32 to turn your computer into the host and force the CIC to the IP address of your choosing. Set your PC to a static IP address (e.g. 192.168.10.10/255.255.255.0) Launch TFTD32 and bind it to your wired adapter. Under the options tab, set the start address to 192.168.10.11 with at least 2 for the pool size. Reboot your CIC by pressing the VOLUME button for about 30 seconds. The CIC will now be accessible at the address you specified, 192.168.10.11 in this case. See post #200 for more details.
4a. Use tftp32, WinSCP, or similar to make the FTP connection. You can check the "anonymous" box to login without a password. In this case the file will be called "data03" and located at /mnt/hbdebug/
9a. Sometimes the 1b file is not 319 bytes. The data that you cut in step 10 should end with "...01 3F 01 00 00" where "01 3F" is big endian hex for 319. If you have something different you need to translate it and cut the file accordingly. Note that most online hex-decimal converters expect little endian so to translate 01 3F, enter 3F01.
11a. Sometimes the download process inserts extra carriage returns (hex "0D") into the file and fsc.exe will give an error "Version after create () = 0xD1". It seems normal files have only one instance of "0D" near the end so try deleting any earlier instances until you get to 319 bytes. See more advanced detail in the bmw coding thread "get 1b file from Exx CIC without ICOM" starting at post #296.[/quote]
Appreciate 0
      05-30-2018, 05:58 PM   #290
athlon_ati
New Member
0
Rep
7
Posts

Drives: 2009, F07 530D GT
Join Date: May 2018
Location: Lisbon, Portugal

iTrader: (0)

Why don't you use SWID_Reader since you have ENET cable? I think that software is more convenient.


Quote:
Originally Posted by HelloHello View Post
Hello everyone, I was trying to download the 1b file from my 2013 F11 using the enet cable and the method described in Vespa's post, but was unsuccessful. I think my NAV unit is a small size screen business version (Map is MOVE 2017-1).

I connected my win7 laptop (anti-virus and firewall disabled) to the OBD2 socket with the Enet cable, switched on the car, assigned the IP address to network adapter (IPV4), typed in the ftp address in firefox browser, then got a timeout error message.

I used the command line to ping the CIC address and didn't receive any ping back.

Can someone suggest how to fix this?

Many thanks!

[QUOTE=vespa;18314028]Many thanks to Rotary Rasp and many others for developing these tools and techniques, I just combined several approaches to find a 12 step program. Here goes:

1. Get a ENET cable (yes, even though e9x doesn't normally use ENET). These typically end up costing about $5 by the time you pay for shipping and everything, but you can certainly save some money by making your own. Search eBay for "bmw enet", see this example for pre-made cables, or make your own with these instructions.
2. Set your PC/Android/Mac ethernet port to IP: 169.254.199.98, subnet: 255.255.255.0, Gateway: 169.254.199.99, any DNS
3. Connect the cable and turn on the car (acc mode is fine)
4. In your web browser go to: ftp://169.254.199.99
5. It should prompt for a login, user name is "root", password is either "Hm83stN)" or "cic0803"
6. Click the link to go up a directory a couple of times then browse to /HBpersistence/normal and download the file "generalPersistencyData_DiagnosticSWTControlle r"
7. Disconnect from the car and get that file into Windows
8. Open the file in a hex editor like Hxd http://mh-nexus.de/downloads/HxDSetupEN.zip
9. Press CTRL-F to search, change the search mode to "Hex" and then search for "01 01 00 1B. Note that the data just before this should read "3F 01 00 00", otherwise see 9a below.
10. Highlight and delete everything prior to "01 01 00 1B
11. Go to line (offset) 130 and delete the last block and everything after. The data to be deleted should begin with "3F 01", otherwise see 11a below.
12. Save the file as "a.hex", which should be exactly 319 bytes


Alternative options:
1a. Use a very particular USB-Ethernet adapter per a thread on the other board titled "showthread.php?11728-Get-1B-file-from-Exx-CIC-WITHOUT-ICOM" In this case the address settings may be:
Static IP:160.48.199.98 Mask:255.255.255.128 Gateway/CIC IP:160.48.199.99
or: Static IP:10.250.89.1 Mask:255.255.0.0 Gateway/CIC IP:10.250.89.2
2a. Use tftp32 to turn your computer into the host and force the CIC to the IP address of your choosing. Set your PC to a static IP address (e.g. 192.168.10.10/255.255.255.0) Launch TFTD32 and bind it to your wired adapter. Under the options tab, set the start address to 192.168.10.11 with at least 2 for the pool size. Reboot your CIC by pressing the VOLUME button for about 30 seconds. The CIC will now be accessible at the address you specified, 192.168.10.11 in this case. See post #200 for more details.
4a. Use tftp32, WinSCP, or similar to make the FTP connection. You can check the "anonymous" box to login without a password. In this case the file will be called "data03" and located at /mnt/hbdebug/
9a. Sometimes the 1b file is not 319 bytes. The data that you cut in step 10 should end with "...01 3F 01 00 00" where "01 3F" is big endian hex for 319. If you have something different you need to translate it and cut the file accordingly. Note that most online hex-decimal converters expect little endian so to translate 01 3F, enter 3F01.
11a. Sometimes the download process inserts extra carriage returns (hex "0D") into the file and fsc.exe will give an error "Version after create () = 0xD1". It seems normal files have only one instance of "0D" near the end so try deleting any earlier instances until you get to 319 bytes. See more advanced detail in the bmw coding thread "get 1b file from Exx CIC without ICOM" starting at post #296.
[/quote]
Appreciate 0
      06-11-2018, 03:10 PM   #291
Ibo24
New BMW owner
Ibo24's Avatar
Belgium
28
Rep
234
Posts

Drives: BMW 320d
Join Date: Jan 2012
Location: Belgium

iTrader: (0)

Garage List
Hi all,

Small question.

After using TFTPD64, linking the CIC to IP 192.168.0.1 I can access the CIC but when I want to download the SWT file, I always get Access Denied.

Any help on this ... ?
Appreciate 0
      06-24-2018, 06:58 AM   #292
Najt
Second Lieutenant
No_Country
5
Rep
247
Posts

Drives: e92 325D 2008
Join Date: Jan 2010
Location: Europe

iTrader: (0)

hmm. quick question..

I have succesfully got 1b file from e92 335i 2008 via enet cable, with the 169.254.199.99 IP settings...

but when I have tried again with different car ( e90 325i 2008), I was not able to ping the car. I have also tried second IP option: 160.48.199.99

still not possible to ping car or connect via ftp. Is there any way when I am connected with the enet cable , how to determine, which MAC addr.or IP address are in the network? to figure out which IP shall I set?
Appreciate 0
      06-24-2018, 06:09 PM   #293
opjose
Captain
opjose's Avatar
122
Rep
704
Posts

Drives: 335xi
Join Date: May 2016
Location: Md

iTrader: (0)

Quote:
Originally Posted by Najt View Post
hmm. quick question..

I have succesfully got 1b file from e92 335i 2008 via enet cable, with the 169.254.199.99 IP settings...

but when I have tried again with different car ( e90 325i 2008), I was not able to ping the car. I have also tried second IP option: 160.48.199.99

still not possible to ping car or connect via ftp. Is there any way when I am connected with the enet cable , how to determine, which MAC addr.or IP address are in the network? to figure out which IP shall I set?
You would need a PC with a network interface set to promiscuous mode.

Then you could use a sniffer program to watch for packets on the car's network.

The sniffer program can capture a few packets from which you can get the subnet IP addresses.

With the subnet IP's any IP scanner can then search for devices on the same subnet including the car's CIC.
Appreciate 0
      06-25-2018, 05:11 PM   #294
Najt
Second Lieutenant
No_Country
5
Rep
247
Posts

Drives: e92 325D 2008
Join Date: Jan 2010
Location: Europe

iTrader: (0)

hm.. the only thing which I understand is that I need wireshark

- I have tried arp -a on F11 - where I knew correct IP of the car, but in the list, the IP was not there neither
Appreciate 0
      06-25-2018, 08:06 PM   #295
opjose
Captain
opjose's Avatar
122
Rep
704
Posts

Drives: 335xi
Join Date: May 2016
Location: Md

iTrader: (0)

Quote:
Originally Posted by Najt View Post
hm.. the only thing which I understand is that I need wireshark

- I have tried arp -a on F11 - where I knew correct IP of the car, but in the list, the IP was not there neither
If you install WireShark under Linux, it will offer to switch any found network interface into promiscuous mode.

That means the network interface will read and log any packets that are flying by, even those not destined for it.

Wireshark can be used to log those packets and look for reoccurring IP's.

Once you have a few consistent IP addresses you can set the interface to use the same subnet (aka "Network) and any program that can poll and search for devices on the same network, should return the addresses of the car's modules.

If I recall correctly ARP requires some packet exchanges before it can return the mac & IP addresses of the destination packets. Since ARP is only looking for packets on the same subnet it will not return a valid result until you have your computer exchanging packets with the car.

I've read on other threads that people have had success by providing DHCP to the car over ethernet. This requires installing some sort of DHCP service on your PC... I believe they used TFTP and all of the required components to act as a mini-DHCP service. I did not need to resort to this when I tried getting my 1B file originally.
Appreciate 0
      06-27-2018, 11:04 AM   #296
Najt
Second Lieutenant
No_Country
5
Rep
247
Posts

Drives: e92 325D 2008
Join Date: Jan 2010
Location: Europe

iTrader: (0)

hm. I am not user of LInux. only Win. I am not neither familiar with wireshark. so I will need some easy step by step tutorial , how to find out the IP address of the CIC
Appreciate 0
      06-28-2018, 08:18 AM   #297
m_thompson
Major
m_thompson's Avatar
United_States
84
Rep
1,282
Posts

Drives: M-Sport 128i, 328xi, 3.0CS
Join Date: Jun 2008
Location: New England, USA

iTrader: (0)

Garage List
2009 128i  [0.00]
1972 3.0CS  [5.00]
Quote:
Originally Posted by Najt View Post
hm. I am not user of LInux. only Win. I am not neither familiar with wireshark. so I will need some easy step by step tutorial , how to find out the IP address of the CIC
Wireshark works fine with Windows.
__________________
'09 128i - Black Sapphire Metallic\Coral Red\Glacier Silver\N51 DISA\6MT\Navigation\Premium\M-Sport\Heated seats\Xenon Headlights\iPod\Smartphone\Euro Delivery

Appreciate 0
      06-28-2018, 11:08 AM   #298
lnxguy
Captain
136
Rep
828
Posts

Drives: 2009 335D
Join Date: Jun 2016
Location: Barrie

iTrader: (1)

This method is outdated... Use this instead.

http://www.e90post.com/forums/showthread.php?t=1461515
__________________
'09 335D
Appreciate 0
      06-29-2018, 06:49 PM   #299
tom_seddon
Registered
0
Rep
4
Posts

Drives: E90 330i M Sport (N53)
Join Date: Feb 2018
Location: UK

iTrader: (0)

Certainly do try the USB method first! But I had no joy with it, as it saved out invalid data from my car (for whatever reason). I had to use the method described in this thread to retrieve the file using the enet cable, and then pull out the relevant section by hand: http://www.e90post.com/forums/showth...1#post23368111
Appreciate 0
      07-03-2018, 02:16 PM   #300
Najt
Second Lieutenant
No_Country
5
Rep
247
Posts

Drives: e92 325D 2008
Join Date: Jan 2010
Location: Europe

iTrader: (0)

if the usb script will work for me.. I will not bother here
Appreciate 0
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -4. The time now is 11:45 AM.




e90post
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
1Addicts.com, BIMMERPOST.com, E90Post.com, F30Post.com, M3Post.com, ZPost.com, 5Post.com, 6Post.com, 7Post.com, XBimmers.com logo and trademark are properties of BIMMERPOST