Цитата(Stas @ Mar 6 2009, 19:38)

Где и как можно посмотреть ревизию используемого кристалла?
Например с помощью ИСД2
Connecting to MPLAB ICD 2
...Connected
ICDWarn0030: MPLAB ICD2 is about to download a new operating system. If MPLAB IDE is just starting, it will appear to "hang" at the splash screen. Please be patient. MPLAB IDE will finish it's initialization after the OS is downloaded. (Note: You may wish to select to ignore this warning in the future.)
Downloading Operating System
Connecting to MPLAB ICD 2
...Connected
Setting Vdd source to target
Target Device PIC24FJ64GA002 found,
revision = Rev 0x3003...Reading ICD Product ID
Running ICD Self Test
...Passed
...Download Operating System Succeeded
Setting Vdd source to target
Target Device PIC24FJ64GA002 found,
revision = Rev 0x3003...Reading ICD Product ID
Running ICD Self Test
...Passed
Так на всякий случай конфигурация для PIC24FJ64GA002 и переключение
Код
Nop();Nop();Nop();Nop();Nop();
//_CONFIG2( IESO_OFF & FNOSC_FRC & FCKSM_CSECMD & OSCIOFNC_OFF & IOL1WAY_ON & I2C1SEL_SEC & POSCMOD_HS)
// FNOSC_FRC Fast RC oscillator
// FCKSM_CSECMD Only clock switching enabled
// POSCMOD_HS HS oscillator
__builtin_write_OSCCONH(0x02); // Initiate Clock Switch to Primary
// Oscillator with PLL (NOSC=0b011)
__builtin_write_OSCCONL(0x01); // Start clock switching
TimeOutTmp = 0xFFFF;
do
{
if (!(_OSWEN)) break;
Nop();Nop();Nop();Nop();Nop();
} while (--TimeOutTmp);