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

cross mob
Translation_Bot
Community Manager
Community Manager
Community Manager

我正在編程 SAK-TC377XX-96F300S 設備的數據閃存 0 EEPROM。 但是,在編程之後,我讀取了數據閃存 0 EEPROM 中的一些意外值。 我懷疑 UCB 字節可能是引起關注的原因。

具有一些不需要的值的 Dflash 0 的圖像如下:

注意:在我們的應用程序中,我們讀回 4 個字節的數據 + 1 字節 CRC。 閃光是從 7800 小時開始映射的。

mpj1027_0-1693284583117.png

您可以幫助確定根本原因CAN ?

謝謝

 

 

 

11 回應
Translation_Bot
Community Manager
Community Manager
Community Manager

嗨 @mpj1027 ,

 

你能讓我知道預期的數據是什麼,你如何閱讀閃存,結論它與預期的數據不匹配?

另外,如何讀取附件中的地址和數據,因為我在用戶手冊中看不到與內存映射有任何相關性? 如果你能讓我知道附件中查找 dflash 數據的行號,那就太好了。

Anupama_0-1693291094436.png

 

您還CAN 告訴我您想通過所附圖片來表明什麼嗎?

 

最好的問候, 
阿諾帕瑪.

0
Translation_Bot
Community Manager
Community Manager
Community Manager

嗨 @Anupama,

我們閱讀使用 DAP 協議的閃存內容。

下面的附圖給出了更多的細節(例如,這個地址指向 AF40 0000-UCB00 UCB_BMHD0_ORIG)。

mpj1027_0-1693295473639.png

但是我在讀回文件中看到了 Dflash AF000000H 以後的一些數據。 在下面的回讀圖像中,AF000008H 有 02,AF0000012 小時有 7E,AF0000013 具有 5D,AF0000014 具有 E6 等。 下面的圖像具有 4 個字節的 Dflash 數據 + 1 個字節的 CRC 基於我們的應用程序。 通常,這些值必須為 0,因為在輸入資料檔案中未填入 Dflash 0 區域。

mpj1027_1-1693295741447.png

 



0
Translation_Bot
Community Manager
Community Manager
Community Manager

嗨 @mpj1027 ,

 

從您附加的 SREC 文件中,我沒有看到您提到的地址範圍的任何數據(應該有 0)。那麼,您能否確認一次它是處女設備還是您/某人以前編程過它

 

最好的問候,

阿諾帕瑪。

0
Translation_Bot
Community Manager
Community Manager
Community Manager

@Anupama,就在 SREC 文件中沒有 Dflash EEPROM 中沒有數據。 我們使用的設備是處女的。
我懷疑 UCB 設置在 Dflash EEPROM 區域中導致了一些寫入。 當我嘗試使用默認的 UCB 設置對設備進行編程時,預期不會在 Dflash EEPROM 中寫入任何數據。
你CAN 幫忙查一下UCB的數據嗎?

0
Translation_Bot
Community Manager
Community Manager
Community Manager

嗨 @mpj1027 ,

 

你能讓我知道你正在遵循編程的工具和過程是什麼,就像你第一次擦除,然後編程或直接編程一樣?

另外,你能否分享這兩組 UCB 設置(默認的一組,你可以看到你所做的所有零和更改)?

 

最好的問候, 
阿諾帕瑪.

0
Translation_Bot
Community Manager
Community Manager
Community Manager

嗨 @Anupama,我們正在使用我們的內部 BPM 程序員並使用 DAP 協議。 我們首先擦除,編程,然後驗證(EPV)。 此函數通過。 如果我們執行獨立讀取或驗證我們在 Dflash EEPROM 中看到一些隨機數據,請發布此信息。

