Replies: 3 comments 13 replies
-
Hey there! Thank you very much for the nice words :) I think the problem is just an address mapping issue.
|
Beta Was this translation helpful? Give feedback.
-
Maybe this is caused by a signal mapping problem. The default clock flash clock signal cannot be used as general purpose IO, but there is an additional pin connected to the flash that has to be used (L16). This is what my pin mapping for the Arty A-35 looks like:
I think the pin mapping is the same for the A-100. |
Beta Was this translation helpful? Give feedback.
-
Hi there!
I'm using a modification of The issue is that when I make a SPI data transmission I don't receive a response from the flash. I've set a ILA for make a debug and I've checked that the flash is enable and the data is sent correctly. As is shown in the following image: According to the datasheet when code Moreover, it doesn't respond for any code. Could you give me any hint?
I have this constrains in the Thanks! /cc @umarcor Edit: Although this would not have worked, because as you can see below the problem was that I enabled the chip before doing the setup. The ILA image is wrong because I didn't send a 0x00 sequence to send to the flash-spi memory the clock and get a result. |
Beta Was this translation helpful? Give feedback.
-
Stephan,
First off, I love your project! I'm fairly new to RISC V and FPGAs, but you've made this so easy to understand, as well as providing good performance. But, I digress...
I've been experimenting with various neorv32 SoCs on my Arty A7-100 Rev.E, but I just cannot get "store to flash" or "load from flash," vis a vis the bootloader, to work with the Spansion S25FL128SAGMF100 (16 MB SPI flash). I tried updating the commands to the 4 bit commands in the datasheet, but, nothing. It just hangs. Everything else works - I can "upload" and "execute" my programs with ease. But, no matter how I try, I cannot program the External SPI Flash via the Bootloader.
One thing I noticed is that the bootloader looks to 0x0800_0000, though SPI seems to start in the peripheral space between 0xFFFFE00 and 0xFFFFFFF.
So, color me confused! Any help you could offer would be greatly appreciated!
Jon
Beta Was this translation helpful? Give feedback.
All reactions