Difference between revisions of "Microchip PIC32CX BZ2"

From SEGGER Wiki
Jump to: navigation, search
(Created page with "800px|thumb|right|Microchip WBZ450 Curiosity evaluation board This article describes specifics for the Microchip WBZ450 Curiosity...")
 
 
Line 1: Line 1:
[[File:Microchip_WBZ450_Curiosity_board.JPG|800px|thumb|right|Microchip WBZ450 Curiosity evaluation board]]
 
This article describes specifics for the Microchip WBZ450 Curiosity evaluation board.
 
It can be used to test & verify Microchip PIC32CX-BZ2 device support.
 
 
__TOC__
 
__TOC__
  +
The '''Microchip PIC32CX BZ2''' family is a general purpose, low-cost, Cortex-M4 microcontroller family of devices supporting multi-protocol wireless interfaces (Bluetooth and Zigbee).
   
  +
==Flash Banks==
== Minimum requirements ==
 
  +
===Internal Flash===
* J-Link software V7.96m or later
 
  +
{| class="seggertable"
  +
|-
  +
! Device || Flash bank || Base address || Size || J-Link Support
  +
|-
  +
|-
  +
|rowspan="4"|PIC32CX1012BZ2
  +
| Program flash || 0x01000000 || 1024 KB || style="text-align:center;"| {{YES}}
  +
|-
  +
| Boot flash || 0x00000000 || 20 KB || style="text-align:center;"| {{YES}}
  +
|-
  +
| Boot/Config flash || 0x00045000 || 4 KB || style="text-align:center;"| {{YES}}
  +
|-
  +
| OTP || 0x00046000 || 4 KB || style="text-align:center;"| {{NO}}
  +
|}
   
  +
==Device Specifc Handling==
== Preparing for J-Link ==
 
  +
===Reset===
* Connect the J-Link to the SWD header (J10).
 
  +
*The devices uses normal Cortex-M reset, no special handling necessary, like described [[J-Link_Reset_Strategies#Type_0:_Normal | here]].
* Power the board via the USB jack of the break out board (J7).
 
  +
===Boot/Config flash===
* Verify the Connection with e.g. [https://wiki.segger.com/J-Link_cannot_connect_to_the_CPU#Verify_functionality_using_J-Link_Commander J-Link Commander]. The output should look as follows:<br>[[File:Microchip_WBZ450_Curiosity_connect.png|400px]]
 
  +
*The device uses Boot/Config flash page for storing 2 sections: bootloader extra data/code and device configuration data.
  +
*If this page is used for programming, the content of these 2 sections must be merged into one file.
  +
==Watchdog Handling==
  +
*If the watchdog is enabled, it is feed.
  +
*If the deadman timer is enabled, it is feed.
  +
==Restrictions==
  +
*Only A2 or later chip versions are supported, as older versions have issues connecting with an external debugger.
  +
==Evaluation Boards==
  +
*Microchip evaluation board: [[Microchip_WBZ450_Curiosity|Microchip WBZ450 Curiosity]]
   
== Example Project==
+
==Example Application==
  +
*[[File:Microchip_WBZ450_Curiosity_TestProject_ES_8V12a.zip]]
The following example project was created with the SEGGER Embedded Studio project wizard and runs out-of-the-box on the Microchip WBZ450 Curiosity. It is a simple Hello World sample linked into the internal flash.
 
 
====SETUP====
 
*J-Link software: V7.96m
 
*Embedded Studio: V8.12a
 
*Hardware: Microchip WBZ450 Curiosity
 
*Link: [[File:Microchip_WBZ450_Curiosity_TestProject_ES_8V12a.zip]]
 

Latest revision as of 15:52, 19 June 2024

The Microchip PIC32CX BZ2 family is a general purpose, low-cost, Cortex-M4 microcontroller family of devices supporting multi-protocol wireless interfaces (Bluetooth and Zigbee).

Flash Banks

Internal Flash

Device Flash bank Base address Size J-Link Support
PIC32CX1012BZ2 Program flash 0x01000000 1024 KB YES.png
Boot flash 0x00000000 20 KB YES.png
Boot/Config flash 0x00045000 4 KB YES.png
OTP 0x00046000 4 KB NO.png

Device Specifc Handling

Reset

  • The devices uses normal Cortex-M reset, no special handling necessary, like described here.

Boot/Config flash

  • The device uses Boot/Config flash page for storing 2 sections: bootloader extra data/code and device configuration data.
  • If this page is used for programming, the content of these 2 sections must be merged into one file.

Watchdog Handling

  • If the watchdog is enabled, it is feed.
  • If the deadman timer is enabled, it is feed.

Restrictions

  • Only A2 or later chip versions are supported, as older versions have issues connecting with an external debugger.

Evaluation Boards

Example Application