Almost functional OTA support
ota_basic example can receive new image via TCP. However - writing to flash with interrupts disabled causes data loss, and the TCP flow is very slow to recover. Linux sender quickly ramps up RTT timer to very long retry intervals, crippling performance & throughput. Running the update without the flash writes causes the data to be received quickly, so this is definitely an issue with the time taken for the erase cycle. Progress towards #10
This commit is contained in:
parent
3797cf5357
commit
147257efa4
10 changed files with 449 additions and 0 deletions
9
examples/ota_basic/ota_basic.def
Normal file
9
examples/ota_basic/ota_basic.def
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
cpu xtensa
|
||||
|
||||
# Show up to this many raw bytes of code/data
|
||||
show bytes 4
|
||||
|
||||
# ELF file
|
||||
# See example.def if you want to load raw binaries instead
|
||||
load build/ota_basic.out elf
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue