Giter Site home page Giter Site logo

lvehe / tlsrcomprog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pvvx/tlsrcomprog

0.0 1.0 0.0 828 KB

TLSR826x programmator via COM port

License: The Unlicense

Python 5.84% C 81.49% C++ 10.08% Makefile 0.67% Assembly 1.80% Batchfile 0.13%

tlsrcomprog's Introduction

TlsrComProg

TLSR826x programmator via COM port

(!) Limitations: Only TLSR8266 and TLSR8269 Chip Used (modules JDY-10/M, E104-BT05, E104-BT10N/M, ...)

Telink SWIRE simulation on a COM port + COM Flasher.

Flash programming for TLSR826x chips using only a COM port.

SCH

Usage: TlsrComProg [-h] [--port PORT] [--tact TACT] [--fldr FLDR]
                   [--baud BAUD]
                   {rf,we,wf,es,ea} ...

TLSR826x Floader version 25.02.20 (beta)

positional arguments:
  {rf,we,wf,es,ea}      Run TlsrComProg {command} -h for additional help
    rf                  Read Flash to binary file
    we                  Write file to Flash with sectors erases
    wf                  Write file to Flash without sectors erases
    es                  Erase Region (sectors) of Flash
    ea                  Erase All Flash

optional arguments:
  -h, --help            show this help message and exit
  --port PORT, -p PORT  Serial port device (default: COM1)
  --tact TACT, -t TACT  Time Activation ms (0-off, default: 600 ms)
  --fldr FLDR, -f FLDR  Filename floader (default: floader.bin)
  --baud BAUD, -b BAUD  UART Baud Rate (default: 230400)

Samples:

Write Flash: python.exe TlsrComProg.py -p COM3 -t 5000 we 0 8266_jdy_10.bin

================================================
TLSR826x Floader version 26.02.20
------------------------------------------------
Open COM3, 230400 baud...
Reset module (RTS low)...
Activate (5000 ms)...
Connection...
Load <floader.bin> to 0x8000...
Bin bytes writen: 1860
CPU go Start...
------------------------------------------------
ChipID: 0x5325 (TLSR8266), Floader ver: 0.1
Flash JEDEC ID: 514013, Size: 512 kbytes
------------------------------------------------
Inputfile: 8266_jdy_10.bin
Write Flash data 0x00000000 to 0x0000a984...
------------------------------------------------
Done!

Read Flash: python.exe TlsrComProg.py -p COM3 rf 0 0x80000 ff.bin

================================================
TLSR826x Floader version 26.02.20
------------------------------------------------
Open COM3, 230400 baud...
Reset module (RTS low)...
Activate (600 ms)...
Connection...
Load <floader.bin> to 0x8000...
Bin bytes writen: 1860
CPU go Start...
------------------------------------------------
ChipID: 0x5325 (TLSR8266), Floader ver: 0.1
Flash JEDEC ID: 514013, Size: 512 kbytes
------------------------------------------------
Read Flash from 0x000000 to 0x080000...
Outfile: ff.bin
------------------------------------------------
Done!

Erase All Flash: python.exe TlsrComProg.py -p COM3 ea

================================================
TLSR826x Floader version 26.02.20
------------------------------------------------
Open COM3, 230400 baud...
Reset module (RTS low)...
Activate (600 ms)...
Connection...
Load <floader.bin> to 0x8000...
Bin bytes writen: 1860
CPU go Start...
------------------------------------------------
ChipID: 0x5325 (TLSR8266), Floader ver: 0.1
Flash JEDEC ID: 514013, Size: 512 kbytes
------------------------------------------------
Erase All Flash ...
------------------------------------------------
Done!

Examples of using

UartFloader Source Code

tlsrcomprog's People

Contributors

pvvx avatar

Watchers

 avatar

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.