聚居的 UCB:
S319AF4000003D0159B3E04004A07F11EA0380EE15FC00000000ED
S319AF4000140000000000000000000000000000000000000000E3
S319AF4000280000000000000000000000000000000000000000CF
S319AF40003C0000000000000000000000000000000000000000BB
S319AF4000500000000000000000000000000000000000000000A7
S319AF400064000000000000000000000000000000000000000093
S319AF40007800000000000000000000000000000000000000007F
S319AF40008C00000000000000000000000000000000000000006B
S319AF4000A0000000000000000000000000000000000000000057 S319AF4000
B400000000000000000000000000000000000043 S319AF4000C8000000000000000000000000000000002F S31919AF40000000000000000000000000000000000000001B S319AF40000000000000001B S319000000000000010000000000000100000000000000508 000000000000000000000000000000000000DE S319AF40012C000000000000000000000000000000000000CA S319AF4001400000000000000000000000000000000000000000000000000000B6 S319AF4001500000000000000000000000000000000000000000000000A2 S31919AF








4001680000000000000000000000000000000000008E S319AF40017C00000000000000000000000000007A S3190000000000007A S319000000000000000000000000000000000000000000000066 S319AF0000000001A400000000000000000E 4001CC000000000000000000000000000000002A S319AF4001E0000000000000000000000000341221436C S311AF4001F40000000000000000000A S319AF00000000000A S319AF400000000A S319AF400000000000000000000000000000000000000000000000000000000020000000000003 S319AF402200000000000








C1
S319AF402228000000000000000000000000000000000000AD S319AF40223C000000000000000000000000000000000000000099 S31919AF4022500000000000000000000000000000000000000000000000000000000000000000000000000000500000850000085 S31900000000000000000500000500000000050500000050000005000000505000000050505000000050700000000500000000000000000000507000000000000 D




S319AF40228C00000000000000000000000049 S319AF4022A000000000000000000000000000000000000000000000035 S319AF4022B400000000000000000000000000000000000000000000000000000000000000000000000021 S31919AF000000000000000000000000000000000 S3190000000000000000000000000000 S319AF4022F000000000000000000000000000000000000000000E5 S319AF402300000000000000000000000000000000000000000000000D0 S31919AF402318000000000000000000000000000000000000000000000E5 S31900000000BC S319AFAF402C00000000000000000000
A8 S31919







402340000000000000000000000000000000000000000094 S319AF4023540000000000000000000000000000000000000000000080 S319AF4000000000000000000000000000000000000000000000000000000000000000000000006C S31919AF00000000000003C00000000000000000000045000000000044 23A40000000000000000000000000000000000000000000030 S319AF4023B800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008 S319AF40030000000000000000000000000000000000000000000000000000000000000000000000000034000340034034A








E8
S319AF40280000000105000000000000000000000000C9 S31919AF401400000000000010000000000000000000000BA S31919AF40280000000000000000000093 S31919AF0000000000000000095000000000000000000000000A7 S31919AF00000000000000000000000300000000000093 0007F S319AF402864000000000000000000000000000000006B S319AF4028780000000000000000000000000000000057 S319AF40288C00000000000000000000
8C000000000000000000006B







4000000000000000000000000000000001B S319AF4028C80000000000000000000000000000000007 S319AF4028000000000007 S319AF0000000000000000000000000000000000000000F3 S31919AF4028F000000000000000000000000000000000000000000000007




S319AF4029180000000000000000000000000000B6 S319AF40292C000000000000000000000000000000000000000000000000A2 S319AF402900000000000000000000000000000000000000000000000000000000000000000000000E S319000000000000000000000000000000 66 S319AF40297C00000000000000000000000052 S319AF40290000000000000000000000000000000000000000000000000000000000000003E S3E S31919AF4029A4000000000000000000000000000000000052
S319AF4029B







000000000000000000000000000000000000000002 S319AF4029E000000000000000000000000000003412214344 S311AF40F4000000000000000000000000E2 S319AF400000000000E2 S31919000000000000000000000000500000000000000000B9 S3191900000000000000B9 S31919AF40380000000000000000000000B9 0000000000000000000000000000000097 S31919AF40383C0000000000000000000000000000000083 S319AF403800000000000083 S319AF4000000000000000000000000000000000000000000006F S31919AF00000000000000000000000000000000000000000000000000000000000000000000505B S31919AF387800000000000000000047









