Code Monkey home page Code Monkey logo

Comments (4)

spacemeowx2 avatar spacemeowx2 commented on August 30, 2024

You can provide the dump range in the command line argument:

> blflash dump -h
Dump the whole flash to a file

USAGE:
    blflash.exe dump [OPTIONS] <output> --port <port> [ARGS]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -b, --baud-rate <baud-rate>                    Flash baud rate [default: 1000000]
        --initial-baud-rate <initial-baud-rate>    Initial baud rate [default: 115200]
    -p, --port <port>                              Serial port

ARGS:
    <output>    Output file
    <start>     start address [default: 0]
    <end>       end address [default: 0x100000]

blflash dump -p COM1 dump.bin 0 0x200000

from blflash.

OevreFlataeker avatar OevreFlataeker commented on August 30, 2024

Thanks, I know this now, but I still need the original firmware :-( I might have forgot to say that after dumping I reflashed the device...

from blflash.

ccoetzer avatar ccoetzer commented on August 30, 2024

Here is the original firmware
dump.zip

I have more gray hair thanks to something that should be simple.

  1. Raspberry Pi can not do 2 000 000 baud by default, you need to switch uarts else you get garbage when opening a console. screen /dev/ttyAMA0 2000000

  2. Boot pin needs to be held onto V33 when the device boots to enable programming. (Not V+ else dead device)

  3. For some reason -flashing happens at a different baud
    ./blflash dump -b 230400 -p /dev/ttyAMA0 dump.bin 0 0x200000

from blflash.

OevreFlataeker avatar OevreFlataeker commented on August 30, 2024

Thanks for the firmware! Yes, I realized that too, that CP2102 isn't capable of doing 2M, the FT232R dongles work well! Now I still have the problem, that when reflashing the ble_wifi_demo the board reset-loops as soon as Wifi is enabled... I can't get Wifi to work anymore with any of the examples. As if something got overwritten/erased that is needed for them...

from blflash.

Related Issues (12)

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.