This is an automated email from Gerrit. Alamy Liu ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/3258
-- gerrit commit 5b752d54d9dc2bfd760a73b515ea18f6a83be738 Author: Alamy Liu <[email protected]> Date: Wed Aug 12 11:47:00 2015 -0700 adi_v5: Notes for CSW_MASTER_DEBUG Change-Id: Ib7277cb232d452a6868cf947b8e9edd023345402 Signed-off-by: Alamy Liu <[email protected]> diff --git a/src/target/arm_adi_v5.c b/src/target/arm_adi_v5.c index a564c79..05935f3 100644 --- a/src/target/arm_adi_v5.c +++ b/src/target/arm_adi_v5.c @@ -97,6 +97,12 @@ static uint32_t max_tar_block_size(uint32_t tar_autoincr_block, uint32_t address static int mem_ap_setup_csw(struct adiv5_ap *ap, uint32_t csw) { + /* Alamy ***** WARNING ***** + * CSW register has different bit/field definition in AHB/APB/AXI bus + * We should + * a) Get rid of CSW_MASTER_DEBUG / CSW_HPROT + * b) Different code for different bus (AHB/APB/AXI) + */ csw = csw | CSW_DBG_SW_ENABLE | CSW_MASTER_DEBUG | CSW_HPROT | ap->csw_default; -- ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
