Tweak dbg

Slightly tweak the debug device configuration and add ram-base debug device.