pico-sdk icon indicating copy to clipboard operation
pico-sdk copied to clipboard

MTB Support

Open TinyCircuits opened this issue 1 year ago • 3 comments

Hi,

I'm wondering if the new RP2350A2 supports Arm's Micro Trace Buffer (MTB): https://developer.arm.com/documentation/100231/latest/

The reason I ask is because the datasheet is a bit unclear. For example, pg. 125 of the datasheet says "MTB: no MTB trace" but pg. 126 says

" The processor implements the following optional interfaces: • Arm TrustZone technology, using the Armv8-M Security Extension supporting Secure and Non-secure states • Memory Protection Units (MPUs), which you can configure to protect regions of memory • Floating-point arithmetic functionality with support for single precision arithmetic • Support for ETM and MTB trace "

The rest of the datasheet also has mentions of MTB indicating it is supported. Reading the processor ROM for MTB at address 0xE00FF01C returns 0xFFF44002 indicating it isn't supported. The SDK also has no mentions of the keyword MTB.

Just curious as this would let me diagnose crashes for customers a little easier, without external hardware, if MTB exists on the processor and is connected such that the processor can read it.

Thanks.

TinyCircuits avatar Aug 16 '24 16:08 TinyCircuits