-
-
Notifications
You must be signed in to change notification settings - Fork 19.4k
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
[FR] (Unkown Mainboard with HC32F460 MCU) #24338
Comments
Bad image, make good sharp hi-res photo of both sides with PCB traces visible and marking on the chip readable. |
I have uploaded new images, this is maximum what i can do on quality. |
Another new CR-FDM this ones a V2.4.S4.??? (last 3 digits are obscured, guessing 170) |
yes it 170 |
The Anycubic Kobra and some versions of the Voxelab Aquila also use this chip. These machines are delivered with Marlin running on them so someone has already ported Marlin to the HC32F460 and because of the GPL license they are required to publish their modifications. I know that Anycubic has been promising to do just that for a while now but haven't seen any actual code yet. @n4bstar you might want to send Creality a message asking for the Marlin source code for your printer. |
This is correct. Good luck getting them to comply, I've been barking up that tree for years and just gave up. I hope you get it. If you want to use Marlin on that printer you're going to have to swap the board unless they cough up some source code. |
This should be same as STM32F469, but i read about differnet interrupt vectors offset and some other funny things |
I've created a dump of the flash from this board. Mine is also 2.4.S4.170. This MCU (HC32f460kcta) has 256 KB of flash and 192 KB of ram available.
EDIT: Adding firmware binary I got from Creality support Ender-2pro-hw2.4.s4xx-sw2.2.36_165.bin.zip Update instructions from Creality:
|
The Marlin firmware is released under the GPL. I believe the focus of this topic should be to request Creality to release the firmware, as per the GPL forces them to, instead of trying to port the firmware ourselves. This is the whole point of the GPL. |
Requests are being sent like every day, all pretty much ignored. And let's be honest, their code is mostly garbage in need of complete rewrite. (mostly because they use very old codebase) |
The only public Marlin release for HC32F460 that I've found is https://github.com/Voxelab-64/Aquila_X2/tree/main/firmware/Sources and saying it's hacky is like not saying anything. |
i'm sure they're just using STM32 framework with custom linker script at most |
Part of the issue is that they do this while knowing/assuming they can get away without publishing anything. So far this has proven true. If they know they are going to have to publish the code, they may make more efforts to write cleaner code and/or just push the changes upstream like so many other companies are doing when they contribute to OSS projects. Separate discussion in issue #24801 about trying to get them to comply. |
Highly unlikely, this mcu is not meant to be a drop-in replacement for stm32 similar to gd32. |
@jpraczyk i linked article above, NVIC address is main difference, might be some other less prominent ones - but using stm32 frameworks is still easiest way |
I setup a list and a reporting form today. That printer is now on said list: https://gplviolations.th3dstudio.com/ |
@houseofbugs there is vyper source, complete with extui code, they sent it to someone via email Anycubic Vyper-vyper.zip |
Excellent. I will update the list. I dont have time to keep up with it hence why I am going to rely on people reporting things to me. |
i really should upload some of my stashes as fork branches... |
Maybe someone could make a github repo just to store the sources? Sorted by brand and model in folders. Keep it simple. I would but my time is limited. |
that too, but proper fork is way more useful, you can throw diff links around |
I have personally given up on the 2.4.S4.170 board. Replaced it with an skr mini e3 v3. |
anything new ? |
We have working source for 2 other machines using the MCU, and they are building it in Kiel, instead of platformIO, so it will not be a simple task to get working in the standard environments. There is at least a way to work though. |
Gihdra is legit and very powerful, in the hands of someone who can use it. Are they reporting it all back to someone?? who cares! |
It's not so much the reporting back in. It's the corellation between chem
trails, UAP, and MarlinFirmware.
That what bothers me. 😒
…On Wed, Jan 24, 2024, 11:18 PM ellensp ***@***.***> wrote:
Gihdra is legit and very powerful, in the hands of someone who can use it.
Are they reporting it all back to someone?? who cares!
—
Reply to this email directly, view it on GitHub
<#24338 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFPXRVN3XXCCLDA63M2FPRLYQH2J3AVCNFSM5YSKPTL2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJQHE2DENBXG4YQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
its used more for malware purposes. they want to see the code of viruses in order to find a fix. |
I saw a bunch of configs, I used the files at Proyect Arkane to compile the .165 bin, from there I heavily modified the files to add a lot of functionality trying to solve the communications error. When I gave up, I opted for 2.1.x to see if I could port the files, thanks to the contribution of h32 by Shadow... I honestly didn't expect the screen to work. Because in the config several configurations were loaded for it to work. I just simplified the options and pinout to what seemed correct to me. |
@cesarweb You're running an Ender with an H32, correct? Comparing your pinout with my Aquila C2, it's completely different. I've been working on the Aquila C2 for over a year. Hopefully I can get something working now. |
Added in #26730 |
this is correct, the firmware update process on (afaik all) HC32 printers is done using a bootloader that looks a firmware update file on the sdcard. I've actually reverse-engineered the one used by voxelab and started a open source bootloader. This also makes flashing the printer fairly safe. |
@cesarweb @thinkyhead Thank you for making the config and committing. I appreciate your work. Could you please share any steps and files that were used in the process? It'll be useful for other machines in the market. |
Someone Could help me? |
Try disabling custom logo en config_adv... I have spyder 300° and have no trouble... Now im away from my pc until 6/2
Enviado desde Outlook para Android<https://aka.ms/AAb9ysg>
…________________________________
From: Gabor Mate ***@***.***>
Sent: Friday, February 2, 2024 5:16:38 PM
To: MarlinFirmware/Marlin ***@***.***>
Cc: Cesar Guillermo Montiel ***@***.***>; Mention ***@***.***>
Subject: Re: [MarlinFirmware/Marlin] [FR] (Unkown Mainboard with HC32F460 MCU) (Issue #24338)
Someone Could help me?
I also have an Ender 2 pro with one modification: hotend replaced to Spyder Speedy Ceramic hotend with 300 C max temp.
I think, I copied all the parameters from @cesarweb<https://github.com/cesarweb> modified files, but the printer every time displays it after the boot logo: killed. : Printer halted.
Configurations.zip<https://github.com/MarlinFirmware/Marlin/files/14144950/Configurations.zip>
—
Reply to this email directly, view it on GitHub<#24338 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AFJNTZOQLJRGGCDGQSMYIWDYRVCSNAVCNFSM5YSKPTL2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJSGQ3DEOJXGAYA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Thank You dear @cesarweb, I tried to disable the Show_bootscreen but it has no effect, the problem is the same: killed.
|
@Mategm |
Great! Thank You @cesarweb! It works!
|
Same problem as @Mategm, same solution, just comment out #define KILL_PIN EXP1_04_PIN . E2P seems to work fine and healthy, now just testing it out. Thanks @cesarweb @shadow578 @smokeypell . |
Hi, Does anyone have a compiled bin file? I tried to turn on the printer writes that the printer is killed then bad eeprom. Even if the printer started with an eeprom error, the filament insertion/removal options were missing. There were no advanced settings. Thank you |
Hi! Yes, I have, but there is a good config file on the marlin config github: This perfect for the beginning, but If you cannot compile it, please ping me.
|
I downloaded Marlin-e2p-2.4.s4 + Configurations from cesarweb. I installed Visual studio code + auto build extension. |
@Petkoj Just to be clear, are you positive that you have the HC32 chip? |
|
Ok. Good deal. Just checking so we're not chasing the wrong issue. Looking over everything that I can see, according to the original code published by Creality, the pin file looks correct except for Go ahead ad just delete this line completely. In the Configuration.h file, uncomment the following two lines. Recompile and hopefully you'll be good. If not, I'll help all I can. |
@Petkoj Please make a 'user' folder on a memory card and put the bin file in it. I hope it will help You. Good Luck. |
it did the same to me. There were no improvements and the possibility of pulling out and inserting the filament was missing. Printing from the SD card was only after about printer. so I used another firmware. But thanks for the help anyway |
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. |
Is your feature request related to a problem? Please describe.
New Ender 2 pro Mainboard with HC32F460 MCU not found in list.
Are you looking for hardware support?
Yes, try fixing hardware isusses with clean Marlin Firmware for the Creality Ender 2 Pro
Describe the feature you want
Firmware for New Creality Ender 2 Pro Mainboard.
Additional context
No response
The text was updated successfully, but these errors were encountered: