On 10.03.21 23:03, Antonio Borneo wrote:
> Could you post the whole dump of the GD32E230's ROM table?
> You can use CMSIS-DAP with openocd command 'dap info'

Sure:

> dap info
AP ID register 0x04770025
    Type is MEM-AP AHB5
MEM-AP BASE 0xe00ff003
    Valid ROM table present
        Component base address 0xe00ff000
        Peripheral ID 0x04000bb4cb
        Designer is 0x4bb, ARM Ltd
        Part is 0x4cb, Unrecognized 
        Component class is 0x1, ROM table
        MEMTYPE system memory present on bus
    ROMTABLE[0x0] = 0xfff0f003
        Component base address 0xe000e000
        Peripheral ID 0x04000bbd20
        Designer is 0x4bb, ARM Ltd
        Part is 0xd20, Unrecognized 
        Component class is 0x9, CoreSight component
        Type is 0x00, Miscellaneous, other
    ROMTABLE[0x4] = 0xfff02003
        Component base address 0xe0001000
        Peripheral ID 0x04000bbd20
        Designer is 0x4bb, ARM Ltd
        Part is 0xd20, Unrecognized 
        Component class is 0x9, CoreSight component
        Type is 0x00, Miscellaneous, other
    ROMTABLE[0x8] = 0xfff03003
        Component base address 0xe0002000
        Peripheral ID 0x04000bbd20
        Designer is 0x4bb, ARM Ltd
        Part is 0xd20, Unrecognized 
        Component class is 0x9, CoreSight component
        Type is 0x00, Miscellaneous, other
    ROMTABLE[0xc] = 0xfff01002
        Component not present
    ROMTABLE[0x10] = 0xfff41002
        Component not present
    ROMTABLE[0x14] = 0xfff42002
        Component not present
    ROMTABLE[0x18] = 0xfff43002
        Component not present
    ROMTABLE[0x1c] = 0xfff44002
        Component not present
    ROMTABLE[0x20] = 0x0
        End of ROM table

Now either OpenOCD or Blackmagic does something slightly wrong: OpenOCD
reports Designer "0x4BB", while Blackmagic reports "0x43B".

Jedec JEP106BC lists ARM as 0x3B in Page 5, so 0x43B seems correct here
- Bit 7 in Jedec IDs is a parity bit, but in case of ARM, it is 0, and
it seems it is not stored in ROM table IDs anyway.

cu

Michael


_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to