ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board

More
08 May 2023 15:35 #270934 by deroj
I am using openFPGALoader with Altera usb-blaster.
to write into flash I have to use -f --unprotect-flash Flags to write into permanent memory.
Otherwise it would write into temporary memory, which falls Back when reset the Chip or Power off
The following user(s) said Thank You: tuxcnc, MartijnD

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

More
08 May 2023 15:43 #270936 by deroj

can't wait to play with it :)
 [attachment=53387]post2.jpg[/attachmattachmen

what are the other Boards?

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

More
08 May 2023 16:20 - 08 May 2023 16:24 #270940 by meister
MKS SERVO42C SERVO57C

nice closed-loop driver for NEMA17 and 23
Last edit: 08 May 2023 16:24 by meister.

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

More
08 May 2023 16:44 - 08 May 2023 16:45 #270943 by MartijnD

deroj post=270934 userid=31037I am using openFPGALoader with Altera usb-blaster.
to write into flash I have to use -f --unprotect-flash Flags to write into permanent memory.
Otherwise it would write into temporary memory, which falls Back when reset the Chip or Power off
 

Thanks for pointing that out!
Last edit: 08 May 2023 16:45 by MartijnD.

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

More
08 May 2023 16:48 - 08 May 2023 16:49 #270944 by MartijnD

MKS SERVO42C SERVO57C

nice closed-loop driver for NEMA17 and 23
 

If you are interested I'm on the same journey and already drawed some nice housings for the Servo57c's www.printables.com/model/465393-nema23-s...ve-case-with-connect it is work in progress but I'm about to release the final version
Last edit: 08 May 2023 16:49 by MartijnD.

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

More
08 May 2023 17:31 #270947 by meister
Ahh, nice, but i think i leave it open for more airflow

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

More
08 May 2023 18:30 - 08 May 2023 18:54 #270950 by meister
Ok, installed, build, flashed, but i can not ping the board (5A-75E V8.2).
is it ok to build for ColorLight_5A_75E_V6_0 ?
how can i test the board ?
Thanks

EDIT: sorry, sorry, works :) wrong IP

root@station:# openFPGALoader -c usb-blaster -r -f --unprotect-flash 5a-75e.json/LiteX-CNC/examples/5a-75e/gateware/colorlight_5a_75e.bit
write to flash
Open file DONE
Parse file DONE
Enable configuration: DONE
SRAM erase: DONE
Detail: 
Jedec ID          : c8
memory type       : 40
memory capacity   : 16
EDID + CFD length : c8
EDID              : 1640
CFD               : 
flash chip unknown: use basic protection detection
unlock blocks
Erasing: 100.00%
Done
Writing: 100.00%
Done
Refresh: DONE
Last edit: 08 May 2023 18:54 by meister.

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

More
08 May 2023 22:01 #270964 by meister
Transceivers U23,U24,U28 for J1,J2,J3,J4 are changed and the board still works, puhh.
BUT, never ever again ! horrorible !!!
BTW: i covered the 2 pins with kapton tape
 
Attachments:

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

More
08 May 2023 23:10 #270969 by meister
I can blink out but not read on my input pin and the strange thing is this:

7 bit IN FALSE test_PWM_GPIO.gpio.input1.in
7 bit OUT FALSE test_PWM_GPIO.gpio.input1.in-not

.in and .in-not is set to FALSE at the same time , hmmmmmm

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

More
09 May 2023 19:16 #271058 by tuxcnc

I am using openFPGALoader with Altera usb-blaster.
to write into flash I have to use -f --unprotect-flash Flags to write into permanent memory.
Otherwise it would write into temporary memory, which falls Back when reset the Chip or Power off
 

This works, but is not easy as looks...
I fought two days with many programmers with no result.
I have success with  github.com/dirtyjtag/DirtyJTAG/releases/tag/2.0 ( github.com/dirtyjtag/DirtyJTAG/tree/master/docs/img ).
It is Interesting, the openFPGALoader with DirtyJTAG can write to protected flash, but not unprotects it permanent.
You can write bitstream to flash with DirtyJTAG, but with original Lattice programmer and software flash is still invisible...
openFPGALoader --unprotect-flash --write-flash -c dirtyJtag --bitstream filename.bit

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

Moderators: PCWjmelson
Time to create page: 0.213 seconds
Powered by Kunena Forum