PCDIDE COMPILER Custom Computer Services Inc (CCS), PCDIDE COMPILER Datasheet - Page 194

PCD C-COMPILER PIC24, DSPIC

PCDIDE COMPILER

Manufacturer Part Number
PCDIDE COMPILER
Description
PCD C-COMPILER PIC24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCDIDE COMPILER

For Use With/related Products
Microchip PIC24/dsPIC®
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1008
erase_program_memory
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
exp( )
Syntax:
Parameters:
Returns:
Function:
180
result = exp (value)
value is any float type
A float with a precision equal to value
Computes the exponential function of the argument. This is e to the power of
value where e is the base of natural logarithms. exp(1) is 2.7182818.
Note on error handling:
If "errno.h" is included then the domain and range errors are stored in the errno
variable. The user can check the errno to see if an error has occurred and print
the error using the perror function.
Range error occur in the following case:
erase_program_memory (address);
address is 32 bits. The least significant bits may be ignored.
undefined
Erases FLASH_ERASE_SIZE bytes to 0xFFFF in program memory.
FLASH_ERASE_SIZE varies depending on the part.
Family
dsPIC30F
dsPIC33FJ
PIC24FJ
PIC24HJ
NOTE: Each instruction on the PCD is 24 bits wide (3 bytes)
See write_program_memory() for more information on program memory access.
All devices
Nothing
Int32 address = 0x2000;
erase_program_memory(address);
0x2000 to 0x2400 for a PIC24HJ/FJ /33FJ device, or erase 0x2000
to 0x2040 for a dsPIC30F chip
None
write program
exp: when the argument is too large
memory(),
512 instructions (1536 bytes)
32 instructions (96 bytes)
512 instructions (1536 bytes)
FLASH_ERASE_SIZE
512 instructions (1536 bytes)
Program Eeprom Overview
// erase block of memory from

Related parts for PCDIDE COMPILER