This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

IARv8.20.2 register and peripheral display for nRF52832 variants

IARv8.x.x no longer seems to display the detailed peripheral register settings in debug mode under "View->Registers" as all v7.x.x versions used to do. In trying to determine if this is due to an incorrect device being selected in the debugger (nRF52832_xxAA), I see "AAB0" which I assume is correct based on nRF52832 Product Specification v1.3:

// 13.1.17 INFO.VARIANT
// Address offset: 0x104
// Part Variant, Hardware version and Production configuration
// Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
//         Id  A  A  A  A  A  A  A  A  A  A  A  A  A  A  A  A  A  A  A  A  A  A A A A A A A A A A A
// Reset 0x41414142 0 1 0 0 0 0 0 1 0 1 0 0 0 0 0 1 0 1 0 0 0 0 0 1 0 1 0 0 0 0 1 0
// Id RW Field Value Id Value Description
// A R VARIANT Part Variant, Hardware version and Production configuration,
// encoded as ASCII
//   AAAA 0x41414141 AAAA
//   AAAB 0x41414142 AAAB
//   AABA 0x41414241 AABA
//   AABB 0x41414242 AABB
//
// We have 41414230 = "AAB0"

// Table 134: Function variant codes
// <VV> Flash (kB) RAM (kB)
// ==== ========== ========
//  AA      512      64
//  AB      256      32
//
// Table 135: Hardware version codes
//     <H>   Description
// ========= ==================================================
// [A .. Z]  Hardware version/revision identifier (incremental)
//
// Table 136: Production configuration codes
//   <P>   Description
//  ====== ===========================================
//  [0..9] Production device identifier (incremental)
//  [A..Z] Engineering device identifier (incremental)
//
// Table 137: Production version codes
//     <F>       Description
// ============  ========================================
// [A..N, P..Z]  Version of preprogrammed firmware
// [0]           Delivered without preprogrammed firmware

Does anyone know of a workaround? IAR v7.80.1 - which has the debug peripheral registers - is not a solution due to other issues (libraries requiring recompiling, etc). I will separately ask IAR and post any result here. I also checked this link for the IC Revision Overview.

Related