[enhancement] allow SRAM only programming #854
Replies: 9 comments
-
Icestudio uses apio as backend. Any enhancement in the execution of the toolchain must be implemented first in apio. Then it can be implemented in Icestudio. Since Icestudio supports multiple boards with different programmers, do you have any preference in how to implement the UX/UI of this feature? |
Beta Was this translation helpful? Give feedback.
-
in my makefile for icestorm I have two targets prog and prog-ram in a similar manner in the menu you could have "upload" and "upload to sram" it should be noted on my lattice breakout board, you have to remove one jumper and rotate a block of two other jumpers before you can upload to sram and this then prevents upload to flash... for usability reasons a better way might be to have a project setting say a check box "upload to sram instead of flash" (for the boards that can do it) and then only have an upload menu item. By default upload should go to flash The circuit diagrams for the lattice ice40hx8k breakout board are readily available and it might be worth looking at how these jumpers work as some other boards might be able to support this functionality with a minor "tweak" - for all I know some others might be able to do it already |
Beta Was this translation helpful? Give feedback.
-
Great. I like the "Upload to SRAM" checkbox. We want to see if it is a project setting, a user setting and where to put this setting: Tools, Edit, ... Thanks for the suggestion. It will be implemented in future releases. |
Beta Was this translation helpful? Give feedback.
-
I'd have thought a project setting, but also consider a pop up when selected to warn the user to change the jumpers, I know after leaving my board for a while I couldn't program flash forgetting about the jumper settings but don't know if there is anyway to infer how the physical jumpers are set ? |
Beta Was this translation helpful? Give feedback.
-
I just started trying icestudio tonight (linux nightly).... after cutting the traces on the icebreaker and successfully getting SRAM upload working on the command-line. Is this feature really still unsupported, or has this issue simply not been updated? |
Beta Was this translation helpful? Give feedback.
-
this
how can I quickly hack this to work? Clicking upload has now frozen Icestudio and there's no cancel button. edit: I forcefully restarted icestudio and found that even though I'd clicked verify, build, and then upload, my work hadn't saved and I lost some progress. |
Beta Was this translation helpful? Give feedback.
-
ok, after a little digging, I found the
then |
Beta Was this translation helpful? Give feedback.
-
Hello, i tried to program into SRAM but I don't know how to change the apio settings, can somebody help me please I'm using Win10 |
Beta Was this translation helpful? Give feedback.
-
Hello! I am reorganizing the issues, trying to give more visibility and be able to better organize and prioritize the work and my roadmap (I will publish it very soon), I am converting some issues that are new feature requests as ideas on Github discussions. Thanks for understanding. |
Beta Was this translation helpful? Give feedback.
-
allow uploading only to fpga sram and not to flash, I regularly use iceprog -S as it is much faster especially while testing, obviously once tested you'd want to revert to programming flash...
Beta Was this translation helpful? Give feedback.
All reactions