diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2021-09-16 20:09:33 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2021-09-16 20:11:42 -0400 |
commit | 59bd51d207747efcdd37b5577f817cd95ff5edbb (patch) | |
tree | b133644e89d0cb7d2b635d52890633ade2638c7d /docs | |
parent | 46167cae672073b1ce0aeb4966b30c28bc47957e (diff) | |
download | kutter-59bd51d207747efcdd37b5577f817cd95ff5edbb.tar.gz kutter-59bd51d207747efcdd37b5577f817cd95ff5edbb.tar.xz kutter-59bd51d207747efcdd37b5577f817cd95ff5edbb.zip |
avrsim: Change default speed to 16Mhz and default baud to 250K
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/Debugging.md | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/docs/Debugging.md b/docs/Debugging.md index a9d35383..59e5e483 100644 --- a/docs/Debugging.md +++ b/docs/Debugging.md @@ -219,13 +219,12 @@ cd /path/to/klipper make menuconfig ``` -and compile the micro-controller software for an AVR atmega644p, set -the MCU frequency to 20Mhz, and select SIMULAVR software emulation -support. Then one can compile Klipper (run `make`) and then start the -simulation with: +and compile the micro-controller software for an AVR atmega644p and +select SIMULAVR software emulation support. Then one can compile +Klipper (run `make`) and then start the simulation with: ``` -PYTHONPATH=/path/to/simulavr/src/python/ ./scripts/avrsim.py -m atmega644 -s 20000000 -b 250000 out/klipper.elf +PYTHONPATH=/path/to/simulavr/src/python/ ./scripts/avrsim.py out/klipper.elf ``` Then, with simulavr running in another window, one can run the @@ -246,7 +245,7 @@ the directions above, but run avrsim.py with a command-line like the following: ``` -PYTHONPATH=/path/to/simulavr/src/python/ ./scripts/avrsim.py -m atmega644 -s 20000000 -b 250000 out/klipper.elf -t PORTA.PORT,PORTC.PORT +PYTHONPATH=/path/to/simulavr/src/python/ ./scripts/avrsim.py out/klipper.elf -t PORTA.PORT,PORTC.PORT ``` The above would create a file **avrsim.vcd** with information on each |