TOOTHPIC RF Solutions, TOOTHPIC Datasheet - Page 119

MODULE, BLUETOOTH, DATA ACQUISITION

TOOTHPIC

Manufacturer Part Number
TOOTHPIC
Description
MODULE, BLUETOOTH, DATA ACQUISITION
Manufacturer
RF Solutions
Datasheet

Specifications of TOOTHPIC

Svhc
No SVHC (15-Dec-2010)
Vector Map
ToothPIC uses the following vector addresses. They are set up for you correctly in the linker stub file
ToothPIC.o which is automatically linked in by the linker script. The source code ToothPIC303.c is
provided in the software development kit.
0x000000
0x000008
0x000018
0x000030
0x000038
0x000038
0x00C000
0x00C008
0x00C018
0x00C030
0x00C038
0x00C040
Wireless Field Programming Mode
Wireless field programming (WFP) is a facility to allow you to program ToothPIC via Bluetooth. A separate
Windows software application, ToothPICWFP.exe, is used for wireless field programming. The program is
also able to create Service Packs (specialized .exe files for either Windows and/or Pocket PC) which you can
distribute to allow customers and engineers to upgrade your firmware themselves.
Bluetooth communication time is negligible compared to the time it takes to write to Flash memory, so wireless
field programming is almost as fast as regular programming.
If you plan to use Microchip’s in-circuit debugger, bear in mind that the debug executive (memory locations
0x01FDC0 to 0x01FFFF) will not be programmed; however, neither will these locations be erased.
ToothPIC can enter WFP mode in one of three different ways:
When placed in “WFP-ready” mode by Hard-WFP or Developer-WFP, the LEDs will flash rapidly
simultaneously while waiting for the Wireless Field Programmer to begin programming.
Once WFP has begun, the LEDs will flash rapidly alternately until programming is complete and/or fails.
Whichever outcome, ToothPIC will then reset.
To provide security, an access key is specified as the string pszWFPAccessKey in the ToothPIC settings and
link key map. If this is not a null string, ToothPIC will require the Wireless Field Programmer to provide the
same access key before it will be permitted to reprogram it. pszWFPAccessKey is the word “Access” by
default.
Page 119
• If the pushbutton is held down when ToothPIC initializes (“Hard-WFP”). The PIC code, if required is four
• If the ToothPIC setting BKS_PermitSoftProgram is enabled and the FlexiPanel server is operating and
• If BMTCommand is called specifying the command BMTC_WFP (“Developer-WFP”).
zeroes “0000”.
the Wireless Field Programmer connects (“Soft-WFP”).
9-Apr-06
ToothPIC initialization (calls 0x00C000 when done)
ToothPIC high priority interrupt handling (calls 0x00C008 when done)
ToothPIC low priority interrupt handling (calls 0x00C018 when done)
function void msDelay( unsigned char ms )
function void Breakpoint( unsigned char FlashVal )
function void BMTCommand( unsigned char CommandID )
c018itp.c RAM data initialization (calls main() when done)
developer high priority interrupt callback (calls developer function HighInterrupt()
developer low priority interrupt callback (calls developer function LowInterrupt()
error handler callback (calls developer function ErrorStatus() immediately)
BlueMatik event callback (calls developer function BMTEvent() immediately)
FlexiPanel; Server event callback (calls developer function FxPEvent() immediately)
immediately)
immediately)
Toothpick 3.0.00007
DS380-8
© FlexiPanel Ltd
Patents apply and/or pending
www.FlexiPanel.com

Related parts for TOOTHPIC