WH Tan, I am trying to program the PIC24FJ128GA010 on the Explorer 16. I still have a problem detecting the MCU using my ICD2. Do you have any hints? BTW I have set the switch to PIM and the jumper to PIC24. Still not success. Xiao Fan did mention about actually interfacing with the PIM directly. Still don't have the chance to get the correct cables btw ICD2 and the PIM. I still haven't given up talking to the Explorer 16 directly. Thanks John --- WH Tan wrote: > 2006/8/21, Tom Sefranek wrote: > > > I posted the error text lat week. > > Apparently I have missed that message. Anyway I > read it now in my > gmail mailbox. I love gmail... it's my PIC mail > archive now and I > never deleted a PICList message since I used it :) > > The device I'm working with is PIC24FJ128GA010 (the > PIM on Exp16 > board, rev 0x3001 reported by ICD2). The ICD2 > debugging seems to be > working just fine. I can break and view the memory > content etc. From > you description of the other message posted, sounds > like you haven't > used the _CONFIG macro to set the configuration > settings. Just for > your reference, I have the following in my C file > contain the main() > routine: > > // Setup configuration bits > _CONFIG1(JTAGEN_OFF & // JTAG Disabled > GCP_OFF & // Code Protection Disabled > GWRP_OFF & // Write Protection Disabled > COE_OFF & // Clip-on Emulation Disabled > FWDTEN_OFF & // Watchdog Timer Disabled > ICS_PGx2) // ICD2 pins select: EMUC/EMUD share > PGC2/PGD2 > > _CONFIG2(FCKSM_CSDCMD & // Clock switching and clock > monitor: Only > clock switching enabled > OSCIOFNC_ON & // OSCO/RC15 function: RC15 > POSCMOD_HS & // Oscillator Selection: HS oscillator > FNOSC_PRI) // Primary oscillator (XT, HS, EC) > > Your processor might be a bit different, but you can > have a clue by > looking into the processor header file, which you > can find in your C30 > folder. > > > Well I'm searching for the equivalent alphabet > revision representation > for PIC24FJ128GA010 . You know that is the most > confuse issue that > Microchip has ever made - ICD2 report something like > rev 0x3001 while > their errata sheet has a title something like rev > A1, A2...etc. Then > sometime the short description of ICD2 report was > missing from the > errate sheet. Still undergo testing of my > GetSiliconRevision() > routine... > > I hope you can find a solution soon. > > > Best wishes, > > -- > WH Tan > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist