By default bus errors are disabled, enable them.
---
 software/bios/main.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/software/bios/main.c b/software/bios/main.c
index ed41bc9..93eee83 100644
--- a/software/bios/main.c
+++ b/software/bios/main.c
@@ -616,6 +616,9 @@ int main(int i, char **c)
        /* lock gdbstub ROM */
        CSR_DBG_CTRL = DBG_CTRL_GDB_ROM_LOCK;
 
+       /* enable bus errors */
+       CSR_DBG_CTRL = DBG_CTRL_BUS_ERR_EN;
+
        CSR_GPIO_OUT = GPIO_LED1;
        rescue = !((unsigned int)main > FLASH_OFFSET_REGULAR_BIOS);
 
-- 
1.7.2.5

_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkymist@Freenode

Reply via email to