Remora - ethernet NVEM / EC300 / EC500 cnc board

More
2 years 7 months ago #295272 by Cold Turkey
Ok, combination of bad hardware and configs failing to load to the board correctly. Tested your config on a third EC500 and can confirm it is working.

The main EC500 I've been testing on simply has dead pins, I was never going to be able to find them with it. (the oldest board I have, has been through a lot). The second one I killed due to a messy test bench setup and user error.

Had a couple of strange issues with the config not fully overwriting the old one but a full chip erase with pyocd and firmware reflash got it all working as it should.

Thank you for your efforts

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

More
2 years 7 months ago #295367 by cncmiljc
Can you help me with this doubt? With the modified stlink, can I write the Firmware directly through CubeIDE?

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

More
2 years 7 months ago - 2 years 7 months ago #295702 by Cold Turkey
Hey

I will try and help because it looks as though nobody may have any experience with CubeIDE (myself included)

I have been focusing on using the latest linuxcnc installer release (2.9) on PC hardware and have so far got every debug probe I can get my hands on working with it.

I am finalising the entire install process (using pc hardware) including getting wifi working and installing ProbeBasic. I haven't finished it yet but here is my first draft and it has worked for me 100% of the time. I haven't had the time yet but you could try and test this with the Live Installer if you didn't have spare pc hardware to install on and see if it works also.

Flashing and getting remora running are steps 6, 7, 8 and 9

If anyone does try this and have or notice errors please let me know so I can test or rewrite it. If you test on different hardware and have success please let me know so I can include it. If you have issues let me know and I will try and help but I am very busy and a beginer myself so don't expect fast miracles.

Cheers.

### FLASHING REMORA GUIDE ###
WORKS WITH STANDARD UNMODIFIED STLINK

CLICK THE SPOILER
Warning: Spoiler!
Last edit: 2 years 7 months ago by Cold Turkey. Reason: Make the guide more obvious
The following user(s) said Thank You: cakeslob, Domi, vpomerleau, raf1110, peterling, rjenkinsgb, HMJ-Baltic

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

More
2 years 7 months ago - 2 years 7 months ago #295725 by vpomerleau
Hi Cold Turkey
I saw in previous post you have done full chip erase with pyocd, when I tried this I get a no ACK error , did you put jumper on the boot pin or else , can you share your procedure for full chip erase, I was only able to do it in mcuexpresso. I also put bad config in it. Thank you very much for the tutorial for flashing it from linux computer, i'm gonna give it a try.
Last edit: 2 years 7 months ago by vpomerleau.

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

More
2 years 7 months ago - 2 years 7 months ago #295731 by Cold Turkey
The only time I've had the no ACK error was due to a bad debug probe. You can test this by unplugging the probe and running the command, you should get a message like "searching for debug probe" or something. Then plug the probe in when it is not connected to the EC500. If you get that error then chances are the probe is stuffed.

From memory in Pyocd to erase the chip run the following:

pyocd erase --chip --target mimxrt1050_quadspi

If you have another probe but it isn't recognised by pyocd then look through my previous post. There is a step to get it working.

P.S. No, I didn't use a jumper
Last edit: 2 years 7 months ago by Cold Turkey.

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

More
2 years 7 months ago #295732 by vpomerleau
Thank you, maybe my STlink is bad, my probe is recognized because I'm able to flash. I think I will continue doing it with mcuexpresso. I was just wondering if you make something special before erasing

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

Time to create page: 0.252 seconds
Powered by Kunena Forum