Code Monkey home page Code Monkey logo

Comments (19)

ClockSelect avatar ClockSelect commented on August 30, 2024 1

Fixed.

The DataFlash CRC was not correctly computed, since the CRC_MODULE clock was not enabled. So the OFW considered all DF pages as invalid.

from myevic.

ClockSelect avatar ClockSelect commented on August 30, 2024

(Anyway, that's strange: uneless everything has been cleared in the dataflash, the hardware version should always be recovered, even if CRC is bad).

from myevic.

ClockSelect avatar ClockSelect commented on August 30, 2024

Thanks for your reports!

On Mon, Aug 8, 2016 at 9:15 PM, ReikoKitsune [email protected]
wrote:

After uploading your firmware hardware version in the dataflash erased
with following bytes FF FF FF FF.
This can "brick" the device after rolling back to the stock firmware,
since they are using this data to initialize correct LCD 1306 or 1327.

Also, reset dataflash function does not restore correct HW Ver.
The only way is to manually edit dataflash and then upload it.

โ€”
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#2, or mute the thread
https://github.com/notifications/unsubscribe-auth/ATMBmtX0qrsIMB33QxXEKkezILrTNseqks5qd4BTgaJpZM4JfX6o
.

from myevic.

TBXin avatar TBXin commented on August 30, 2024

Good job! Now it's work properly ๐Ÿ‘

from myevic.

slavyk avatar slavyk commented on August 30, 2024

Great work but is possible to restore original HW version?! My eVic was HW1.00... and now is -0.01!

from myevic.

TBXin avatar TBXin commented on August 30, 2024

@slavyk i know one way:

  1. Read dataflash from your device to PC via NFirmwareEditor or python-evic;
  2. Manually edit file via HEX-editor of your choice;
  3. Write dataflash to your device;

Explaining 2nd step: at the beginning of the dataflash file look for FF FF FF FF, and replace them with 64 00 00 00.

from myevic.

slavyk avatar slavyk commented on August 30, 2024

Thanks, TBXin! Now it's 1.00!

from myevic.

ClockSelect avatar ClockSelect commented on August 30, 2024

Sorry for the inconvenience -- loosing the Hardware version is the worst thing that can happen on that box. This should not happen any more (hopefully).
@TXbin: thanks for the recovery method.
Question is: was really the HW version 1.0 before? Some version differ only by the atomizer shunt resistance value, and reseting to 1.0 to, say, a 1.01, will set the shunt resistance value off by .1 ohm, with no other visible effect. All seems to work perfectly. But it will shift all power/temp values by an unpredictable amount.
I guess it's really important to know what is the HW version of the box before messing with the firmware in any ways.

from myevic.

slavyk avatar slavyk commented on August 30, 2024

Yes, it was for sure HW 1.0 before.

from myevic.

slavyk avatar slavyk commented on August 30, 2024

I try the latest version...
clipboard01
After flashing:
clipboard02

from myevic.

TBXin avatar TBXin commented on August 30, 2024

I try the latest version...

@slavyk can you try to upload firmware in the safe mode?

  1. Remove battery
  2. Press and hold plus button
  3. Connect to the USB
  4. Release plus button
  5. Device will be recognized with 0.00 firmware version

Then upload firmware from file.

from myevic.

slavyk avatar slavyk commented on August 30, 2024

Hi! It was not appropriate to use safe-mode. I uploaded the previous version without any problem. All works fine now.

from myevic.

ClockSelect avatar ClockSelect commented on August 30, 2024

What do you mean by "previous version"?
Is there anything preventing you from using the latest version of the software?

from myevic.

slavyk avatar slavyk commented on August 30, 2024

Sorry for my english... ๐Ÿ‘Ž
I mean this: myevic.bin from 13.08, 68.7k
I try to upload latest version with NFE but what happened you can see in images.
So, i use the safe mod, upload official version 3.03 with official firmware updater. After that, using the same firmware updater i upload myevic_encrypted.bin. NFE it's not suported anymore. Now everything works well, i can feel the difference of 0,01 Ohm! As a suggestion, temperature control can be with step 1 degree Celsius? I tried it with version 3.02 patch and even feel the difference, although I would not have believed it!
Thank you for your avesome work! ๐Ÿ‘

from myevic.

TBXin avatar TBXin commented on August 30, 2024

NFE it's not suported anymore

@slavyk ะงั‚ะพ ั‚ั‹ ะธะผะตะตัˆัŒ ะฒ ะฒะธะดัƒ? ะž_ะพ

from myevic.

slavyk avatar slavyk commented on August 30, 2024

I failed to write with NFE-Firmware Updater the new versions of ClockSelect.

from myevic.

TBXin avatar TBXin commented on August 30, 2024

@slavyk it's very strange. Just now successfully uploaded myevic.bin and myevic_enc.bin (latest version from repository).

from myevic.

slavyk avatar slavyk commented on August 30, 2024

Yes you are right! It is very strange! I tried again, right now. It was uploaded without any problems. In the morning I tried several times, but it appeared to me the same error message as in the pictures above.

from myevic.

TBXin avatar TBXin commented on August 30, 2024

@slavyk sometimes USB interfaces stucks, and this is OS issue i guess. After a few minutes all starts working fine.

from myevic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.