Remora - ethernet NVEM / EC300 / EC500 cnc board

More
3 years 9 months ago #262697 by scotta

Thanks so much Scott! I just received an EC500 board but only have single ST-Link, easy enough to order another one to program as described, but is it still possible to flash board with just one st-link?
Unfortunately no. It's a shame as they take a few weeks to get. I ordered a few extra for experimenting but building the DAPLink code ended up being more straight forward than I thought. Well, once I managed to extract a flash algorithm for the RT1050 with QSPI from a FLM file I found.

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

More
3 years 9 months ago #262698 by cncwhacko
thanks for confirming--then and I'll have some redundancy for future projects! Should have second one in next few days

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

More
3 years 9 months ago #262782 by rbobey1989
Hi Scott, first of all congratulations for your great work and contribution, I've been following this thread for a long time, very interesting indeed. According to the above, you must have two STLinks V2, but I only have one, my question is the following, I could use an STM32F103C8 BluePill for example to build the DAPLink firmware, if my assumption were true which pins would be the ones I should use like SWDIO, SWCLK for your DAPLink firmware?
Regards Crack

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

More
3 years 9 months ago #262786 by scotta
Thanks,

The pin assignments for ST-Link are

// nRESET OUT Pin
#define nRESET_PIN_PORT GPIOB
#define nRESET_PIN GPIO_PIN_0
#define nRESET_PIN_Bit 0

//SWD
#define SWCLK_TCK_PIN_PORT GPIOB
#define SWCLK_TCK_PIN GPIO_PIN_13
#define SWCLK_TCK_PIN_Bit 13

#define SWDIO_OUT_PIN_PORT GPIOB
#define SWDIO_OUT_PIN GPIO_PIN_14
#define SWDIO_OUT_PIN_Bit 14

#define SWDIO_IN_PIN_PORT GPIOB
#define SWDIO_IN_PIN GPIO_PIN_12
#define SWDIO_IN_PIN_Bit 12

Might be worth a try. You would also need to copy the ST-Link schematic and connect PB12 to PB14 with a 100 ohm resistor.

This page has more details slemi.info/2018/08/14/making-your-own-st-link-v2/

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

More
3 years 9 months ago #262818 by RogEnk
Just wanted to add my thanks to Scott for the hard work and perseverance on this, it really is appreciated!
I’m taking delivery, if Amazon gets it right, of my 2nd STLink today so will hopefully be getting this up and running today!

Is the pendant functioning too Scott, probably not the brightest question :D

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

More
3 years 9 months ago #262830 by scotta

Just wanted to add my thanks to Scott for the hard work and perseverance on this, it really is appreciated!
I’m taking delivery, if Amazon gets it right, of my 2nd STLink today so will hopefully be getting this up and running today!

Is the pendant functioning too Scott, probably not the brightest question :D
Thanks. Yes the NVMPG is operational and included in the compiled firmware bin. Looking forward to hearing how things go.

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

Time to create page: 0.323 seconds
Powered by Kunena Forum