Things I’ve accomplished this week
- TOM rev. 2 (final) ordered, arriving Monday
- $70 in budget remaining
- CAN Bootloader progress
- ‘Made the Jump:’ Relocated code to a different flash sector, called from standard user code
- Included lots of hacky debugging, like moving the vector table around and debugging assembly
- Turns out branching in ARM thumb mode needs to see lsb = 1, who knew
- Wrote a script to convert a binary file into a TOM-parseable UART stream for CAN transmission
- Helped Cameron and Stan debug a UART/DMA issue
- Fleshed out binary transmission protocol: Use 0-255 message chunks of 7 bytes each, with each chunk headed by a message containing the start address and length in bytes of its payload
- Things still to fix:
- Need to poke around more with the different flash sectors, some don’t seem to program despite the flash utility reporting them as writeable
- Need to figure out why CAN hardware is inactive after jumping to bootloader code
Deliverables for next week:
- Manufactured rev. 2 hardware, prepped for final demo, report mostly finalized
- More progress on the CAN bootloader (bonus work, outside the literal scope of the project)
Updates on schedule:
- Slack has been eaten into, crunch time is here, but assuming the 2nd revision works readily enough we’ll be fine