Remora - Rpi Software Stepping Using External Microcontroller via SPI

More
3 years 8 months ago #263618 by scotta
Hi, can you elaborate on the clock issue. It's not jumping out at me when I look at the code in the link.

Thanks

Please Log in or Create an account to join the conversation.

More
3 years 8 months ago #263632 by cakeslob
Sorry, yeah I thought clock issue because it would print "his is hel" and then garble the rest, so I thought clock issue, but I loaded it without bootloader by accident and it worked fine. I am now thinking I am missing something in the system_clock file, where the vector table offset part is. It appears to be loading the firmware from SD everytime, and it will print to terminal, but I am not getting the whole thing, just "this is hel"

Please Log in or Create an account to join the conversation.

More
3 years 8 months ago - 3 years 8 months ago #265016 by jonpry
I was able to get Remora to boot on SKRMini V2 with bootloader with this change to system_clock.c

SCB->VTOR = MBED_APP_START | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal FLASH. */

However, I think something is wrong with HSE startup. Something strange happens after printing a couple lines of text unless I put my finger on the crystal and effectively force startup on HSI. Still working on that one.
Last edit: 3 years 8 months ago by jonpry.

Please Log in or Create an account to join the conversation.

More
3 years 8 months ago #265019 by Zuo99
Hi, long time no see, I am back to this forum.
I am considering some extreme cases, adding degrees of freedom and multi-material solutions at the head of the printer.
I would like to know how many stepper motors the current Remora supports in theory. My solution requires nine stepper motors. The Octopus solution is currently used and can support eight axes. Exp Mot is considered to add one more motor.
I have tried six axis with SKR1.4 (5axis) and Exp Mot and it works fine.

Thanks again for your work.

Please Log in or Create an account to join the conversation.

More
3 years 8 months ago #265022 by Zuo99
Well, I read remora.h just now, it says Max 8 joints,
Can this setting be changed to 9? , I need those changes.

Please Log in or Create an account to join the conversation.

More
3 years 8 months ago #265082 by cakeslob

I was able to get Remora to boot on SKRMini V2 with bootloader with this change to system_clock.c

SCB->VTOR = MBED_APP_START | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal FLASH. */

However, I think something is wrong with HSE startup. Something strange happens after printing a couple lines of text unless I put my finger on the crystal and effectively force startup on HSI. Still working on that one.
hey jonpry
I dont know very much about the f1, and I dont have one I can check with, but you seem to have a handle on it. If the f1 is going to be like the f4, we gotta relocate the vector table and set he app start thing. I dont know the exact location, but it might be here according to some marlin stuff, but you should check your self, or you can wreck the bootloader.
also check that you still have a bootloader
Code:
// replace in system_clock, find out the bootloader offset for your specific board #define VECT_TAB_OFFSET 0x7000 /*!< Vector Table base offset field. This value must be a multiple of 0x200. */
Code:
// put in mbed_app.json under the target you are using "target.mbed_app_start": "0x08007000",

Well, I read remora.h just now, it says Max 8 joints,
Can this setting be changed to 9? , I need those changes.

Hey Zou, that sounds like an interesting project. I was under the impression the 8 drives has something to do with the SPI and computer numbers but hopefully Scott can field this one.

Please Log in or Create an account to join the conversation.

Time to create page: 0.181 seconds
Powered by Kunena Forum