MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.27k stars 19.23k forks source link

[FR] porting to STM32F429IIT6 #24057

Open karabas2011 opened 2 years ago

karabas2011 commented 2 years ago

Is your feature request related to a problem? Please describe.

I work with a custom 3d printer board with STM32F429IIT6. There is heavily modified marlin firmware ( working) made about 2 years ago. I was not able to replicate all environment needed to compile. As I was told it requires some changes in /user/.platformio folders. So I am trying to compile under existing F429 envs. Looking into recent PR for F429 support I cloned and modified these files, set my pins, board, variant, ini... Now I am able to compile and flash via stlink (no card reader onboard) but still no response from USB to my pronterface. I double checked pins for serial - all seems correct. USB is on serial port 2 on PD6/PD5 in my board. Any advice or link to read/discuss of porting. All marlin resources seem to not about adding new processors.

Are you looking for hardware support?

I believe STM32F429IIT6 does not differ from already supported 429's in terms of coding. I need some info what I need to do to get firmware working.

Describe the feature you want

I think It will be good to get manual howto add new processor similar to already supported

Additional context

No response

Bob-the-Kuhn commented 2 years ago

If I read the data sheet correctly, PD6/PD5 don't have USB capabilities. It looks like they're usually connected to USART2.

I think you'll need to use PA11/PA12 (OTG) to have USB to console communications.


EDIT - it just dawned on me that you said serial port 2. Marlin's mapping of serial controllers to serial ports a lot of times is seemingly random. Try compiling for different serial ports to see is you can discover the correct one.