Could someone here help me test <https://github.co...
# mpw-2-silicon
m
i
Hi. I'm trying that but when I do the make flash I got "No matching FTDI devices on USB bus! ". Any idea why that happen? the IO test worked and I got the config file
m
you need to reconfigure the setup for flashing firmware. unplug the hat from nucleo, swap over the power jumpers and plug in the usb cable
i
Ok, I done that
now the board has a bliking LED
but now I can not flash it again. Now mfg, product, and project ID is "FF". and is failing in the
if int.from_bytes(mfg, byteorder='big') != 0x0456:
m
you have both power jumpers on 'main' ?
what command are you using to flash? it should be
Copy code
make flash
p
I get the following error with the default riscv64 toolchain from debian
Copy code
../crt0_vex.S: Assembler messages:
../crt0_vex.S:59: Error: unrecognized opcode `csrw mtvec,a0', extension `zicsr' required
../crt0_vex.S:87: Error: unrecognized opcode `csrw mie,a0', extension `zicsr' required
../irq_vex.h: Assembler messages:
../irq_vex.h:31: Error: unrecognized opcode `csrw 3008,a5', extension `zicsr' required
it seems that I need a different
-march
?
i
Hi, sorry for the late response, yes both jumpers are on main. Doing the make flash exits before doing something. The first flash worked but now I can not stop the LED flash. I tried to change to other chip but same behavior, so I don't know what to do or how to reset the board. the output is this from make flash
python3 ../util/caravel_hkflash.py gpio_test.hex
Success: Found one matching FTDI device at <ftdi://ftdi:232>h:1:9/1
Caravel data:
mfg        = 0000
product    = 00
project ID = 00000000
make: *** [Makefile:44: flash] Error 2
is there any way to clear the configuration of the caravel-board? seams to be related with that.
I tried to flash again using the nucleo ( I change the jumpers), but now the
Winbond SRAM not found
No matter wich test chip I use.
m
@proppy I've seen this with a hand installed assembler. I just did pip3 install mpy-cross and that worked for me
@Ivan Rodriguez I'm sorry I don't know what is the root cause of this SRAM not found issue.
i
For me seems that the board can not be flash, after that first flash.
there is any way to clear the memory on the board?
p
@Matt Venn I think mpy-cross is different, it's for compiling the mpy files. For gpio_test we need a bare metal risc-v compiler.