topquark12
  • Joined on 2020-12-21
topquark12 created pull request M-Labs/thermostat#49 2021-01-13 17:17:47 +08:00
flash_store_refactor
topquark12 pushed to flash_store_refactor at M-Labs/thermostat 2021-01-13 17:16:38 +08:00
0200aa69bd flash store: clean up
topquark12 pushed to flash_store_refactor at M-Labs/thermostat 2021-01-13 17:13:37 +08:00
cef9cf6f48 flash store: remove transmute
topquark12 pushed to flash_store_refactor at M-Labs/thermostat 2021-01-13 16:56:21 +08:00
a6466c847a flash store: initial prototype
topquark12 deleted branch software_dfu from M-Labs/thermostat 2021-01-13 12:12:43 +08:00
topquark12 pushed to software_dfu at M-Labs/thermostat 2021-01-13 11:50:25 +08:00
253bebd9d5 dfu: document _dfu_msg
topquark12 pushed to software_dfu at M-Labs/thermostat 2021-01-13 11:17:04 +08:00
251e4d3dd4 dfu: cleanup
topquark12 commented on pull request M-Labs/thermostat#46 2021-01-13 11:13:48 +08:00
software_dfu

was just testing out the behavior of that, forgot to remove before committing.

topquark12 pushed to software_dfu at M-Labs/thermostat 2021-01-13 11:06:14 +08:00
2e6116016a dfu: refactor for PR
topquark12 commented on pull request M-Labs/thermostat#46 2021-01-12 17:22:56 +08:00
software_dfu

@pca006132 There's already a dedicated region specified in memory.x . Though the linker does not do anything with that region, and I don't think the linker generates a symbol for that space.

I…

topquark12 commented on pull request M-Labs/thermostat#46 2021-01-12 17:19:12 +08:00
software_dfu

The stack is on CCM, the message is placed in RAM. I can try placing the msg in CCM, not sure what the reset behavior of CCM is yet.

topquark12 commented on pull request M-Labs/thermostat#46 2021-01-12 17:17:31 +08:00
software_dfu

What happens to the TCP connection after a dfu command is sent?

Currently the other end will have to terminate the connection. I've just copied what the reset command does.

I can look…

topquark12 commented on pull request M-Labs/thermostat#46 2021-01-12 17:12:31 +08:00
software_dfu

Why do we need a reset? What happens if we jump to the bootloader directly from the command handler in main.rs instead?

The STM32 bootloader expects the chip to be in its default state when…

topquark12 commented on pull request M-Labs/thermostat#46 2021-01-12 17:10:19 +08:00
software_dfu

I thought that linker script is for a zynq? I am not sure where the linker script currently being used is placed, think it is packaged with one of the rust modules.

topquark12 commented on pull request M-Labs/thermostat#46 2021-01-12 16:59:47 +08:00
software_dfu

The linker currently does not actually do anything to the ram carved out for the dfu trigger message, and I beleive there's no symbol generated for that chunk of memory.

I think I'll have to find…

topquark12 pushed to software_dfu at M-Labs/thermostat 2021-01-12 15:47:00 +08:00
a320b6104e dfu: update README
topquark12 created pull request M-Labs/thermostat#46 2021-01-12 15:39:22 +08:00
software_dfu
topquark12 pushed to software_dfu at M-Labs/thermostat 2021-01-12 15:36:37 +08:00
e41415f82c dfu: clean up
topquark12 commented on pull request M-Labs/thermostat#45 2021-01-12 15:32:01 +08:00
PID_improvements

I'll see if it makes sense to calculate integral limit based on parameters during the code review.

topquark12 pushed to software_dfu at M-Labs/thermostat 2021-01-12 15:27:38 +08:00
c861f2df83 dfu: documentation