Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICESUGAR target fails to build #39

Open
piso77 opened this issue May 3, 2021 · 7 comments
Open

ICESUGAR target fails to build #39

piso77 opened this issue May 3, 2021 · 7 comments

Comments

@piso77
Copy link

piso77 commented May 3, 2021

learn-fpga/FemtoRV$ make ICESUGAR
...
make[2]: Leaving directory '/home/flag/fpga_stuff/learn-fpga/FemtoRV/FIRMWARE/CRT'
==== Generated femtorv32 libs.
make[1]: Leaving directory '/home/flag/fpga_stuff/learn-fpga/FemtoRV/FIRMWARE'
make: *** No rule to make target 'FIRMWARE/firmware.hex', needed by 'ICESUGAR.synth'. Stop.

@BrunoLevy
Copy link
Owner

Yes you'll need to adapt icesugar.mk and create RTL/CONFIGS/icesugar_config.v plus a couple of other changes (I could not test it with the icesugar). It is not very difficult to do, let me know if you want to do it / test it and I'll help you.

@abderraouf-adjal
Copy link
Contributor

abderraouf-adjal commented Apr 12, 2022

@piso77 Hi, were you able to do a core on icesugar or icesugar-nano on the SPI flash?

@piso77
Copy link
Author

piso77 commented Apr 13, 2022

I have a series of commits to enable ICESUGAR, but it never really worked - not sure if if was the flash chip or something in my memory map. Should give it another shot, or prepare a pull request if you want to try it out.

@abderraouf-adjal
Copy link
Contributor

abderraouf-adjal commented Apr 13, 2022 via email

@abderraouf-adjal
Copy link
Contributor

UPDATE:
I managed to make the board icesugar-nano (ice40lp1k) work, and with the SPI flash!
Yes, the LED is blinking, and the UART is fine too, LUTs usage: ICESTORM_LC: 1134/ 1280 88%.
I will post details and maybe patches too when I get some free time.

@abderraouf-adjal
Copy link
Contributor

@piso77 checkout #66 for icesugar-nano, it works fine in my end, I don't have an icesugar board to test on it, however it's not very different, just re-naming and make sure the SPI pins in .PCF file are correct by looking at the board schematic.

@piso77
Copy link
Author

piso77 commented Apr 30, 2022

@piso77 checkout #66 for icesugar-nano, it works fine in my end, I don't have an icesugar board to test on it, however it's not very different, just re-naming and make sure the SPI pins in .PCF file are correct by looking at the board schematic.

Thanks, i'll give it a shot later today or tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants