Remora - ethernet NVEM / EC300 / EC500 cnc board

More
3 years 9 months ago #263051 by cncwhacko
onething that I just noticed in the ST-Link utility it lists my target flash size of 128KB, i see the bl itself is 47KB and then the qspi_if.bin file is 79KB. 47+79KB is 126KB which is really close to that max limit, is it possible my target st-link clone has less flash than yours? I noticed in your video it says Flash Size "unknown"

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

More
3 years 9 months ago #263053 by scotta
My ST-Links are also 128KB.

I've taken a full image of my working DAPLink (bl + if). Try flashing this with ST-Link Utility.

github.com/scottalford75/Remora-RT1052/b...mxrt1050_qspi_if.bin

BR
Scott

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

More
3 years 9 months ago #263054 by cncwhacko
just loaded github.com/scottalford75/Remora-RT1052/b...mxrt1050_qspi_if.bin on the target, plugged it in and it also mounted as Maintenance drive. Same thing when i drag/drop stm32f103xb_mimxrt1050_qspi_if.bin onto it again this time, file fully copies but then it doesnt reset itself at that point.

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

More
3 years 9 months ago - 3 years 9 months ago #263055 by cncwhacko
Another data point. For giggles, I tried using a bluepill board as a target and that did work as expected! It mounted as Maintenance, then placed the _if.bin on there and reset and remounted as RT1052. mcuexpresso with the bluepill detects the daplink.

Yet now the pin mapping you gave in forum.linuxcnc.org/18-computer/44828-rem...ard?start=590#262786 I am not having success with.

ive shorted PB12 and PB14 via 100ohm resistor but still doesnt detect the board when attempting to connect in mcuxpresso. Is there anything on the board side you need to do to trigger the programming?

I have connected the SWD,SCK,3.3v and G on the EC500 board to the bluepill as such:

ec500
blue pill
Code:
3.3 ------------ 3.3 G ------------ G SCK ---------- PB13 SDO ---------- PB14
Last edit: 3 years 9 months ago by cncwhacko.

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

More
3 years 9 months ago #263056 by cncwhacko
success using the bluepill as the daplink! one thing i had to do in order to get the rt1052 to respond within mcuxpresso was have it plugged into the bluepill when placing the stm32f103xb_mimxrt1050_qspi_if.bin onto the Maintenance bluepill drive. Then it loaded and i was able to flash using this method!

Seems like the default ip address is set to 10.10.10.10 with the current repo config, is that correct? I was going to test against the device to see if it responded to pings

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

More
3 years 9 months ago #263063 by heiterkiter
here is a picture of the wiring. i turned everything around for viewing pleasure. the dupont cables are connected to the pin rows shown


3v3 to 3v3
GND to GND
CLK to ClK
DIO to DIO

the boards are exactly like yours. the source board has a solid blue LED and the target a flashing red LED

just tested again. no luckl. :/
 
The following user(s) said Thank You: tommylight

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

Time to create page: 0.745 seconds
Powered by Kunena Forum