Code Monkey home page Code Monkey logo

Comments (10)

kuba2k2 avatar kuba2k2 commented on August 18, 2024

It is supported, if it has RTL8710BX chip.

How far along does it get before it shows that error? Does it terminate at the beginning or further in the process?

Are you sure the power supply is powerful enough for to power the board?

from ltchiptool.

ferbulous avatar ferbulous commented on August 18, 2024

I actually had the same problem, i just keep repeat flashing until it’s completed.

from ltchiptool.

protectivedad avatar protectivedad commented on August 18, 2024

It is supported, if it has RTL8710BX chip.

I meant it is not listed in the "boards" list. Plus it seems to use a 700k app area, which is causing me issues. But that is for a different discussion.

How far along does it get before it shows that error? Does it terminate at the beginning or further in the process?

It seems like it is sending 51909 bytes.

Are you sure the power supply is powerful enough for to power the board?

No, but I haven't looked into it because it works using the amebaz-image-tool-v2.2. If it was a power supply problem I figure that wouldn't work either.

Just a few points to clarify. I don't have the rts/dtr setup. I manually put the board into download mode. The command I run is:

ltchiptool flash write -d /dev/ttyUSB0 -f ambz hppa11sw-c50ca0.bin

The hppa11sw-c50ca0.bin file is the original firmware I saved.

from ltchiptool.

kuba2k2 avatar kuba2k2 commented on August 18, 2024

Hi,
I've just written a brand new flashing tool for RTL8710 - without relying on rtltool.py anymore. It seems to be stable now, and supports read-retry and hash checking too. The GUI/CLI is obviously the same (ltchiptool), but it's different under-the-hood.

You can get it here - it's not released yet:
https://github.com/libretiny-eu/ltchiptool/tree/feature/flasher-update

from ltchiptool.

protectivedad avatar protectivedad commented on August 18, 2024

I opened up one of the devices to test but I get the same error:

S: <- TX: B1 26 48 E3 F7 4A F9 A0  78 00 90 E0 78 01 90 20  .&H..J..x...x.. 
S: <- TX: 79 02 90 60 79 03 90 21  48 A1 79 22 78 63 78 D0  y..`y..!H.y"xcx.
S: <- TX: F8 8C 01 E3 F7 3A F9 5A                           .....:.Z
S: -> RX: b'\x15'
E: ValueError: Failed to write to 0x8000000
E: |-- File "/home/anthony/ltchiptool/ltchiptool/soc/ambz/flash.py", line 148, in flash_write_raw

I thought maybe it was a power supply issue so I hooked up a supply that would power the device but got the same error.

I will just close this because the work around is to use the other tool to get it on for the first time and now that the ota1/ota2 spacing is fixed I can update using OTA. I'm going to close up the device and let it go.

Thanks for the help.

from ltchiptool.

kuba2k2 avatar kuba2k2 commented on August 18, 2024

As I said in my previous comment, the updated version is not released yet. You need to clone the branch that I linked. The error you posted originates from the old tool, so your program wasn't updated.

from ltchiptool.

protectivedad avatar protectivedad commented on August 18, 2024

I did:

commit 057f4512d1ba16f4700db20819cf877eb011144f (HEAD -> master, tag: v4.7.0, origin/master, origin/HEAD)
Author: Kuba Szczodrzyński <[email protected]>
Date:   Mon Oct 30 11:38:05 2023 +0100

    [release] v4.7.0

Is that the right one?

from ltchiptool.

Cossid avatar Cossid commented on August 18, 2024

No, that is the master branch, you need to check out the feature/flash-update branch.

from ltchiptool.

protectivedad avatar protectivedad commented on August 18, 2024

Ah! That explains it. I looked at the link but I updated later on and must have switched to the master. Sorry for the trouble.

Edit:

So I felt obligated to test again, with the right branch this time :). It worked.

from ltchiptool.

MiguelAReis avatar MiguelAReis commented on August 18, 2024

Is anyone able to build this branch into an exe file? Thanks

from ltchiptool.

Related Issues (18)

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.