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

論壇索引


Board index » All Posts (GodBlessU)




Re: Bootloader 沒法跳到 Application 問題
#21
資深會員
資深會員


建議Bootloader FW在跳轉到Application FW之前, 先做Clock De-Initialization的程序.

可以參考下面Microchip Harmony Serial Memory Bootloader的範例.

https://github.com/Microchip-MPLAB-Har ... re/src/deinitialization.c

發表於: 2022/5/23 17:51
不要盲目地從一堆“嘗試”中去找答案;將時間用來找尋“最正確”的方法。
頂部


Re: CAN BUS問題
#22
資深會員
資深會員


每個Message的ID不同, high priority的會先傳, low priority的會等前者傳完後再傳.

看起來是因為某個node傳出的message出現Frame error超過256次, 所以Bus OFF.

每塊板子都有120 ohm terminal resistor ?

每塊板子的CAN bit-timing都設一樣? 包括sample point ?

或是可以接到CAN Bus protocol analyzer來看一下.

發表於: 2022/4/13 18:32
不要盲目地從一堆“嘗試”中去找答案;將時間用來找尋“最正確”的方法。
頂部


Re: CAN BUS問題
#23
資深會員
資深會員


請問一下四塊板子, 每塊版子發17個ID Message Frame, 共68個Frame.

每個Message Frame的Extended ID有重複的嗎? 還是都不同?

發表於: 2022/4/8 17:31
不要盲目地從一堆“嘗試”中去找答案;將時間用來找尋“最正確”的方法。
頂部


Re: SAMD/L 的 I2C slave 速度可以超過 100KHz 嗎?
#24
資深會員
資深會員


請問您的系統主頻目前跑多快?

發表於: 2022/3/25 17:32
不要盲目地從一堆“嘗試”中去找答案;將時間用來找尋“最正確”的方法。
頂部


Re: 請問燒錄出現以下訊息,會是什麼原因造成的?
#25
資深會員
資深會員


您可以參考一下Microchip Knowledge Base的相關問題說明.

https://microchipsupport.force.com/s/a ... e-program-speed-to-Normal

發表於: 2022/3/11 13:14
不要盲目地從一堆“嘗試”中去找答案;將時間用來找尋“最正確”的方法。
頂部


Re: 請問error: (1098) conflicting declarations for variable "_Bubble_Sort"?
#26
資深會員
資深會員


請問一下, 您的Hex2Asc() function implementation是不是放在Bubble_Sort() function的前面?


如果您把Hex2Asc() function implementation擺放在Bubble_Sort()之後, 我猜編譯的錯誤訊息應該會變成

error: (1098) conflicting declarations for variable "_Hex2Asc"

發表於: 2022/2/16 17:22
不要盲目地從一堆“嘗試”中去找答案;將時間用來找尋“最正確”的方法。
頂部


Re: 請問error: (1098) conflicting declarations for variable "_Bubble_Sort"?
#27
資深會員
資深會員


有專案嗎? 我可以幫忙看一下~

另外把com.h的Header Guard先comment out掉, 測試看看~

發表於: 2022/2/16 13:51
不要盲目地從一堆“嘗試”中去找答案;將時間用來找尋“最正確”的方法。
頂部


Re: 請問error: (1098) conflicting declarations for variable "_Bubble_Sort"?
#28
資深會員
資深會員


您可以確認一下您所有的header file的Header Guard是否有重複的名稱.

Header Guard如下 :

#ifndef XC_HEADER_TEMPLATE_H
#define XC_HEADER_TEMPLATE_H

發表於: 2022/2/15 17:42
不要盲目地從一堆“嘗試”中去找答案;將時間用來找尋“最正確”的方法。
頂部


Re: 請問MCC的Interrupt Driven會產生出code?
#29
資深會員
資深會員


還有SPI1.c中增加了SPI1_Isr() 與 SPI1_SetInterruptHandler() function, 如附檔.

Attach file:



jpg  MCC_SPI_Master_Interrupt_Driven.jpg (158.16 KB)
5477_61cd74c241931.jpg 1690X694 px

發表於: 2021/12/30 16:59
不要盲目地從一堆“嘗試”中去找答案;將時間用來找尋“最正確”的方法。
頂部


Re: 請問MCC的Interrupt Driven會產生出code?
#30
資深會員
資深會員


有不一樣, 勾選Interrupt driven的code產生在Interrupt manager.c中

發表於: 2021/12/30 14:09
不要盲目地從一堆“嘗試”中去找答案;將時間用來找尋“最正確”的方法。
頂部



« 1 2 (3) 4 5 6 ... 41 »



:::

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... ]

教育訓練中心

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