• slider image 442
  • slider image 483
  • slider image 484
  • slider image 485
  • slider image 486
  • slider image 487
:::

論壇索引


Board index » All Posts (yiming)




請問如何寫資料到User ID Memory
#11
資深會員
資深會員


ATSAMHA1E16AB

Attach file:



jpg  Image 1005014.jpg (165.31 KB)
546_633d85e7830a6.jpg 389X517 px

發表於: 2022/10/5 21:26
頂部


Re: 舊專案無法開啟hamony 3
#12
資深會員
資深會員


可以了...謝謝

發表於: 2022/10/5 13:58
頂部


Re: 舊專案無法開啟hamony 3
#13
資深會員
資深會員


原來可以降級
降級完成 還是不能用 XDD

mhc.log 內容如下
[Error]: Path: \mhc
Launch Stage: Validating Project Path

System Information:
Processor Information:
ID: Intel64 Family 6 Model 154 Stepping 3, GenuineIntel
Architecture: AMD64
Mode: null
Count: 20
Operating System Information:
Name: Windows 10
Version: 10.0
Architecture: amd64
Available processors (cores): 20
Free memory (bytes): 307412840
Maximum memory (bytes): 4076077056
Total memory available to JVM (bytes): 914460672
Exception Information:

Stack Trace:

[Info]: building configuration is not applicable.
[Info]: closing is not applicable.
[Info]: MPLAB Harmony Configurator - Shutting Down



參照:

Darren wrote:
Hi yiming

您可以打開MPLAB X IDE > Tools > Embedded > MPLAB Harmony 3 Content Manager

在MPLAB Harmony 3 Content Manager > Local Packages

找到dev_packs、csp,可以選擇相對應版本做降級(如附圖)

謝謝

發表於: 2022/9/29 14:53
頂部


舊專案無法開啟hamony 3
#14
資深會員
資深會員


如下面的圖所示 hamony 3 文件版本不符合,是電腦的版本比專案版本新太多
請問該如何處理?

Attach file:



jpg  Image 0929007.jpg (126.42 KB)
546_63352e0ae29b2.jpg 782X373 px

發表於: 2022/9/29 13:32
頂部


Re: ATSAMHA1E16AB 這顆IC如何設定程式保護?
#15
資深會員
資深會員


設定如下圖 是不是有什麼設定錯誤的呢??

Attach file:



jpg  Image 0927017.jpg (345.08 KB)
546_6332f3aaf10c4.jpg 1920X926 px

發表於: 2022/9/27 20:59
頂部


Re: ATSAMHA1E16AB 這顆IC如何設定程式保護?
#16
資深會員
資深會員


我試著建立一個新的專案(空的) 設定保護Bit
燒錄後程式還是可以讀回來

Attach file:



jpg  Image 0927016.jpg (628.48 KB)
546_6332f3332b45c.jpg 1912X1008 px

發表於: 2022/9/27 20:57
頂部


將未保護的CheckSum燒錄到ID的功能在ATSAMHA1E16AB無效?
#17
資深會員
資深會員


將未保護的CheckSum燒錄到ID的功能在ATSAMHA1E16AB無效?

ID menory 都是0xFFFF 完全沒看到CheckSum
將HEX載入IPE後 ,ID menory 一樣是0xFFFF 完全沒看到CheckSum

這功能在PIC是可以使用的,在ATSAM是無法使用嗎?

哇~~我看到了
CheckSum:NA
那ATSAM有類似的功能嗎? 還是要手動將CRC32填入ID ??

Attach file:



jpg  Image 0927013.jpg (65.72 KB)
546_63329d7f80919.jpg 591X190 px

發表於: 2022/9/27 14:53
頂部


Re: ATSAMHA1E16AB 這顆IC如何設定程式保護?
#18
資深會員
資深會員


我找到一段說明 他的設定方式又不太一樣 他的說明我看了不是很理解
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如何設定程式保護?
#19
資深會員
資深會員


參照:

yiming wrote:
我有將那段程碼放到initialization.c 中,再重新編凙後用IPE燒錄以PICKIT4,發現燒錄玩後程式還是能夠讀取回來....

是不是還有其它地方也需要修改???


因為我目前的專案無法開啟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如何設定程式保護?
#20
資深會員
資深會員


我有將那段程碼放到initialization.c 中,再重新編凙後用IPE燒錄以PICKIT4,發現燒錄玩後程式還是能夠讀取回來....

是不是還有其它地方也需要修改???

發表於: 2022/9/27 8:33
頂部



« 1 (2) 3 4 5 ... 95 »



:::

Microchip連結

https://www.facebook.com/microchiptechnologytaiwan/
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=13
https://mu.microchip.com/page/tmu
http://elearning.microchip.com.tw/modules/tad_link/index.php?cate_sn=1
https://page.microchip.com/APAC-PrefCenters-TW.html
http://www.microchip.com/
http://www.microchip.com/treelink
http://www.microchipdirect.com/
http://www.microchip.com.cn/newcommunity/index.php?m=Video&a=index&id=103
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=2
http://www.microchip.com.tw/Data_CD/eLearning/index.html
http://www.microchip.com.tw/RTC/RTC_DVD/
https://www.microchip.com/development-tools/
https://www.youtube.com/user/MicrochipTechnology
[ more... ]

教育訓練中心

!開發工具購買
辦法說明 [業界客戶] [教育單位]
----------------------------------
!校園樣品申請
辦法說明 [教師資格] [學生資格]
----------------------------------