diff --git a/firmware/target/arm/as3525/debug-as3525.c b/firmware/target/arm/as3525/debug-as3525.c
index d18f2d7..aced891 100644
--- a/firmware/target/arm/as3525/debug-as3525.c
+++ b/firmware/target/arm/as3525/debug-as3525.c
@@ -67,6 +67,14 @@ extern bool sd_enabled;
#include "dbop-as3525.h"
#endif

+static inline unsigned read_arm_info(void)
+{
+ unsigned cp15_value;
+ asm volatile (
+ "mrc p15, 0, %0, c0, c0, 0 @ read control reg\n" : "=r"(cp15_value));
+ return (cp15_value);
+}
+
static inline unsigned read_cp15 (void)
{
unsigned cp15_value;
@@ -446,6 +454,7 @@ bool dbg_ports(void)
while(1)
{
line = 0;
+ lcd_puts(0, line++, "[ARM CPU: 0x%x]", read_arm_info());
lcd_puts(0, line++, "[GPIO Vals and Dirs]");
lcd_putsf(0, line++, "GPIOA: %2x DIR: %2x", GPIOA_DATA, GPIOA_DIR);
lcd_putsf(0, line++, "GPIOB: %2x DIR: %2x", GPIOB_DATA, GPIOB_DIR);