chipsalliance / VeeRwolf

FuseSoC-based SoC for VeeR EH1 and EL2
284 stars 64 forks source link

Configure OpenOCD to utilize abstract mem. access #23

Closed JanMatCodasip closed 3 years ago

JanMatCodasip commented 4 years ago

This OpenOCD configuration change shall be used with SweRV EH1 1.8+.

Reason: Allow OpenOCD to access all memory, incl. core-local memories - ICCM, DCCM and PIC.

JanMatCodasip commented 4 years ago

@sobuch - May I ask you to double-check this prior to merge?

sobuch commented 4 years ago

Seems fine. Could we also add riscv set_enable_virt2phys off, as we use internally, to prevent additional warning?

JanMatCodasip commented 4 years ago

@sobuch - Thank you. Good point about disabling the virt2phys address translation (which prevents some pointless OpenOCD warnings). I have added that, too.

olofk commented 3 years ago

This has been merged already. Forgot to close