Work In Progress Unofficial STM32 branch (Vaporesso, Hotcig)

Discussion in 'Suggestions' started by Surfparadise, Jun 15, 2018.

  1. Surfparadise

    Surfparadise New Member

    Joined:
    Jun 15, 2018
    Messages:
    1
    Likes Received:
    0
    Hi,

    Is it planned to support swag vaporesso in the near future?

    Thanks
     
  2. maelstrom2001

    maelstrom2001 Developer
    NFE Team

    Joined:
    May 4, 2017
    Messages:
    1,339
    Likes Received:
    1,193
    Reopen
    [​IMG]
    If this topic is still interesting, unofficial support for TPCBAT(-2) version will be published here. SPCBAT hardware remains unsupported.
     
    joeblowma, Korwin and Greg Smith like this.
  3. Korwin

    Korwin New Member

    Joined:
    May 24, 2017
    Messages:
    5
    Likes Received:
    4
    Wow... great news, I love this mod, but 30W in TC for MTL vaping is terrible... thanks for this support!
     
    maelstrom2001 likes this.
  4. maelstrom2001

    maelstrom2001 Developer
    NFE Team

    Joined:
    May 4, 2017
    Messages:
    1,339
    Likes Received:
    1,193
    Well, let's begin :)

    How to flash Vaporesso SWAG 1st gen, TPCBAT hardware (STM32):
    1. Download DfuSe Demo directly from STMicroelectronics site or here, and attached archive.
    2. Unpack, install and run DfuSe Demo.
    3. Remove battery, hold Fire button and connect the box to PC, install DFU drivers (if necessary). DfuSe Demo should detect SWAG in DFU mode:
      [​IMG]
      Now Fire button can be released.
    4. Press "Choose..." button and select unpacked Swag_200203.dfu.
    5. Press "Upgrade" button:
      [​IMG]
    6. After firmware upgrade press "Leave DFU mode" button or simply disconnect the box.
    7. Install battery and use your SWAG as simple as JWEI box with the recent NToolbox.
    Note: Firmware Updater is not compatible with SWAG, use DfuSe Demo to flash ArcticFox or OEM firmware (v1.03 attached).
    Note 2: since STM32 branch is published, there is no need to sham to be another MCU. Builds since 200503 will have STM32 PID/VID and will be compatible with the recent nightly NToolbox: https://nfeteam.org/forum/threads/public-beta-stm32-branch.4654/
     

    Attached Files:

    #5 maelstrom2001, Feb 3, 2020
    Last edited: May 4, 2020
  5. Korwin

    Korwin New Member

    Joined:
    May 24, 2017
    Messages:
    5
    Likes Received:
    4
    Guys, You are awesome... works like a charm....
    Great work!!! ;)
     
    slavyk and maelstrom2001 like this.
  6. Maxonchik

    Maxonchik New Member

    Joined:
    Feb 16, 2020
    Messages:
    1
    Likes Received:
    0
    Не определяет swag.

    Please keep the conversation in English in main forums. Moderator.
     
  7. UliBär

    UliBär New Member

    Joined:
    Mar 1, 2020
    Messages:
    1
    Likes Received:
    1
    First post ever here and it is a big THANK YOU!
    Now the Swag is at least three times better than before! :)
     
    maelstrom2001 likes this.
  8. maelstrom2001

    maelstrom2001 Developer
    NFE Team

    Joined:
    May 4, 2017
    Messages:
    1,339
    Likes Received:
    1,193
    Sorry for a clickbate photo
    [​IMG]
    No chances to SWAG II support. But there is no major problems to use TPCBAT9 SWAG PCB in the restyled body.
     
  9. lyaschuchenko

    lyaschuchenko New Member

    Joined:
    Nov 14, 2018
    Messages:
    1
    Likes Received:
    0
    hi, sorry for offtopic, for Pico X available?

    Надіслано від мого Redmi S2, використовуючи Tapatalk
     
  10. maelstrom2001

    maelstrom2001 Developer
    NFE Team

    Joined:
    May 4, 2017
    Messages:
    1,339
    Likes Received:
    1,193
  11. maelstrom2001

    maelstrom2001 Developer
    NFE Team

    Joined:
    May 4, 2017
    Messages:
    1,339
    Likes Received:
    1,193
    Are you ready to solder something?
    [​IMG]
     
    TomHa, sexy mazafaka and punkt like this.
  12. ivanneko

    ivanneko New Member

    Joined:
    May 24, 2017
    Messages:
    26
    Likes Received:
    5
    Not a problem, can it be a little more detailed ?
    Thanks in advance..
     
    maelstrom2001 likes this.
  13. maelstrom2001

    maelstrom2001 Developer
    NFE Team

    Joined:
    May 4, 2017
    Messages:
    1,339
    Likes Received:
    1,193
    Hello!
    Some time ago I bought Armour Pro based on STM32. I found the way to replace OEM bootloader to run custom firmware, but it is quite hard. If anyone is interested in this topic, in the future there will be a port of RedPanda for Vaporesso Armour Pro. Unofficially, for sure.
     
    TomHa, ivanneko and nosferatus like this.
  14. maelstrom2001

    maelstrom2001 Developer
    NFE Team

    Joined:
    May 4, 2017
    Messages:
    1,339
    Likes Received:
    1,193

    The short guide how to flash Vaporesso Armour Pro with custom firmware (TPCBABM3 hardware only)

    First, the short and standard disclaimer: you agree that we are not responsible for the success or failure of your actions. Agreeing that you confirm that you have sufficient skills required by this instruction.

    First, you have to replace the bootloader.
    Take the box apart, see bottom side of the PCB.
    [​IMG]
    MCU BOOT pin is marked with red arrow. Normally, it is tied to GND net. We have to break GND net and insert resistor between this pin and GND. As you can see on photo, I've used 0805 4.7 kOhm. Cut the GND trace as it marked with magenta line and solder the resistor in the break. Now you have BOOT pin tied to ground through this resistor, not directly.
    Now, short 2 points marked with green arrows and connect PCB to USB. By this you'll put MCU in native hardware DFU mode (high logic level on BOOT pin during power on), and with DfuSe Demo utility flash the modified boot (boot.dfu). If you have an error during flashing, nevermind it, just disconnect the board from USB, short again 2 points marked with green arrows, connect the board to USB and flash the boot again.
    After replacing the bootloader you can flash OEM firmware attached to this post or ArcticFox build as well.

    The procedure of firmware upgrade is the similar to guide written here.

    [​IMG]


    Updates

    Build 200617:
    Minor bugfixes.

    Build 200610:
    Minor bugfixes.

    Build 200519:
    Bugfixes in Autofire event, screen hold.

    Build 200518:
    Fixed power consumption in Deep Sleep mode (LCD Sleep In).

    Build 200516:
    Fixed hang on exit Powerbank mode (re-detect atomizer stuck);
    Added screen fading.
     

    Attached Files:

    #15 maelstrom2001, May 14, 2020
    Last edited: Jun 16, 2020
  15. ivanneko

    ivanneko New Member

    Joined:
    May 24, 2017
    Messages:
    26
    Likes Received:
    5
    Great job :D
    Thank you very much
     
    maelstrom2001 likes this.
  16. maelstrom2001

    maelstrom2001 Developer
    NFE Team

    Joined:
    May 4, 2017
    Messages:
    1,339
    Likes Received:
    1,193

    Hotcig RSQ unofficial

    First, the short and standard disclaimer: you agree that we are not responsible for the success or failure of your actions. Agreeing that you confirm that you have sufficient skills required by this instruction.

    The procedure of firmware upgrade is the similar to guide written here.
    To enter DFU mode follow next steps:
    1. Remove battery.
    2. Press and hold + and - buttons.
    3. Connect the box to PC.
    4. In 3..4 seconds display will show "Upload Settings" message and device will be detected by DfuSe Demo and you can flash ArcticFox or OEM firmware with the manual mentioned above.

    Updates

    Build 200702:
    More responsive wake up.

    Build 200701:
    Fixed slow atomizer poll on wake up.

    Build 200629:
    LED light duration, ability to light without atomizer on single Fire click.

    Build 200628a:
    LED color settings.

    Build 200628:
    More plausible NTC (board temperature) measurement.

    Build 200627:
    Early beta.
     

    Attached Files:

    #17 maelstrom2001, Jun 27, 2020
    Last edited: Jul 1, 2020 at 11:23 PM
    spado, joeblowma and gdomenico like this.
  17. joeblowma

    joeblowma Member

    Joined:
    May 17, 2017
    Messages:
    90
    Likes Received:
    64
    "Summer Christmas" is such a wonderful time of the year! RSQ with ArcticFox? Hells yeah!

    Thank you @maelstrom2001 (and anyone else who may have contributed too!); I loved my RSQ but the software it came with was painful to use so it sat.. and sat... until today! Install went off without a hitch, and if I'm seeing this dfu extraction right (yes, sadly I wanted more... extracted the bins from the dfu just to see if I could customize the font :confused:) the bootloader is replaced so if there is an update, does it need to be dfused again?
     
    maelstrom2001 likes this.
  18. maelstrom2001

    maelstrom2001 Developer
    NFE Team

    Joined:
    May 4, 2017
    Messages:
    1,339
    Likes Received:
    1,193
    Hello @joeblowma ! Thank you :) I accidentally bought it in mint condition about month ago, and have to say that now, when there was a bit of spare time to port the firmware, it is my favourite BF mod ever.
    No, RSQ bootloader is untouched, as well as for Swag. It just used to flash AF builds or restore OEM firmware if need with DfuSeDemo. NToolbox does not support DFU protocol, so it can not update these boxes.
    Unfortunately, NFirmwareEditor is not compatible with STM32 binaries due to different memory addressing in Nuvoton and STMicroelectronics.
     
    #19 maelstrom2001, Jul 1, 2020 at 2:34 PM
    Last edited: Jul 1, 2020 at 6:37 PM
    joeblowma likes this.
  19. joeblowma

    joeblowma Member

    Joined:
    May 17, 2017
    Messages:
    90
    Likes Received:
    64
    I too have "accidentally" bought many vape things, like the Pulse 80W I found cheap (new) when I was finally too frustrated to keep using RSQ - and I'm so glad that time is over! Just having consistent TC on this box is more than I thought would happen!

    As much as I'd like everything to work, what is there now is already miles beyond anything I ever expected to see. And speaking for myself at any rate, I'm more happy to see other non-JWEl ports over these two details. Another RSQ update too - thanks again!
     
    maelstrom2001 likes this.