Skip to content

[BUG] FLY_D5 does not appear via usbserial after flashing #28165

@oliof

Description

@oliof

Did you test the latest bugfix-2.1.x code?

Yes, and the problem still exists.

Bug Description

I am currently trying to build configuration for the FLY D5 board, but it seems that at least with the katapult bootloader in place it does not become available after successfully flashing via dfu mode with the katapult flashtool (see #27580 (comment), but with the addresses adjusted to 0x2000 and 0x08002000 to coincide with the address reported by the katapult flashtool).

SERIAL_PORT is set to -1

Regarding my experimentation with shrinking build size, I tried flashing builds both with -flto and without (foregoing FT_MOTION to get the build fit into available flash).

Bug Timeline

This is my first attempt at building and flashing this board, so it may be new, may be old.

Expected behavior

If the board is reset / reconnected after successul flashing, it should show up as a serial device on /dev/ttyACM0

Actual behavior

Board cannot be seen.

Steps to Reproduce

  1. Build with the configs attached and the modified stm32f0.ini also attached
  2. Set board to flash mode (hit reset button twice in fast succession()
  3. double check that the board is attached
 lsusb | grep stm
Bus 003 Device 077: ID 1d50:6177 OpenMoko, Inc. stm32f072xb
  1. Flash using the katapult flashtool (checkout the katapult repo at https://github.com/arksine/katapult)
$ ~/github/katapult/scripts/flashtool.py -d /dev/ttyACM0 -f ~/M-Minion/MarlinFirmware/Marlin/.pio/build/FLY_D5/firmware.bin 
Connecting to Serial Device /dev/ttyACM0, baud 250000
Detected USB device running Katapult
Attempting to connect to bootloader
Katapult Connected
Software Version: ?
Protocol Version: 1.0.0
Block Size: 64 bytes
Application Start: 0x8002000
MCU type: stm32f072xb
Flashing '/home/hwa/M-Minion/MarlinFirmware/Marlin/.pio/build/FLY_D5/firmware.bin'...

[##################################################]

Write complete: 59 pages
Verifying (block count = 1885)...

[##################################################]

Verification Complete: SHA = 07C493BFF8A89FC68E1E727AEC7D21BE89AE0DFB
Programming Complete
  1. Fully reset the board by disconnecting and reconnecting the USB cable.

Version of Marlin Firmware

bugfix-2.1.x, commit id 29ad078

Printer model

V-Minion

Electronics

FLY D5

LCD/Controller

None

Other add-ons

None

Bed Leveling

No Bed Leveling

Your Slicer

None

Host Software

Other (explain below)

Don't forget to include

  • A ZIP file containing your Configuration.h and Configuration_adv.h.

Additional information & file uploads

Serial port does not show up in lsusb, so no host software nor a simpe serial terminal can connect.

Zip file contains Configuration*h and the stm32f0.ini adjusted for use with katapult.

d5-noshow.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions