No,I have not tried yet. I see that there are a lot of bugs in that version...
Posted on: 2008-01-13, 08:00:41 - Automerged
I suggest to all of you to start using HiTech....
Good thing is that they have in their MCU header files all registers defined.
There are also a lot of useful macros(WRITETIMER0, WRITETIMER1, eeprom_write, etc...).
And if ever need any function that you used to have it in CCS as "built-in" you can always use the functions that are in Microchip MPLAB C18 to make your own HiTech functions... it's very simple, you can also use some CCS functions in the "drivers" directory:
eg:
#define SysEepromWrite8 eeprom_write // eeprom_write is a HiTech macro that writes a byte to EEPROM
void SysEepromWrite16(UNSIGNED_8 address, UNSIGNED_16 data)
{
UNSIGNED_8 i;
for(i = 0; i < 2; ++i)
{
SysEepromWrite8(address + i, *((UNSIGNED_8 *)(&data) + i));
}
}
UNSIGNED_16 SysEepromRead16(UNSIGNED_8 address)
{
UNSIGNED_8 i;
static UNSIGNED_16 near data;
for(i = 0; i < 2; ++i)
{
*((UNSIGNED_8 *)(&data) + i) = SysEepromRead8(address + i);
}
return(data);
}
Now you have this helpful functions in HiTech...
cheers to all