From 0d39c7d57528de4f9f466014ecacdfacc699c655 Mon Sep 17 00:00:00 2001 From: CLappin Date: Wed, 10 Apr 2024 14:13:40 +0100 Subject: [PATCH] Removal of Notice from readme as updated RISC-V HAL and MIV_RV32 solve the issue. --- FlashPro_Express_Projects/README.md | 16 ---------------- Libero_Projects/README.md | 17 ----------------- 2 files changed, 33 deletions(-) diff --git a/FlashPro_Express_Projects/README.md b/FlashPro_Express_Projects/README.md index 6a45c61..4769b84 100644 --- a/FlashPro_Express_Projects/README.md +++ b/FlashPro_Express_Projects/README.md @@ -2,22 +2,6 @@ This folder contains FlashPro Express v2024.1 projects for the RTG4 Development Kit Mi-V sample designs. -## Notice -1) Due to an issue specific to the MIV_RV32 v3.1.100 with the MTVECs address, it is not recommended to use MIV_RV32 v3.1.100 for any FreeRTOS examples. You may use MIV_RV32 v3.0 or the latest MIV_RV32 v3.1.200 with the FreeRTOS examples. - -2) There is also an issue which effects all MIV_RV32 cores up to v3.1.100, when using fast interrupts where the return address can become corrupted. There software workaround can be applied in the entry.S in MIV_RV32 HAL file as shown below until the issue is fixed in the IP. - -.macro STORE_CONTEXT -addi sp, sp, -SP_SHIFT_OFFSET*REGBYTES -SREG x1, 0 * REGBYTES(sp) -SREG x1, 0 * REGBYTES(sp) // re-write the return address to workaround -SREG x2, 1 * REGBYTES(sp) -SREG x3, 2 * REGBYTES(sp) - -Please see the latest MIV_RV32 HAL available [here](https://github.com/Mi-V-Soft-RISC-V/platform/tree/main/miv_rv32_hal). - -A new version of the MIV_RV32 will be released to fix both the issues mentioned above. - ## FlashPro Express The programming files contained under this folder were exported from the designs in the Libero_Projects folder in this repository. Select the desired programming file (.job) and program your device using FlashPro Express. diff --git a/Libero_Projects/README.md b/Libero_Projects/README.md index 990526c..f0457f0 100644 --- a/Libero_Projects/README.md +++ b/Libero_Projects/README.md @@ -3,23 +3,6 @@ This folder contains Tcl scripts that build Libero SoC v2024.1 design projects f > This design only supports the production silicon (PS) die -## Notice -1) Due to an issue specific to the MIV_RV32 v3.1.100 with the MTVECs address, it is not recommended to use MIV_RV32 v3.1.100 for any FreeRTOS examples. You may use MIV_RV32 v3.0 or the latest MIV_RV32 v3.1.200 with the FreeRTOS examples. - -2) There is also an issue which effects all MIV_RV32 cores up to v3.1.100, when using fast interrupts where the return address can become corrupted. There software workaround can be applied in the entry.S in MIV_RV32 HAL file as shown below until the issue is fixed in the IP. - -.macro STORE_CONTEXT -addi sp, sp, -SP_SHIFT_OFFSET*REGBYTES -SREG x1, 0 * REGBYTES(sp) -SREG x1, 0 * REGBYTES(sp) // re-write the return address to workaround -SREG x2, 1 * REGBYTES(sp) -SREG x3, 2 * REGBYTES(sp) - -Please see the latest MIV_RV32 HAL available [here](https://github.com/Mi-V-Soft-RISC-V/platform/tree/main/miv_rv32_hal). - -A new version of the MIV_RV32 will be released to fix both the issues mentioned above. - - #### RTG4_Dev_Kit_MIV_RV32_BaseDesign | Config | Description|