S319AF40388C00000000000000000000000033 S319AF40380000000000000000000000000000000000000001F S319AF4038B4000000000000000000000000000000000000000000000000000000000000000000000B S31900000000000000000000000000000000000000000000000000000000000000000080000000080000000000000000050F7 3 S319AF4038F000000000000000000000000000000000CF S319AF403904000000000000000000000000000000000000BA S319AF40404039180000000000000000000000000000000000000000000000000000A6 S319AF40392C000000000000000092








4039400000000000000000000000000000000000007E S319AF40395400000000000000000000000000000000000000006A S319AF403968000000000000000000000000000000000000000056 S31900000000000000000056 S3190000000000000000000007C00000000000000000000002E




S319AF4039A400000000000000000000000000000000000000001A
S319AF4039B8000000000000000000000000000000000000000006
S319AF4039CC0000000000000000000000000000000000000000F2
S319AF4039E0000000000000000000000000000000003412214334
S311AF4039F4000000000000000000000000D2
S70500000000FA

默認 UCB:
S319AF4000000000000000000000000000000000000000000000FD
S319AF4000140000000000000000000000000000000000000000E3
S319AF4000280000000000000000000000000000000000000000CF
S319AF40003C0000000000000000000000000000000000000000BB
S319AF400000000000000000000000000000000000000000000000000A7 S319AF4000000000000000000000000000000000000000000093 S319AF40007800000000000000000000000000000000000000000000000000A7F S31900000000000000000050500050500050000000 319AF4000B40000000000000000000000000000000043 S319AF4000C800000000000000000000000000002F S319AF4000000000000000002F S319AF400000000000000000000000000000001B S319AF4000F0000000000000000007








400104000000000000000000000000000000000000F2 S319AF400000000000000000000000000000000000000000000000000000000000000DE S319AF400000000000000000000000000000000000000CA S31900000000000010000000001000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006 S31919000000000000000006 S31919000000000000000006 000000000000000000000000008E S319AF40017C00000000000000000000000000007A S3190000000000007A S319000000000000000000000000000000000000000000000066 S319AF4001A40000000000000000000000000000052 S
31919AF4001B







80000000000000000000000000000000000003E S3E S319122CC000000000000000000000000000000002A S319AF4001E000000000000000000000000000000000341221436C S311AF4001F40000000000000000000000000A S300000000000000000000A S319000000000000000A S31919000000000000 0000000000000000000000000000000000000000C
1




S319AF4022280000000000000000000000000000000000000000AD S319AF40223C00000000000000000000000000000000000099 S319AF400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 319AF40228C0000000000000000000000000000000049 S319AF4022A0000000000000000000000000000000000000035 S319AF4022B4000000000000000000000000000000000000000000000000000000000000000000000000000021 S319AF402228 S319AF22C8000000000000000000000000000000000D
S31919AF22DC







000000000000000000000000000000000000F9 S319AF4022F000000000000000000000000000000000000000000E5 S31919AF40000000000000000000000000000000000000000000000000000000000000000000000000000000D0 S31919AF40000000000000008 S190000000000000000000000000000000 234000000000000000000000000000000000000094 S319AF402354000000000000000000000000000000000000000080 S319AF4040236000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000058 S319AF








402390000000000000000000000000000000000000000044 S319AF4023A400000000000000000000000000000000000030 S319AF4023B80000000000000000000000000000000000000000000000001C S319AF40000000119AF1212230000000020000000000000 S319AF3400002000000A AF4023F40000000000000000000000000000E8 S319AF400000000000000000000000000000000000CF S31919AF000000000000000000000000000000000000000000000000BA S31919AF40280000BA S319AF4028000000000000000000000000








00000000000000000000000000000000000093 S319AF402850000000000000000000000000000000000000000007F S319AF4000000000000000000000000000000000000000000000000000000000000000000000000000006B S31919AF00000000030000000000000000000000000000000000057 S319190000000000000057 S3191919AF28800000000043 00000000000000000000000000000000000002





S319AF4028B400000000000000000000000000001B S319AF4028C8000000000000000000000000000000000000000007 S319AF40280000 S319AF40291800000000000000000000000000000000B6 S319AF40292C000000000000000000000000000000000000A2 S319AF40290000000000000000000000000000000000000000000000000000000000000000000000000000B6 S319AF40295400000000000000000000
7A







