Migration to new firmware - autumn 2018

Post Reply
User avatar
_kaktus_
Site Admin
Posts: 1260
Joined: Fri Dec 15, 2017 10:06 pm
Location: PL
Contact:

Migration to new firmware - autumn 2018

Post by _kaktus_ » Fri Sep 28, 2018 10:59 pm

Hi
:mrgreen:

Perhaps some of you are already looking forward to migrating to the new firmware version. :D
Once you have read this guide, it will be possible if you own a module with a serial number beginning with a smaller number: 180623.
As we already know, this is the date of production of the module.

What will be necessary :?:
  • a lot of strong will, some manual skills,
  • STM microcontroller programmer - STLINK-V2,
  • any USB converter <-> RS232 TTL,
  • software tools for loading firmware into the STM32F107RCT6 and ESP8266 microcontrollers,
  • files with new firmware,
  • a few details found in every electronics workshop,
  • hint of madness.
If, after reading this guide, you find that you don't have something from this list, please let it rest, or ask someone who will do it for you.

The manual will be "for advanced", so I will not go into unnecessary details. :P

The device is made up of two modules.
The first one is the main module with µC STM. The second module is the module responsible for WiFi communication with µC ESP.
The software in both modules needs to be updated.

Update process in a nutshell.:
  1. Notify the Geeetech technical team about the willingness to join the "firmware migration autumn - 2018". and provide the serial number of your verification module.
  2. Solder the gold pin to the pads of the module.
  3. Upload transition firmware up to µC STM32F107RCT6, file: 3DWIFI_PIN_infloating.hex & Bootloader3DWifi_V1.0.hex, .
    They will allow you to perform a trick and program the memory of the ESP module without disconnecting both modules.
    After proper programming and starting the system (after about 5 seconds from the start) one of the LEDs will light up. For about 5 seconds.
  4. Solder the necessary wires to the ESP module connector. RxD, TxD. GPIO0 pin should be connected to GND. It is also worth to prepare additional cable from one side soldered to GND. It may be necessary to restart the ESP module manually.
  5. Upload firmware for the ESP module. All software is divided into parts, files:
    blank.bin, boot_v1.2.bin, esp_init_data_default.bin, user1.1.2.2.bin, user2.1.2.22.bin
    If there are problems with synchronization after starting the programming process, the module can be restarted manually. We will do this by touching the end of the cable with GDN potential to the RESET lead of the ESP module.
  6. Unsolder the added wires.
  7. Upload proper firmware to µC STM, file: 3DWIFI_V1.02.009.hex.
  8. Notified the Geeetech team about the lucky completion of the migration procedure to the new software. We must provide the serial number of our module.
  9. We look forward to hearing from the Geeetech team about the completion of technical operations.
  10. Configure the module according to the user manual. The configuration of the WiFi home network should be retained.

IMPORTANT:
We do not send information to the Geeetech team with requests for help or detailed information about migration and the like.
This will be ignored. :!:


HIGHLY IMPORTANT:
Do not erase the entire µC STM memory space. The memory contains some stored data, deleting them will immobilize the device. :!: :!: :!:
As a consolation. :D This procedure is safe and tested by various people (including myself). By following the description you will achieve success.
Of course, you do everything at your own risk. If you spoil something you can only make claims to yourself. :roll:

One remark. If someone uses power from a USB <-> RS232 adapter, he must remember that the performance of this power source is relatively small - about 50mA. This is far too little to carry out tests of the device's functioning.
Minimum - recommended current efficiency of the PSU is 500mA.

The power supply from the adapter is sufficient for the programming. When the ESP module is set to firmware loading mode, it consumes about 40mA of current.


Firmware files for µC STM contain basic configuration and there is no need to configure memory addresses during the operation.
Firmware files for µC ESP require careful detailed configuration. It is also necessary to make a few additional settings in the loader.

