Remora - Rpi Software Stepping Using External Microcontroller via SPI

More
15 Jul 2021 14:46 #214880 by mhel
Unfortunately the library doesn't support f303.
I have bluepill 103 and a F407 only. The 103 has 64k flash 20k ram.

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

More
15 Jul 2021 16:05 - 15 Jul 2021 16:06 #214893 by Aaroncnc
Last edit: 15 Jul 2021 16:06 by Aaroncnc.

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

More
15 Jul 2021 21:54 - 15 Jul 2021 21:55 #214939 by mhel
Shame the F446 requires the latest stdperiph 1.8, but you're probably more skilled than me on that so you could adapt it. I'm just a tinkerer.
I really like that board it would save a lot of dangling wires for dev.

Good news is. It's working! I have tested it with a couple of tiny motors I got from broken printers. I've been able to run/re-run the splash demo file of Axis without hiccups. If the motors wasn't overheating a lot I would like to run the 3dChips example just because it's longer run time.

I will upload the sources to github later, just cleaning it up a bit, so my amateurish coding skill is not too pronounce.
Last edit: 15 Jul 2021 21:55 by mhel.

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

More
15 Jul 2021 23:29 #214945 by mhel
The following user(s) said Thank You: Bari

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

More
16 Jul 2021 00:07 #214955 by Aaroncnc
mhel,

I can code about as well as a one legged dog.
I can make things work but its not pretty.
Its been 15 years from my last time having to write code.
I am just starting back with python and even then its slow going.

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

More
16 Jul 2021 00:33 #214959 by cakeslob

Unfortunately the library doesn't support f303.
I have bluepill 103 and a F407 only. The 103 has 64k flash 20k ram.

mhel post=214841 userid=27650
Hi all,
I sent this to Scott yesterday , because  I couldn't login here yesterday, but probably went to his spam folder.
If anyone have discoveryboard or any board with stm32F407 wants to give my little hacks a try,
before I upload the sources. I'm very confident on this one, compared to what I had when attempted
to port 'picnc' that got stalled, then I found Remora.
thanks.

EDIT:
I forgot the serial port pins.
SerialPort on Port A9:A10
 TX: A9
 RX: A10
 

I bought a 3d printerboard from btt with a 407 (and 103, but was for another picnc port)  to specifically play with your port of picnc, and was rather disappointed when it disappeared from github the other day, but I see it has come back in a better form. I can assume its the stm32 remora? On the 103, is the ram/flash limitation only an issue if you load it directly to the board? The configuration, can you elaborate more on that?  On time sent over serial or like at the start of every boot (like a mesa or something) ? 

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

More
16 Jul 2021 01:18 - 16 Jul 2021 01:29 #214971 by cakeslob
I dont remember if someone was asking about it, or if I just though it was a good idea, but while I was trying to embed the uart console into axis, I realized I already am, just without the uart part.
sudo apt-get install rxvt-unicode

configure minicom , then load this into your ini file. I suspect I have something misconfigured in minicon because my terminal entries staggers to the right
EMBED_TAB_NAME = UART
EMBED_TAB_COMMAND = urxvt -embed {XID} -geometry 108x28 -e sudo minicom
Last edit: 16 Jul 2021 01:29 by cakeslob. Reason: this time it will be good

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

More
16 Jul 2021 01:23 #214973 by cakeslob
holy shit it gets worse every time lets try this again, please dont judge me. 

Was not aware of the fake LPC parts getting around. I just picked up another controller board quite quickly from China. How to tell a fake chip?

 

It didnt seem to be an issue, but I suspect either tomp has a fake chip, or I have a fake chip. When he was posting earlier about his issues connecting to his skr1.3, I noticed his NXP chip was different than mine was. The letters are larger and more towards the left, and his chip marking are located under the orientation mark (or ejector pin mark?), where mine are left of the ejector mark. His marks are also larger than mine. But when I googled a picture of the chip, the pictures looked more like his chip.

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

More
16 Jul 2021 01:44 #214975 by scotta

it's alive ;-) github.com/mhelmarc/Remora-STM32

Hi Rommel, 

Super big thanks for working on this. I've looked at your code base, great work.

Any thoughts on using Mbed framework as the basis? Your SPI DMA implementation should be applicable.

We should do a survey of available STM32 controller boards to understand which variants are common and what would be needed to support more STM32 boards.

Keep up the great work!!

BR
Scott
The following user(s) said Thank You: Bari

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

More
16 Jul 2021 01:52 #214976 by mhel

mhel,

I can code about as well as a one legged dog.
I can make things work but its not pretty.
Its been 15 years from my last time having to write code.
I am just starting back with python and even then its slow going.
 

Yeah I wish I've learned it while my eyes are in better condition :-)

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

Time to create page: 0.135 seconds
Powered by Kunena Forum