Comments (2)
Unless I'm misinterpreting your comment it sounds like you are trying to flash klipper onto a board directly rather than using CANboot?
I haven't specifically documented a no bootloader flash as honestly CANboot has been relaible and much more convenient for me and others who have followed this guide (and you are the first to report this specifically being an issue, in several months since I wrote the steps for this board and the v.1.1 which shares the same MCU.)
The steps are written to be used together with the assumption that CANboot is in use.
So as the CANboot bootloader uses an 8KiB application offset. Flashing klipper without a bootloader offset would effectively overwrite CANboot or put the application start in the wrong place?
from klipper_canbus.
I think you're right. I think what's happening is that STM32 always starts writing at address 0x08000000 which is the start of the flash space. When writing using flash_can to write klipper, it seems to start at the flash address + application offset and does not erase the blocks before that (CanBoot). When you compile klipper without the bootloader offset and flash with STM32, the entry point sits at 0x08000000 and loads since that's the start of the flash. When you compile klipper with the bootloader offset and flash with STM32, it still places the file at 0x08000000, but the entry point is not there so it doesn't load.
from klipper_canbus.
Related Issues (19)
- Investigate/Verify txqueuelen
- Can you guide update Mks monster 8 V2 when it flash canboot and klipper firmware?
- Investigate Geehy ARM32F072, as now being used as alternative to STM32F072 by mellow
- Refactor guides to flow better
- Add CANboot update steps for each board
- add octopus bridge mode
- Update Network bus speed info
- troubleshoot
- Termination resistors
- U2C 2.1. issues with canboot? HOT 2
- Add pre-up lines to network script in place of rc.local script
- SB2040 HOT 1
- dfu-util spurious error callout
- ERROR:root:Can Read Error HOT 2
- Monster8 DFU mode
- pullup_resistor should not be in the example config for ebb36
- Suggestion to flash candlelight on utoc-1/3 results in a non working board HOT 8
- How can i connect Mks monster 8 v2 by Can Bus? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from klipper_canbus.