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

Having issues installing Marlin onto the Fysetc-Spider #41

Closed
420Ayan420 opened this issue Aug 13, 2021 · 12 comments
Closed

Having issues installing Marlin onto the Fysetc-Spider #41

420Ayan420 opened this issue Aug 13, 2021 · 12 comments

Comments

@420Ayan420
Copy link

I have flashed by board with the new bootloader functions (Bootloader-FYSETC_S6.hex) using STM32CubeProgrammer, and all went well, but I am getting and error where PlatformIO gives me an error of the board FYSETC_S6_8000 being undefined:

image

Am I being a complete idiot, or is this where I should be changing FYSETC_S6 to FYSETC_S6_8000
in the platformio.ini file. According to this https://github.com/FYSETC/FYSETC-SPIDER#41-marlin

But github says this:
You need to enable following define in configuration.h file

#define MOTHERBOARD BOARD_FYSETC_SPIDER
default_envs = FYSETC_S6 (For old bootloader,boot address is 0x10000, see below)
default_envs = FYSETC_S6_8000 (For new bootloader,boot address is 0x8000, see below)

So upon searching for default_envs in Configuration.h I have not found it

I Believe the board is not damaged as when I bridge Boot0 and 3.3V the board goes into DFU mode and STM32CubeProgrammer connects successfully.

Since FYSETC_S6_8000 is not available, and I am getting an error I went back to the old bootloader Bootloader-FYSETC_S6_10000, I have compiled my code, and have uploaded through STM32CubeProgrammer using the old bootloader with default_envs = FYSETC_S6 instead.

When I exit DFU mode and try turning on the board, the board turns on fine, but windows does not detect the board as a device in device manager, and the board's LCD does not light up. I am using the pre-provided firmware from the Fysetc-Spider Github Repo, but have changed the LCD to RepRapDiscount Full Graphic Smart Controller.

Thank you in advance for any help you offer, I will try to reply with any more important information you may need as fast as possible!

@GerogeFu
Copy link
Contributor

Sorry, this should be my fault, i just update the ini. You can have a try now.

@420Ayan420
Copy link
Author

420Ayan420 commented Aug 13, 2021

Alright I'll have a look now! Edit: The original Issue has been solved, but now this is the problem:

image

@420Ayan420
Copy link
Author

I've done some further testing, and the same problem is still there @GerogeFu

@GerogeFu
Copy link
Contributor

The version in our github is little bit old, please try Marlin upstream bugfix-2.0.x, i will fix this ASAP.

@420Ayan420
Copy link
Author

Okay, I'll try and set that up later today, and thank you

@420Ayan420
Copy link
Author

420Ayan420 commented Aug 20, 2021

Alright everything has compiled successfully, I have uploaded the successfully compiled bootloader to the board using STM32CubeProgrammer, but once again the LCD does not turn on, nor does the board get detected by windows Device manager. Attached is my marlin folder with all my files and the success message:

image
Marlin-bugfix-2.0.x.zip

My STM32CubeProgrammer configuration:

File path: C:\Users\ayana\Desktop\Marlin\Marlin-bugfix-2.0.x (Cantilever)\Marlin-bugfix-2.0.x.pio\build\FYSETC_S6_8000\firmware.bin
Start Address: 0x08008000 (as I am using default_envs = FYSETC_S6_8000)

Also when uploading STM32CubeProgrammer says that everything has been uploaded with no issues, so I don't think that will be a problem.

@GerogeFu
Copy link
Contributor

Did you change configuration.h file? The serial post should be -1.

@420Ayan420
Copy link
Author

420Ayan420 commented Aug 29, 2021

Yes, I have changed it to -1

image

@GerogeFu
Copy link
Contributor

GerogeFu commented Sep 3, 2021

I test again. It works, you should upload bootloader https://github.com/FYSETC/FYSETC-SPIDER/blob/main/bootloader/Bootloader_FYSETC_SPIDER.hex. When uploading the firmware with stm32cubeprobrammer, you need to check the boot offset is right or not.
image

@GerogeFu
Copy link
Contributor

GerogeFu commented Sep 3, 2021

I just update the Marlin firmware in our github.

@420Ayan420
Copy link
Author

Alright, I will have a look in a few hours, by boot offset do you mean the Start Address being 0x08008000?

@GerogeFu
Copy link
Contributor

GerogeFu commented Sep 7, 2021

Yes

Alright, I will have a look in a few hours, by boot offset do you mean the Start Address being 0x08008000?

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