Skip to content

Minimal firmware.bin using platformIO for Octopus 1.1 #176

@unrealwill

Description

@unrealwill

I succeeded to flash Marlin on my octopus 1.1 board, by copying the generated firmware.bin to the SD card, where it automatically gets renamed to FIRMWARE.cur and it works with pronterface.

I am new to platformIO.

My board is an Octopus 1.1, with a STM32F446ZET6 chip.

I am now trying to blink the on board LED, which according to the schematic is on PA_13.

I tried https://github.com/maxgerhardt/nucleo-f446ze-with-arduino/tree/main and selecting octopus or octopus_min environment in platformIO environment selector.

It generates a firmware.bin successfully, which I copy to the SD card where it automatically gets renamed to FIRMWARE.cur, so I think the flashing is occurring successfully, but the LED doesn't blink.

Could you create a minimal boilerplate so that people can use their board with custom firmware more easily ?

I spent all afternoon yesterday battling with build flags, and configuration, doing SD uploads, but without success.

I have not yet tried the DFU upload procedure, and would rather not, as I don't want to have to play with jumpers for every upload, and don't want to brick my board which can currently load Marlin.

Thanks

PS:
I have searched the internet a lot to solve this issue, and I'm not the only one facing this issue. I can't understand the logic of selling an open-source board, but not providing the bare minimum to get started with custom code, please forgive me I must be missing something.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions