Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firmware update fails to flash, will not "fit" #222

Open
kingozone opened this issue Mar 16, 2024 · 4 comments
Open

Firmware update fails to flash, will not "fit" #222

kingozone opened this issue Mar 16, 2024 · 4 comments

Comments

@kingozone
Copy link

Currently running Klipper on Ender 3 V3 SE. Recently updated, and needed to update the Exapnder board. When I try to update it, I get the following error:

biqu@BTT-CB1:/klipper$ make clean
biqu@BTT-CB1:
/klipper$ make flash FLASH_DEVICE=0483:df11
Creating symbolic link out/board
Building out/autoconf.h
Compiling out/src/sched.o
Compiling out/src/command.o
Compiling out/src/basecmd.o
Compiling out/src/debugcmds.o
Compiling out/src/initial_pins.o
Compiling out/src/gpiocmds.o
Compiling out/src/stepper.o
Compiling out/src/endstop.o
Compiling out/src/trsync.o
Compiling out/src/dirzctl.o
Compiling out/src/hx711s.o
Compiling out/src/adccmds.o
Compiling out/src/spicmds.o
Compiling out/src/i2ccmds.o
Compiling out/src/buttons.o
Compiling out/src/tmcuart.o
Compiling out/src/neopixel.o
Compiling out/src/pulse_counter.o
Compiling out/src/lcd_st7920.o
Compiling out/src/lcd_hd44780.o
Compiling out/src/spi_software.o
Compiling out/src/thermocouple.o
Compiling out/src/sensor_adxl345.o
Compiling out/src/sensor_angle.o
Compiling out/src/sensor_mpu9250.o
Compiling out/src/sensor_bulk.o
Compiling out/src/stm32/watchdog.o
Compiling out/src/stm32/gpio.o
Compiling out/src/stm32/clockline.o
Compiling out/src/stm32/dfu_reboot.o
Compiling out/src/generic/crc16_ccitt.o
Compiling out/src/generic/armcm_boot.o
Compiling out/src/generic/armcm_irq.o
Compiling out/src/generic/armcm_reset.o
Compiling out/src/../lib/stm32f0/system_stm32f0xx.o
Compiling out/src/generic/timer_irq.o
Compiling out/src/stm32/stm32f0_timer.o
Compiling out/src/stm32/stm32f0.o
Compiling out/src/stm32/gpioperiph.o
Compiling out/src/stm32/stm32f0_adc.o
Compiling out/src/stm32/stm32f0_i2c.o
Compiling out/src/stm32/spi.o
Compiling out/src/stm32/usbfs.o
Compiling out/src/stm32/chipid.o
Compiling out/src/generic/usb_cdc.o
Building out/compile_time_request.o
Version: 25778772
Preprocessing out/src/generic/armcm_link.ld
Linking out/klipper.elf
/usr/lib/gcc/arm-none-eabi/8.3.1/../../../arm-none-eabi/bin/ld: out/klipper.elf section .text' will not fit in region rom'
/usr/lib/gcc/arm-none-eabi/8.3.1/../../../arm-none-eabi/bin/ld: region `rom' overflowed by 10512 bytes
collect2: error: ld returned 1 exit status
make: *** [Makefile:72: out/klipper.elf] Error 1

How can I fix this? I have followed the manual and everytime, I get this error.

@timmit99
Copy link
Contributor

timmit99 commented Mar 16, 2024

Can you share screenshots of your menuconfig and advanced options please?

@kingozone
Copy link
Author

Screenshot 2024-03-19 162438
Screenshot 2024-03-19 162456

@kingozone
Copy link
Author

kingozone commented Mar 23, 2024

After buying a second one, I'm getting the same results. Was curious if something was stuck, so I tried a reflash of an ADXL, no problem. Run a make clean, try again for the board, same issue.

@kingozone
Copy link
Author

Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants