firmware won't write on plug-n-go

More
23 Jul 2019 04:21 #140262 by rwistort
firmware won't write on plug-n-go was created by rwistort
Greetings!
I've been using a mesa plug-and-go 6i25 with 7i76. Everything worked as advertised. First time!

Seriously, folks... The 7i76 drives my steppers just fine, and now I need to add a 7i77 servo daughter-board to drive an analog servo amp, so I needed to update the firmware.

Mesaflash didn't work, so I compiled it from source. (I had to fix some sizeof() warnings and take out some 'inline' tags to get a clean compile. Seems like it shouldn't be that hard.) Then I tried to download the firmware:
> cd ~/mesa/5i25/utils/linux/source/mesaflash3
> sudo ./mesaflash --device 5I25 --write ~/mesa/5i25/configs/hostmot2/5i25_7i77_7i76.bit
Checking file... OK
  File type: BIT file
  Design name: TopPCIHostMot2b.ncd;UserID=0xFFFFFFFF
  Part name: 6slx9tqg144
  Design date: 2018/12/19
  Design time: 13:14:07
  Config Length: 340604
Erasing sector 0 for boot block
BootBlock installed[
Failed to write valid boot sector
>
When I do
sudo ./mesaflash --device 5i25 --readhmid
and it shows stepgens on both P2 and P3, so I'm wondering if perhaps plug-n-go kits' pre-loaded firmware is write-protected?

How do I download a 7i77_7i76 config onto my 6i25?

Thanks
Reid

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

More
23 Jul 2019 06:55 #140264 by pl7i92
Replied by pl7i92 on topic firmware won't write on plug-n-go
DID you jumper for the writing

look in the pdf to see jumper settings

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

More
23 Jul 2019 07:32 #140269 by PCW
Replied by PCW on topic firmware won't write on plug-n-go
You should use the latest mesaflash from

github.com/micges/mesaflash/tree/v3.3

it looks like the old mesaflash may have corrupted the boot block
so make sure you re-write the firmware before cycling the power!

(note: there are no jumper settings related to flashing the 5I25 firmware)

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

More
23 Jul 2019 15:19 #140295 by rwistort
Replied by rwistort on topic firmware won't write on plug-n-go
Github did the trick. Thanks.

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

More
24 Jul 2019 03:45 #140387 by rwistort
Replied by rwistort on topic firmware won't write on plug-n-go
If you're going to make one mistake, you might as well make them all, I always say.

Fixing the jumper helped too.
Thanks

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

Moderators: cmorley
Time to create page: 0.077 seconds
Powered by Kunena Forum