Remora - ethernet NVEM / EC300 / EC500 cnc board
25 Jan 2023 03:21 #262851
by RogEnk
Replied by RogEnk on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Got my second STLink today and followed instructions from here (for those like me who are novices at this!):
hackaday.io/project/162597-st-link-clone-repurposing
Substituted the bin files for those that Scott provided, I did this on a Mac so used open-ocd.
STLink presented itself as ‘Maintenance’ as promised after the first flash, however 2nd flash (copying the 2nd bin file to the drive) resulted in same name for the drive when it reconnected, and a subdirectory with an executable in it.
Decided to play it safe and stop there, been a long day, and will continue tomorrow after erasing and reflashing cmsis-dap on my Windows desktop.
hackaday.io/project/162597-st-link-clone-repurposing
Substituted the bin files for those that Scott provided, I did this on a Mac so used open-ocd.
STLink presented itself as ‘Maintenance’ as promised after the first flash, however 2nd flash (copying the 2nd bin file to the drive) resulted in same name for the drive when it reconnected, and a subdirectory with an executable in it.
Decided to play it safe and stop there, been a long day, and will continue tomorrow after erasing and reflashing cmsis-dap on my Windows desktop.
Please Log in or Create an account to join the conversation.
25 Jan 2023 21:48 #262906
by scotta
Replied by scotta on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
I've had the occasion when flashing with ST-Link Utility that the probe does not enumerate when inserted. Doing a full erase before flashing appears to be the most reliable way.
Please Log in or Create an account to join the conversation.
26 Jan 2023 03:11 #262915
by RogEnk
Replied by RogEnk on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Tried without success to reflash the ST Link to CMSIS-DAP on Windows but the ST software defeated me, succeeded again on the Mac then reverted once disk was relabeled to Maintenance.
Attempted to upload firmware to the NVEM and it failed, ultimately realized that your original video showed powering the NVEM via the 3.3v from the STLink, me being a dolt I had assumed it should be powered from a 12-32v supply!
Must. Not. Do. Delicate. Stuff. When exhausted!!
Attempted to upload firmware to the NVEM and it failed, ultimately realized that your original video showed powering the NVEM via the 3.3v from the STLink, me being a dolt I had assumed it should be powered from a 12-32v supply!
Must. Not. Do. Delicate. Stuff. When exhausted!!
Please Log in or Create an account to join the conversation.
26 Jan 2023 04:10 #262916
by scotta
Replied by scotta on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
I've done a short video on the process of flashing the ST-Link into a DAPLink.
Please Log in or Create an account to join the conversation.
26 Jan 2023 04:13 #262917
by scotta
Replied by scotta on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
No, the board needs to be connected to a power supply as there is no 3.3v pin / pad on the NVEM or EC300.Tried without success to reflash the ST Link to CMSIS-DAP on Windows but the ST software defeated me, succeeded again on the Mac then reverted once disk was relabeled to Maintenance.
Attempted to upload firmware to the NVEM and it failed, ultimately realized that your original video showed powering the NVEM via the 3.3v from the STLink, me being a dolt I had assumed it should be powered from a 12-32v supply!
Must. Not. Do. Delicate. Stuff. When exhausted!!
The following user(s) said Thank You: RogEnk
Please Log in or Create an account to join the conversation.
- heiterkiter
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 1
27 Jan 2023 14:47 #263008
by heiterkiter
Replied by heiterkiter on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
no luck here with the DAPLink. I have the exact same setup like scott
one old stlink v2 and a new one, different pinouts
, STM Link Utility says ... "no target found".
checked wires, checked latest firmware, tried different setting.
any suggestions?
Greetings from Hamburg, Germany
one old stlink v2 and a new one, different pinouts
, STM Link Utility says ... "no target found".
checked wires, checked latest firmware, tried different setting.
any suggestions?
Greetings from Hamburg, Germany
Please Log in or Create an account to join the conversation.
27 Jan 2023 21:33 #263026
by scotta
Replied by scotta on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
It should only be a wiring issue, maybe post a couple of pictures so we can see your setup?
Please Log in or Create an account to join the conversation.
28 Jan 2023 00:35 #263037
by cncwhacko
Replied by cncwhacko on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
I have received my second STlinkv2 and have programmed it with the stm32f103xb_bl.bin file. I reset the device plugged in directly and it gets mounted as the Maintenance drive. I then copied the stm32f103xb_mimxrt1050_qspi_if.bin file to the Maintenance drive but unlike your video i dont see the device eject/reload itself at that point, doing manual power cycle the maintenance drive just remounts with the stm32f103xb_mimxrt1050_qspi_if.bin file missing but it doesnt come back with the RT1052 drive name as expected. Any ideas?
Please Log in or Create an account to join the conversation.
28 Jan 2023 03:07 #263043
by scotta
Replied by scotta on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Hmm, I have not had that problem. Maybe do a full erase and re-flash the boot loader firmware gain.I have received my second STlinkv2 and have programmed it with the stm32f103xb_bl.bin file. I reset the device plugged in directly and it gets mounted as the Maintenance drive. I then copied the stm32f103xb_mimxrt1050_qspi_if.bin file to the Maintenance drive but unlike your video i dont see the device eject/reload itself at that point, doing manual power cycle the maintenance drive just remounts with the stm32f103xb_mimxrt1050_qspi_if.bin file missing but it doesnt come back with the RT1052 drive name as expected. Any ideas?
Please Log in or Create an account to join the conversation.
28 Jan 2023 03:13 #263044
by scotta
Replied by scotta on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
An EC500 has arrived and I thought that this would be a great test to see if programming was straight forward with the DAPLink on a board with original firmware.
Unfortunately no...
FAIL.TXT error: Failed to initialize the target MCU
This error occurs even with using the boot_M0 pin to force a boot not from flash.
I new this was to good to be true.
Unfortunately no...
FAIL.TXT error: Failed to initialize the target MCU
This error occurs even with using the boot_M0 pin to force a boot not from flash.
I new this was to good to be true.
Please Log in or Create an account to join the conversation.
Time to create page: 0.270 seconds