After some tinkering with the code of both the bootloader and marlinfw within these last 2 hours before heading off to work, I actually fixed my printer, it connects to marlin and displays temperatures and all. I did some modifications to the bootloader STM32duino-bootloader, and flashed it with STM32CubeProgrammer to position 0x08000000. Then there was an issue with uploading with st-link withby jpff - Firmware - Marlin
I have a feeling this is an issue with the marlin firmware code hanging up somewhere and not the bootloader. I knew a bootloader was required when not using a native programming method, non-native like USB, UART, SD CARD, CAN (e.g. like TI MCU's), etc. Is there any particular reason why these STM32 MCUs explicitly require a bootloader if flashing the main firmware via an ST-LINK? I know this qby jpff - Firmware - Marlin
Hi Dust! I must say that from the moment that I began trying these bootloaders on the board I've never again had the "Core is locked up" error again, but then I also had the option "run after programming" enabled on STM32CubeProgrammer so maybe that didn't help either. I've been using Platformio to compile everything, the Arduino IDE was just an idea to check whether it'd work (it doesn't, STM3by jpff - Firmware - Marlin
Alright! Thank you for letting me know Dust! I did indeed wipe out the bootloader, as I've hit erase chip more than once before flashing with STM32CubeProgrammer. After reading I've thought of using the following bootloader implementation for STM32F103's: But then I thought, I have STM32duino framework installed on my Arduino installation, so maybe I can compile Marlin there for STM32F103RETxby jpff - Firmware - Marlin
Hi I've compiled marlin with what I deem are all necessary modifications to the code to make it work for my printer's setup. My printer is a CR-200B with a BOARD_CREALITY_V425 with an added BLtouch sensor which did not come stock. However I'm unable to connect to my printer via serial port through octoprint, I'm unsure if this is whether the serial port configuration is incorrect for the boardby jpff - Firmware - Marlin
Hi, I'm unsure if this is in the right place to post, but if not I kindly ask to please move to the right subfolder! I was not sure where to put this as I'm also unsure what the issue here is! Following a successful compilation of Marlin after the suggested changes by Dust in this topic, and now that I have some more extra time on my hands I've attempted to breadboard a prototype of my printerby jpff - Firmware - Marlin
Hi Dust! Thank you for your help! QuoteDust Change #define GRID_MAX_POINTS_X to 5 I've changed #define GRID_MAX_POINTS_X to 5 together with #define DGUS_LEVEL_GRID_SIZE from the 100 that I had previously defined in DGUS_Addr.h to 25 now. QuoteDust Add this to your Configuration.h #define LCD_SERIAL_PORT 5 // (as a guess from the updated pins file) This one I've set in Conditionals_adv.h #iby jpff - Firmware - Marlin
Hi! I'm having trouble compiling Marlin for Teensy 4.1 board with TMC2209 drivers, BLTouch sensor and DGUS_LCD_UI_RELOADED LCD enabled. I've tried the bugfix version however other new errors pop up while compiling! In both compilations I use a clean installation of platformio (i.e. I've deleted the .platformio folder from my user folder and reinstalled in each compilation for both production andby jpff - Firmware - Marlin