INFORMATION PATTERN 1 for the Geeetech team:
subject of the message:
Migration to firmware autumn 2018 - Request for verification of serial number.
Content:
Good morning.
My name is: Albert Einstein.
Please verify the serial number of my 3DWiFi module: XXXXXX3DWFXXXXXXX.
Thank you.
INFORMATION PATTERN 2 to the Geeetech team:
subject of the message:
Migration to firmware autumn 2018 - Request for completion of technical activities.
Content:
Good morning.
My name is: Albert Einstein.
My module has successfully migrated. Please complete the technical steps. I give the serial number of my 3DWiFi module: XXXXXX3DWFXXXXXXX.
Thank you.
In your messages, please enter the correct serial number of your module and your first and last name.
The mail will be handled by the "automat", so any deviations will ignore the message.
:!:

Update process with a few hints:
Links to download the software:
  • firmware package.
    The location contains 4 folders:
    • ARM – firmware files for μC ARM32.
    • ESP – firmware files for μC ESP.
    • auto_upgrade-full – firmware files to perform an automatic update test after migration. The Geeetech team has prepared a separate manual with a detailed description of this procedure. In short: copy the contents of the directory to the memory card. After placing the memory card in the module slot and connecting the power supply, the process will start automatically. After the migration, any updates will run this way.
    • Android – new application for the Android environment in version 2.1.
      At the moment, the app is not yet available at GooglePlay Newsstand.
Email address for sending notifications:
feedback@geeetech.com

Helpful photos and screenshots:

circuit leads:
[/size]
leadouts.jpg
Leadouts.
leadouts.jpg (396.45 KiB) Viewed 12155 times
configuring the "ESP8266 DOWNLOAD TOOL" utility.
Download_tool_ESP8266.png
Configuring the ESP utility.
Download_tool_ESP8266.png (443.21 KiB) Viewed 12155 times
a few additional photographs.
DSC08148_v1.JPG
A kaktus module.
DSC08148_v1.JPG (408.99 KiB) Viewed 12155 times
a module perfectly prepared to start the migration.
41729929_480135162489699_3598014135310221312_n.jpg
A Tingjian module.
41729929_480135162489699_3598014135310221312_n.jpg (251.19 KiB) Viewed 12155 times
41769835_1064269823755418_432883173873942528_n.jpg
41769835_1064269823755418_432883173873942528_n.jpg (214.96 KiB) Viewed 12155 times
41816456_2102793273319799_7309532810165878784_n.jpg
41816456_2102793273319799_7309532810165878784_n.jpg (215.5 KiB) Viewed 12155 times
41817471_549211968872521_1292562560825950208_n.jpg
41817471_549211968872521_1292562560825950208_n.jpg (155.26 KiB) Viewed 12155 times

A few words about the introduced functional changes.

Revision Description:
  1. Repair the defects existing in the leveling.
  2. Optimize the process to improve the command response speed and file transfer response speed.
  3. Add WiFi module and motherboard auto-upgrade function.
  4. Fix the problem of printing pause and stop response too slow.
  5. Fix the stability problem of frequent dropped calls.
  6. Fix other bugs such as operations.


If you have successfully completed the migration, from now on you should use the application in the version marked with the number at least 2.0.
The installation version is located in the migration repository.
;)

We have put a lot of effort and work to make this procedure as simple, as possible. Please appreciate it.

We wish you only successful migration.
:D

:mrgreen:

usage: esptool [-h] [--chip {auto,esp8266,esp32}] [--port PORT] [--baud BAUD]
              [--before {default_reset,no_reset,no_reset_no_sync}]
              [--after {hard_reset,soft_reset,no_reset}] [--no-stub]
              [--trace] [--override-vddsdio [{1.8V,1.9V,OFF}]]
              {load_ram,dump_mem,read_mem,write_mem,write_flash,run,image_info,make_image,elf2image,read_mac,chip_id,flash_id,rea
d_flash_status,write_flash_status,read_flash,verify_flash,erase_flash,erase_region,version}
              ...

esptool.py v2.5.0 - ESP8266 ROM Bootloader Utility