40296800000000000000000000000000000000000066 S319AF40297C00000000000000000000000000000000000052 S319AF402900000000000000000000000000000000000000000000000000000003E S3E S31919AF0000000000000A0000000000000 00000000002 S31900000000000000016 4029CC00000000000000000000000000000000000002 S319AF4029E0000000000000000000000000343412214344 S311AF4029F4000000000000000000000000000E2 S319AF40000000E2 S31919AF4000000000000000000000000000000000000000000000000000000000
000000







AA
S319AF403828000000000000000000000000000000000000000097 S319AF40383C000000000000000000000000000000000000000083 S31919AF4038000000000000000000000000000000000000000000000000000000000000000000007F S319AF00000000000000007000000000000000047 S319AF40388C000000000000000000000000000033 S319AF4038A00000000000000000000000000000000000000000000000001F S319AF4038B40000000000000000000000000000000000000000000000000000000000000B S319AF38B S319AF38C8000000000000000000000000
F7







00000000000000000000000000000000E3 S319AF4038F0000000000000000000000000000000000000CF S319AF4000000000000000000000000000000000000000000000000000000000000000000000000BA S319AF40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000A6 S31919AF40392C000000000000000092




S319AF4039400000000000000000000000000000000000007E S319AF403954000000000000000000000000000000000000000000006A S319AF403968000000000000000000000000000000000000000000000000000000000000056 S319AF0000000000000000000000000000000 S31900000000000000000000000000000000400000000004000000000040000000000400000000004000000000042 2E S319AF4039A400000000000000000000000000000000000000001A S319AF4039B800000000000000000000000000000000000006 S319AF4039CC00000000000000000000000000000000000000000000000000000000000000000000000000002 S319AF4039E00000000000000000000000000000000000000000000000000000000000000000
3412234







400000000000000000000D2 S70500000000FA

0
Translation_Bot
Community Manager
Community Manager
Community Manager

嗨 @mpj1027 ,

 

您共用的 UCB 組態不會以任何方式影響 DFLASH EEPROM,但我發現您已在設定中啟用 HSM。 因此,只要確保您在各個扇區中具有 HSM 啟動代碼,否則設備將被磚砌。
另外,如果在閃爍代碼後執行了任何重置,你能告訴我嗎?

 

最好的問候, 
阿諾帕瑪.

0
Translation_Bot
Community Manager
Community Manager
Community Manager

嗨 @Anupama,

我不知道我們的客戶是否將 HSM 啟動代碼放在各個扇區中。 我們只編程快閃記憶體。 您CAN 查看上一個線程(28518288062_I3001)中附加的 srec 文件並告訴我嗎?

還可以將設備供電作為重置,然後是的,在編程閃存後,我們正在打開設備的電源。

0
Translation_Bot
Community Manager
Community Manager
Community Manager

嗨 @mpj1027 ,

 

您共用的 srec 適用於主機應用程式。 HSM 開機和 HSM 應用程式應該有另一個應該刷新的 srec。 因此,我們將無法從您的 srec 文件告訴客戶到底在做什麼。

 

最好的問候, 
阿諾帕瑪.

0
Translation_Bot
Community Manager
Community Manager
Community Manager

嗨 @Anupama,

由於資料檔案已啟用 HSM 設定。 高溫 CFG [4:5] 引腳的設置是什麼。

現在,我們正在使用內部從閃存設置開始,我想知道這是否導致程序運行並將一些數據寫入 DFlash。

 

mpj1027_0-1694666120533.png

 

0
Translation_Bot
Community Manager
Community Manager
Community Manager

嗨 @mpj1027 ,

 

正如我在您的設置中看到的那樣,HWCFG 引腳已禁用。 因此,這些設置不會影響代碼執行。 此外,啟動代碼選擇也很好,但是如果在以後的時間點,您想從其他引導程序加載程序刷新程序,那麼在這種情況下,您可以考慮其他設置。 因此,這些要點不能影響數據的變化。

 

最好的問候, 
阿諾帕瑪.

0