Im Stuck! Wally Hangs with: CMD8: Failed, 0x00F00001AA Failed at: 0x00000000000017B2 on Arty-A7 100 #1213
-
Welcome to minicom 2.8 OPTIONS: I18n Press CTRL-A Z for help on special keys █▀█ █▀█ █▀█ █▀▀ █ █ \ \ / / / \ | | | | \ \ / / [0.05342] Initializing SPI Controller. I used minicom to access the console via the USB port. Anything obviously wrong to anyone? Here's the vivado screen: -piet |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 6 replies
-
Hi Piet, We've had this problem before with past versions of the zero stage bootloader which copies the flash card to DRAM. Can you check which git commit you are using? Anything in the last 2 months should work. @JacobPease is the SD card expert he would have the best insight. |
Beta Was this translation helpful? Give feedback.
-
I update the wally/cvw repo and tried to update the sub-modules. My last try resulted in the console no longer mentioning Wally. Looks like a LED demo: _****************************************************** ** Avnet/Digilent Arty Evaluation Board ** ** I noticed that the root filesystem on the sdcard has X86 files, not riscV. I'll retry again. I'd like to know how you guys keep you cvw and sub-modules up to date and in sync. -piet |
Beta Was this translation helpful? Give feedback.
-
Hi @PietDelaney, To update the local clone of the repo we usually do a This won't override any local changes though, so if that is your intention then doing a git reset first might be necessary. |
Beta Was this translation helpful? Give feedback.
-
I've tried a few re-builds of everything and continue to get the same result: I discussed fpga/zsbl directory with chat-gpt and tired a few of it's suggestions. Maybe the author, Jaocb Pease [email protected], could help. Here is the SDHC cards Im using, 32GByte: https://www.amazon.com/dp/B0D5HD9R18?ref=ppx_yo2ov_dt_b_fed_asin_title&th=1 I ordered a few more sdcard adapter to try that. The Elsevier_3June2024 book instructions for the Wally Makefile in :riscv/cvw/fpga/generator wasnt clear on Do you guys have scripts that you run to build the complete fpga? This is taking a long time to resolve. Sigh. -piet |
Beta Was this translation helpful? Give feedback.
-
I repeated the build process, did the:
then followed the step by step instructions in :~/riscv/cvw/fpga/README.md Results are yet again the same: Welcome to minicom 2.8 OPTIONS: I18n Press CTRL-A Z for help on special keys █▀█ █▀█ █▀█ █▀▀ █ █ \ \ / / / \ | | | | \ \ / / [0.05342] Initializing SPI Controller. This is disappointing. Sigh |
Beta Was this translation helpful? Give feedback.
-
You are correct. That process (and accompanying section of the textbook) has been updated since that draft. To make the FPGA bitstream for an Arty A7 it should just be a matter of running In terms of debugging the CMD8 failure, could you post the exact commands you are running? I know you said you are following the README, but maybe there is an issue with one of the arguments you are using for one of the scripts. |
Beta Was this translation helpful? Give feedback.
-
Hi Piet, Just to double check which Pmod port do you have the flash card plugged into? It should be the right most one labeled JD. Rose |
Beta Was this translation helpful? Give feedback.
-
I just tested a build from the latest head commit on the main branch and it's working for me. The commit hash is 528ecfb. These are the steps I followed. On my github fork I synced. After the build I opened the project and programed the device. I used screen rather than minicom to connect to the UART interface but minicom should work. screen /dev/ttyUSB2 115200 Edit: I tried with minicom and it works. Added command so I don't forget the syntax. |
Beta Was this translation helpful? Give feedback.
-
This is the flash card I'm using, I've also used others so I don't think it will make a difference. |
Beta Was this translation helpful? Give feedback.
I tried the 64BG card that your using. It's working much better. I'll try flashing the card next.
** Avnet/Digilent Arty Evaluation Board **
** LEDs and switches GPIO Demonstration **
**
Choose Task:
BTN0: Print PWM value.
BTN1: 'Cylon' LED display.
BTN2: Scrolling LED display.
BTN3: Return to this menu.
█▀█ █▀█ █▀█ █▀▀ █ █
█ █ █ █▄▀ █▄▄ ▄▄▄ █ █
█▄█ █▄█ █ █ █▄▄ ▀▄▀
\ \ / / / \ | | | | \ \ / /
\ \ __ / / / \ | | | | \ / /
\ / / / / /\ \ | | | | \ /
\ / / ____ \ | |___ | |___ | |
_/_/ // _|||| |__|
[0.05343] Initializing SPI Controller.
[0.05703] Initializing SD Card in SPI mode.
[0.06125] CMD0: Success, r = 0x01
[0.06435] CMD8: Success, 0x01000001AA
[0.06797] ACMD41: Success, r = 0x00
…