grahamedgecombe / icicle

32-bit RISC-V system on chip for iCE40 FPGAs
ISC License
301 stars 52 forks source link

ram doesn't work on upduino v2 #15

Open roman65536 opened 4 years ago

roman65536 commented 4 years ago

Hi, after little bit of fiddling, I was able to run hallo world on upduino v2 from flash. However it look like nothing which was written to ram, came the same when read from the same memory location. Any subroutine call end in hanging the cpu. I can't figure out why.

thank you Roman

roman65536 commented 4 years ago

I suspect, there is something with the tools, that's way ram is not working correctly. Would somebody write, what version of tools the code is running without problem ?

vr2045 commented 4 years ago

@roman65536 , are you able to share what fiddling you did? I tried this on my UPduino and I get nothing on my console... I have heard that the RAM on the ice40 requires more time to settle after power up. Perhaps the reset needs to be extended?

roman65536 commented 4 years ago

No, I switched to picosoc. They use the internal 128kB ram, which is anyway better then icicle. rgdsRoman

On Thursday, September 17, 2020, 5:58:14 PM GMT+2, vr2045 <notifications@github.com> wrote:  

@roman65536 , are you able to share what fiddling you did? I tried this on my UPduino and I get nothing on my console...

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.