purchase address:http://www.esp8266module.com/24g58g-dual-band-wifi-module-internet-of-things-wifi-analysis-smart-home-industrial-grade-5g-module-p2119397.html
The following information is based on Ubuntu 14.04. After installing Ubuntu on VirtualBox, set shared folders or install Samba for the convenience of Windows and moving files, Firmware Build and Download.
-Select Shared Folder
-Reboot after setting Group to access Shared Folder. [User account: inc]
$ cd /media
$ ls
sf_share
$ sudo usermod –aG vboxsf inc
$ sudo shutdown –r now
-Go to Shared Folder after Rebooting.
$ cd /media/sf_share
$ ls
wf6000_sdk.tar.gz
$ sudo apt-get install samba samba-common
$ sudo apt-get install system-config-samba cifs-utils
$ cd ~
$ mkdir wf6000
$ sudo vi /etc/samba/smb.conf
[wf6000]
comment = ubuntu samba
read only = no
writable = yes
path = /home/inc/wf6000
guest ok = no
browseable = yes
public = yes
writable = yes
$ sudo smbpasswd -a wf6000
…
$ sudo /etc/init.d/samba restart
$ cd /home/inc
$ sudo tar xfz xtensa-IncCacheV7-elf.tar.gz
$ sudo chmod –R +x xtensa-IncCacheV7-elf
$ cd ~
$ vi .bashrc
…
export PATH=${PATH}:~/xtensa-IncCacheV7-elf/bin
$ source .bashrc
1.2.1 Copy wf6000_sdk.tar.gz to the working location (samba directory), decompress it, and change Permission
$ cp wf6000_sdk.tar.gz /home/inc/wf6000
$ sudo tar xfz wf6000_sdk.tar.gz
$ chmod –R +x wf6000_sdk
1.2.2 Go to examples of wf6000_sdk and proceed with firmware Build. If Build is normal, you can check the below Massage without error.
$ cd ./wf6000_sdk/examples
$ ls
at_command 、 ping 、 sample 、 sniffer、 wdt
gpio_ext_intr 、 pwm 、 scan 、 socket、 wlan_operation
gpio_led_blink 、 rf_tuning 、 security_engine 、 sw_timer
$ cd ping
$ ls
build.sh inc 、 src
$ ./build.sh
======================================= CONFIG
CURR_DIR: /home/kdk/kdk_sb/wf6000/release_sdk/wf6000_sdk/examples/ping
USER_DIR: ping
======================================= CLEAN
rm: cannot remove ‘*.bin’: No such file or directory
sf_loader/Makefile:139: bin_info_cfg: No such file or directory
make: *** No rule to make target `bin_info_cfg'. Stop.
======================================= COMPILE
DRAM code offset : 0x28000
SF code MAX size : 1024 KB
Enable a IRAM OVERLAP in SF_Loader, change a MAX_TEXT_SIZE from 118783 to 131072 bytes
DRAM : starting from 0x3ffa8000 to 0x3ffbffff, length(0x18000)
(rodata+data: 96KB/160KB) + (bss: 144KB) + (mac_buff: 160KB) = 400KB
IRAM : starting from 0x40000000 to 0x40013fff, length(0x14000)
SROM_CODE : srom_text_size : 0x000909f0 hdr->srom_size : 0x244
SROM_RO_DATA : srom_ro_data_size : 0x00000000 hdr->srom_size : 0x244
FW INFO : AB5 version(0x1A651140:V4416) for SF_LOADER (align 0x1000)
DRAM 0x3ffa8000 (0096KB:0160KB), CRC16(0xc6c5)
IRAM 0x40000000 (0080KB:0128KB), CRC16(0xd155)
SROM 0x5004c000 (0580KB:1024KB), CRC16(0xb2ba)
Total sizes : 888832 (0xd9000) Bytes.
4+0 records in
4+0 records out
16384 bytes (16 kB) copied, 0.00353527 s, 4.6 MB/s
217+0 records in
217+0 records out
888832 bytes (889 kB) copied, 0.000856974 s, 1.0 GB/s
======================================= END
$
a、FW_xxxx_AA0_SC0_S401N_MC400D_6L3T_6000.bin (Firmware) Select BANK1 or BANK2 to download Firmware
b、FW_xxxx_AA0_SC0_S401N_MC400D_6L3T_6000_ROM.bin (SF_Loader + Firmware) If you select BANK0 to download, SF_Loader is downloaded to BANK0 and Firmware is downloaded to Bank1.
6.When Firmware is normally downloaded, Firmware transfer successful Massage is displayed on the right side. After this, COM Port is automatically closed.
2.If you change the current MAC Address, click WRITE to change MAC Address after editing MAC Address at the bottom
If WF6000 SFP2501 EVB is not operated and Firmware is not downloaded to DM, select MASK ROM to download Firmware