Tip / 登入 to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Translation_Bot
Community Manager
Community Manager
Community Manager

我無法通過運行這些代碼來禁用它。 還有其他必要的程序嗎?

我能夠從 Memtool 中禁用它。

 

001 無效停用 _ 保護 (無效) 002
{
003 //Reset to read
004 *(volatile uint32 *)(0xAF005554) = 0x000000F0;
005
006 //Disable protection
007 *(volatile uint32 *)(0xAF00553C) = 0x00000012; //UCB_DBG
008 *(volatile uint32 *)(0xAF00553C) = 0x00000001; //PW0
009 *(volatile uint32 *)(0xAF00553C) = 0x00000002; //PW1
010 *(volatile uint32 *)(0xAF00553C) = 0x00000003; //PW2
011 *(volatile uint32 *)(0xAF00553C) = 0x00000004; //PW3
012 *(volatile uint32 *)(0xAF00553C) = 0x00000005; //PW4
013 *(volatile uint32 *)(0xAF00553C) = 0x00000006; //PW5
014 *(volatile uint32 *)(0xAF00553C) = 0x00000007; //PW6
015 *(volatile uint32 *)(0xAF00553C) = 0x00000008; //PW7
016
017 while ((DMU_HF_STATUS.U & 0xFF) != 0) ; //Wait Flash is not
busy
018 }

1 回應
Translation_Bot
Community Manager
Community Manager
Community Manager

嗨 @pistons7,

這些問題無法在此討論,因為它們與 NDA 涵蓋的主題有關。

0