Add example for run code in SRAM

Signed-off-by: Huang Rui <vowstar@gmail.com>
pull/27/head
Huang Rui 2019-04-29 20:05:15 +08:00
parent 3c3bde2704
commit 30a6f4a81a
1 changed files with 12 additions and 3 deletions

View File

@ -73,13 +73,22 @@ For fast programming,
# Dan could use 3000000 baudrate!
python3 kflash.py -b 3000000 -B dan firmware.bin
Execute user code directly in SRAM and view in serial terminal,
The baudrate is 115200, not download baudrate
.. code:: bash
python3 kflash.py -b 4500000 -B goE -s -t hello_world
Requirements
------------
- Python3
- PySerial
- python>=3 or python=2.7
- pyserial>=3.4
- pyelftools>=0.25
Also supports python2, but python3 is recommended.
Python3 is recommended.
Windows Requirements
~~~~~~~~~~~~~~~~~~~~