Closed mjmurray68 closed 4 years ago
This sounds similar to what another user is experiencing in a previously reported issue: https://github.com/MarlinFirmware/Marlin/issues/18660
@thisiskeithb I was going to check to see if it was a replication, but you referenced this issue #.
I have tried every combination/cycle of flashing, deleting EEPROM.DAT, and rebooting that I can think of. Unlike issue #18660, I am never able to get past the splash screen/progress bar. So while likely related I'm not sure if they're exactly the same.
I was able to get the system to boot in the screen after reverting 7a0af01e692ddcf2ee55800a035c2276c40bee7c. However, the encoder wasn't functioning.
I think it is related to the EEPROM settings #18610
Take a look at this tweet from @thinkyhead: https://twitter.com/thinkyhead/status/1284171213548531713
Maybe try updating again?
Thanks everyone. I was waiting on a print to finish, and here's my update:
For me it's really about the journey not the destination: I want to successfully build my own branch from scratch, to make sure I have the process nailed down, and then start tweaking things. So while the prebuilt binary works, it's not my end-game, and I'm left wondering if my process is flawed, or if I should just wait on more stable source.
Gurus, should I just close this out?
Same here, I have added a BLTouch sensor and a filament out sensor to the machine and I need to compile from source to enable the functionalities. (BLTouch to 5-pin port and filament sensor to z-min-stop)
Since this branch is broken at this point in time, I guess I would have to tear out the additions and revert to the official firmware.
But hopefully the errors could be remedied soon, I would be glad to help troubleshoot .
Furthermore, the frozen screen doesn't even accept connections to my octopi, so the serial is also not working.
That’s odd that the precompiled binary works and updating from bugfix/source does not. Those fixes were integrated here about two hours ago, so there shouldn’t be any difference.
It's likely something with my process then. let me go one step further and nuke everything I have local via GHDesktop and start completely fresh. I'll post back in a few minutes.
Can you attach the top of your compile output where is shows all the library versions? Either attach it as a text file or use pastebin would work.
I need to check this logic. `#if NO_EEPROM_SELECTED // FLASH //#define FLASH_EEPROM_EMULATION
// I2C
#define IIC_EEPROM_SDA PA11
#define IIC_EEPROM_SCL PA12
//#define MARLIN_EEPROM_SIZE 0x4000 // 16Kb (24c16)
// SPI //#define SPI_EEPROM // EEPROM on SPI-0 //#define SPI_CHAN_EEPROM1 ? //#define SPI_EEPROM1_CS ?
// 2K EEPROM //#define SPI_EEPROM2_CS ?
// 32Mb FLASH //#define SPI_FLASH_CS ?
Where do I need to put the "NO_EEPROM_SELECTED" flag? It is neither in Configuration.h nor Configuration_adv.h
Where do I need to put the "NO_EEPROM_SELECTED" flag?
You don't. NO_EEPROM_SELECTED
is a macro:
It'll default to SD card emulation per the CREALITY_V4
pins file.
Can you attach the top of your compile output where is shows all the library versions? Either attach it as a text file or use pastebin would work.
I am getting these warning during compile.
Compiling .pio\build\STM32F103RET6_creality\lib6a5\FreeRTOS701\utility\queue.c.o C:\users\frank\.platformio\packages\framework-arduinoststm32-maple\STM32F1\libraries\FreeRTOS701\utility\port.c: In function 'xPortStartScheduler': C:\users\frank\.platformio\packages\framework-arduinoststm32-maple\STM32F1\libraries\FreeRTOS701\utility\port.c:178:2: warning: implicit declaration of function 'systick_attach_callback' [-Wimplicit-function-declaration] systick_attach_callback(&xPortSysTickHandler); ^~~~~~~~~~~~~~~~~~~~~~~ At top level: C:\users\frank\.platformio\packages\framework-arduinoststm32-maple\STM32F1\libraries\FreeRTOS701\utility\port.c:285:6: warning: 'prvSetupTimerInterrupt' defined but not used [-Wunused-function] void prvSetupTimerInterrupt( void ) ^~~~~~~~~~~~~~~~~~~~~~
and
Archiving .pio\build\STM32F103RET6_creality\libd8a\libUSBComposite.a C:\users\frank\.platformio\packages\framework-arduinoststm32-maple\STM32F1\libraries\STM32ADC\src\utility\util_adc.c:10:30: warning: 'adc_result' initialized and declared 'extern' extern volatile unsigned int adc_result = 0; ^~~~~~~~~~
@mjmurray68: I just realized I wasn't replying to you. Please attach the top part of your log output as well.
For good measure, I've compiled the default Ender-3 V2 config firmware on my system: ender-3-v2-7-17-2020.zip & here's the branch, but it's just the default config rebased to the latest code since it was missing REPORT_FAN_CHANGE
.
@fleek: Those are just warnings and can be ignored.
@thisiskeithb after re-building all of my repository forks, clones and branches, I was able to successfully build and flash the generic bugfix-2.0.x code.
Verbose mode can be enabled via -v, --verbose
option
CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/genericSTM32F103RC.html
PLATFORM: ST STM32 6.1.1 > STM32F103RC (48k RAM. 256k Flash)
HARDWARE: STM32F103RCT6 72MHz, 48KB RAM, 256KB Flash
DEBUG: Current (jlink) External (blackmagic, jlink, stlink)
PACKAGES:
So does your Ender-3 V2 behave as expected?
It does. I'm all set to close, just didn't want to cut off fleek if they were looking for more information.
@mjmurray68 you can close this, sorry for highjacking your thread. I will open up a new issue if I encounter any problems.
Combination of early release, and timing issues with commits. Thanks to everyone who helped me figure this out!
When Chuck Hellebuyck had this issue, he said he solved it by just renaming the firmware.bin
with a unique name. You have to do that with this style of board, because it ignores a file that has the same name as the last-flashed file.
That’s....different, but good to know.
I've added a README to the example configurations. That should eliminate all support requests for this issue.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Bug Description
After a successful compilation of firmware, flashing fails after boot screen status bar. Note: First time Ender 3 user, totally possible this is User Error/Process issue
My Configurations
OSX: 10.15.5 Visual Studio Code: 1.47.1 PlatformIO: 4.3.4 Ender 3v2: v1.0.1
Unmodified Configuration files from bugfix-2.0.x for Ender3 v2 platformio.in: modified to build for "STM32F103RET6_creality" board
Required: Please include a ZIP file containing your
Configuration.h
andConfiguration_adv.h
files.Steps to Reproduce
Expected behavior: [What you expect to happen]
New firmware would be flashed to Ender.
Actual behavior: [What actually happens]
Screen powers on, but remains black as FW is loaded, Splash Screen appears, status bar fills, printer freezes. Configs.zip
Additional Information