請問如何寫資料到User ID Memory
|
||||
---|---|---|---|---|
資深會員
|
ATSAMHA1E16AB
發表於: 2022/10/5 21:26
|
|||
|
Re: 舊專案無法開啟hamony 3
|
||||
---|---|---|---|---|
資深會員
|
可以了...謝謝
發表於: 2022/10/5 13:58
|
|||
|
舊專案無法開啟hamony 3
|
||||
---|---|---|---|---|
資深會員
|
如下面的圖所示 hamony 3 文件版本不符合,是電腦的版本比專案版本新太多
請問該如何處理?
發表於: 2022/9/29 13:32
|
|||
|
Re: ATSAMHA1E16AB 這顆IC如何設定程式保護?
|
||||
---|---|---|---|---|
資深會員
|
設定如下圖 是不是有什麼設定錯誤的呢??
發表於: 2022/9/27 20:59
|
|||
|
Re: ATSAMHA1E16AB 這顆IC如何設定程式保護?
|
||||
---|---|---|---|---|
資深會員
|
我試著建立一個新的專案(空的) 設定保護Bit
燒錄後程式還是可以讀回來
發表於: 2022/9/27 20:57
|
|||
|
將未保護的CheckSum燒錄到ID的功能在ATSAMHA1E16AB無效?
|
||||
---|---|---|---|---|
資深會員
|
將未保護的CheckSum燒錄到ID的功能在ATSAMHA1E16AB無效?
ID menory 都是0xFFFF 完全沒看到CheckSum 將HEX載入IPE後 ,ID menory 一樣是0xFFFF 完全沒看到CheckSum 這功能在PIC是可以使用的,在ATSAM是無法使用嗎? 哇~~我看到了 CheckSum:NA 那ATSAM有類似的功能嗎? 還是要手動將CRC32填入ID ??
發表於: 2022/9/27 14:53
|
|||
|
Re: ATSAMHA1E16AB 這顆IC如何設定程式保護?
|
||||
---|---|---|---|---|
資深會員
|
我找到一段說明 他的設定方式又不太一樣 他的說明我看了不是很理解
https://microchipsupport.force.com/s/a ... /SAM-D-L-C---Security-bit Question How to set and check the security bit in software (without power on reset) ? or The SSB command is used to set the Security bit. However, the Security Bit does not seem to be set until a power cycle is done. Is there a way to get the Security bit to be effective immediately without power on reset? Answer The security bit is read by the hardware only after a reset. For setting the security bit through software, first set the fuse bit using SSB command, then do a software reset using NVIC_SystemReset() API, which resets the MCU. The below code will set security bit and give software reset. After the device resets, it turns on the PB30 pin.
發表於: 2022/9/27 14:34
|
|||
|
Re: ATSAMHA1E16AB 這顆IC如何設定程式保護?
|
||||
---|---|---|---|---|
資深會員
|
參照:
因為我目前的專案無法開啟Harmony ,所以我新開了一個專案進入Harmony 把那段程式碼放到了我的專案下再進行編輯...但程式還是可以讀回來...是那裡少做了嗎??? #ifndef __DEBUG const unsigned int __attribute__((space(prog), keep, address(0x41004000))) SET_SECURITY_BIT = 1; #endif
發表於: 2022/9/27 11:00
|
|||
|
Re: ATSAMHA1E16AB 這顆IC如何設定程式保護?
|
||||
---|---|---|---|---|
資深會員
|
我有將那段程碼放到initialization.c 中,再重新編凙後用IPE燒錄以PICKIT4,發現燒錄玩後程式還是能夠讀取回來....
是不是還有其它地方也需要修改???
發表於: 2022/9/27 8:33
|
|||
|