Jump to content

programming a PIC16F88 with JDM and winpic800?.. problems with the IIC Module!!


bosone

Recommended Posts

i tried to build a midi IIC module, and asked some collegue to burn for me the PIC 16f88, since the programmer i was using (ICPROG) didn't support this pic.

now, i discover that the IIC module is not working, and (as thorsten said me), there must be something wrong in the pic programming, since the power led is not lighting... even if all the other connections seems ok...

i foudn another programmer, winpic800, which supports the 16f88 and jdm programmer... do someone have experience with this configuration??

moreover, the winpic800 asks me for some details regarding pic cionfiguration... what should i setup??

in particular:

ID: should be 0010 if i understood well

OSC: i can choose between: LP, ST, HS, EXTCLK, INTRC I/O, INTRC CLKO, EXTRC I/O, EXTRC CLKO

i suppose is EXTRC something... but which of the two??

then there are some checkboxes:

WDTEN (x)

PWRTEN

MCLRE

BOREN (x)

LVP

CPD

DEBUG

CCMPX (x)

CP

andi signed with (x) those enabled by default.

finally, i see a column with "WRT" which can be either: off, 0000-00FF; 0000-07FF;  0000-0FFF

and two checkboxes named FCMEM, IESO

can someone give some help!??! :-)  ??? ??? ???

i will try to build the 40 to 18 pin adapter for the jdm programmer, i hope that it will work...    :P

another question, regarding MIDI_IIC schematic:

i read in the page:

"An additional 1k pull-up resistor is required between the Vd and SC line (normaly soldered directly at CORE::J4) in order to allow "clock stretching". Thats a method to delay serial transfers when a slave cannot response immediately on a master request. The pull-up resistor for the SD line is already available at the core (CORE::R2)."  ???

i see that this resistor is not present, either  in the core or in the MIDI IIC midi out only version schematic... should i add it?!?! when i build the midi IIC module i forgot it...  :P

Link to comment
Share on other sites

I see that this resistor is not present, either  in the core or in the MIDI IIC midi out only version schematic... should i add it?!?! when i build the midi IIC module i forgot it...

of course, the IIC connection won't work if this resistor is not available

OSC: i can choose between: LP, ST, HS, EXTCLK, INTRC I/O, INTRC CLKO, EXTRC I/O, EXTRC CLKO

i suppose is EXTRC something... but which of the two??

normaly, the selections should be done automatically, because they are stored in the .hex file

If your programming tool doesn't handle it correctly, here the values:

Oscillator: HS (!!!)

then there are some checkboxes:

WDTEN (x)

PWRTEN

MCLRE

BOREN (x)

LVP

CPD

DEBUG

CCMPX (x)

CP

finally, i see a column with "WRT" which can be either: off, 0000-00FF; 0000-07FF;  0000-0FFF

and two checkboxes named FCMEM, IESO

I don't know what CCMPX means, but the values seem to be correct. Ignore the write protection WRT

Best Regards, Thorsten.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...