positional arguments:
 {load_ram,dump_mem,read_mem,write_mem,write_flash,run,image_info,make_image,elf2image,read_mac,chip_id,flash_id,read_flash_statu
s,write_flash_status,read_flash,verify_flash,erase_flash,erase_region,version}
                       Run esptool {command} -h for additional help
   load_ram           Download an image to RAM and execute
   dump_mem       Dump arbitrary memory to disk
   read_mem         Read arbitrary memory location
   write_mem        Read-modify-write to arbitrary memory location
   write_flash        Write a binary blob to flash
   run                 Run application code in flash
   image_info        Dump headers from an application image
   make_image     Create an application image from binary files
   elf2image          Create an application image from ELF file
   read_mac          Read MAC address from OTP ROM
   chip_id             Read Chip ID from OTP ROM
   flash_id            Read SPI flash manufacturer and device ID
   read_flash_status   Read SPI flash status register
   write_flash_status  Write SPI flash status register
   read_flash          Read SPI flash content
   verify_flash        Verify a binary blob against flash
   erase_flash        Perform Chip Erase on SPI flash
   erase_region      Erase a region of the flash
   version             Print esptool version

optional arguments:
 -h, --help            show this help message and exit
 --chip {auto,esp8266,esp32}, -c {auto,esp8266,esp32}
                       Target chip type
 --port PORT, -p PORT  Serial port device
 --baud BAUD, -b BAUD  Serial port baud rate used when flashing/reading
 --before {default_reset,no_reset,no_reset_no_sync}
                       What to do before connecting to the chip
 --after {hard_reset,soft_reset,no_reset}, -a {hard_reset,soft_reset,no_reset}
                       What to do after esptool.py is finished
 --no-stub         Disable launching the flasher stub, only talk to ROM
                       bootloader. Some features will not be available.
 --trace, -t         Enable trace-level output of esptool.py interactions.
 --override-vddsdio [{1.8V,1.9V,OFF}]
                       Override ESP32 VDDSDIO internal voltage regulator (use
                       with care)
Examples of use
esptool write_flash --flash_mode dout --flash_size 1MB 0x0 boot_v1.2.bin 0x1000 user1.1.2.2.bin 0x81000 user2.1.2.22.bin 0xFB000 blank.bin 0xFC000 esp_init_data_default.bin 0xFE000 blank.bin
On the forum I help to use the rod, I don't give fish.
Geeetech Prusa I3 M201 Dual extruder Mixcolor 3D printer, bought 2017-12-19, already built, in the cognitive and improvement phase
Geeetech filament, ABS only
Geeetech 3D WiFi Module for 3D Printer, bought 2018-04-15, He got a new life, and still lies in a drawer.
Positively frenzied customer of Getech Technology.

User avatar
_kaktus_
Site Admin
Posts: 1260
Joined: Fri Dec 15, 2017 10:06 pm
Location: PL
Contact:

Re: Migration to firmware - autumn 2018

Post by _kaktus_ » Fri Sep 28, 2018 11:00 pm

The files on the FTP server are to be completed tomorrow (Saturday). 8-)
On the forum I help to use the rod, I don't give fish.
Geeetech Prusa I3 M201 Dual extruder Mixcolor 3D printer, bought 2017-12-19, already built, in the cognitive and improvement phase
Geeetech filament, ABS only
Geeetech 3D WiFi Module for 3D Printer, bought 2018-04-15, He got a new life, and still lies in a drawer.
Positively frenzied customer of Getech Technology.

User avatar
William
Site Admin
Posts: 6340
Joined: Tue Jun 07, 2016 9:38 am

Re: Migration to new firmware - autumn 2018

Post by William » Sat Sep 29, 2018 10:45 pm

That's awesome!
-Keep your mind and try to test it. :)
-Everything will be fun!-Support all Getech printer.
-You can ask me the questions and I will kindly reply.
-Respect others is the best way you can get help!

User avatar
_kaktus_
Site Admin
Posts: 1260
Joined: Fri Dec 15, 2017 10:06 pm
Location: PL
Contact:

Re: Migration to new firmware - autumn 2018

Post by _kaktus_ » Sun Sep 30, 2018 6:22 pm

Hello.
:mrgreen:

At the moment, a software package has been made available on the server, which can already be downloaded.
migration-autumn_2018.zip
:D
On the forum I help to use the rod, I don't give fish.
Geeetech Prusa I3 M201 Dual extruder Mixcolor 3D printer, bought 2017-12-19, already built, in the cognitive and improvement phase
Geeetech filament, ABS only
Geeetech 3D WiFi Module for 3D Printer, bought 2018-04-15, He got a new life, and still lies in a drawer.
Positively frenzied customer of Getech Technology.

Post Reply