flipperzero-firmware/wiki/Testing.md

37 lines
796 B
Markdown
Raw Normal View History

# Bootloader test
2020-09-30 23:09:52 +00:00
1. `# Clean flash`
2020-09-30 23:07:24 +00:00
2. `make -C bootloader flash` `# Load bootloader`
3. `# reboot device`
2020-09-30 23:09:52 +00:00
* Press right
* Press left
* Wait 0.1 s
* Release left
* Release right
4. Wait 0.5 s
2020-09-30 23:07:24 +00:00
5. `# Expect no FW`
2020-09-30 23:09:52 +00:00
* Expect: no uart welcome message
* Expect: red led on
* Expect: no USB
2020-09-30 23:07:24 +00:00
6. `# reboot device and go to DFU`
2020-09-30 23:09:52 +00:00
* Press left
* Press right
* Wait 0.1 s
* Release left
* Wait 0.5 s
* Release right
7. Wait 0.5 s
2020-09-30 23:07:24 +00:00
8. `# Expect DFU`
2020-09-30 23:09:52 +00:00
* Expect: blue led on
* Expect: USB: DFU
2020-09-30 23:07:24 +00:00
9. `target_f2/deploy-dfu.sh` `# load FW`
10. `# reboot device`
2020-09-30 23:09:52 +00:00
* Press right
* Press left
* Wait 0.1 s
* Release left
* Release right
11. Wait 0.5 s
2020-09-30 23:07:24 +00:00
12. `# Expect FW`
2020-09-30 23:09:52 +00:00
* Expect: uart welcome message
* Expect: USB Flipper CDC