Difference between revisions of "Microchip PIC32CM Lx"
(→Reset) |
(→Device Specific Handling) |
||
Line 24: | Line 24: | ||
==Device Specific Handling== |
==Device Specific Handling== |
||
+ | |||
+ | ===Connect=== |
||
+ | *The devices access level is checked first, we need 0x02 for full access.<br> |
||
+ | *If devices access level is not 0x02, user is asked for protection remove by chip erase.<br> |
||
+ | *If CPU can be accessed, hot plugging(attach) is tried, otherwise cold plugging is executed, which puts CPU after BOOT Rom in CPU Park mode. |
||
+ | |||
+ | |||
===Reset=== |
===Reset=== |
||
*The devices uses normal Cortex-M reset, but special communication with BOOT Rom is done afterwards to put CPU in CPU park mode. |
*The devices uses normal Cortex-M reset, but special communication with BOOT Rom is done afterwards to put CPU in CPU park mode. |
Revision as of 07:34, 2 May 2023
. The Microchip PIC32MC Lx are Robust Security, Ultra-Low Power and Enhanced Touch Microcontrollers Based on Arm® Cortex®-M23 Core.
Contents
Flash Banks
Internal Flash
Flash Bank | Base address | Size | J-Link Support |
---|---|---|---|
Internal Flash | 0x00000000 | 256/512 KB | |
Data Flash | 0x00400000 | 8/16 KB | |
User Row | 0x00804000 | 36 B | |
BOCOR | 0x0080C000 | 8/32/48 B |
Watchdog Handling
- If the watchdog is enabled, it is feed.
- If watchdog is in window mode, no feeding is done, because timer registers are no accessible.
Device Specific Handling
Connect
- The devices access level is checked first, we need 0x02 for full access.
- If devices access level is not 0x02, user is asked for protection remove by chip erase.
- If CPU can be accessed, hot plugging(attach) is tried, otherwise cold plugging is executed, which puts CPU after BOOT Rom in CPU Park mode.
Reset
- The devices uses normal Cortex-M reset, but special communication with BOOT Rom is done afterwards to put CPU in CPU park mode.
Attach
Attach is supported if device is not secured.
This is called hot plugging by Microchip.
Evaluation Boards
- [SiliconVendor] [EvalBoardName] evaluation board: http://techwiki.segger.local/WikiTemplateEvalBoard
Example Application
- [SiliconVendor] [EvalBoardName] evaluation board: http://techwiki.segger.local/WikiTemplateEvalBoard#Example_Project