I don't think that level of cooperation is going to happen any time soon. Controlling the customer seems to be more important than selling the product. John Ferrell http://DixieNC.US ----- Original Message ----- From: "techy fellow" To: "Microcontroller discussion list - Public." Sent: Saturday, January 15, 2005 9:09 PM Subject: [PIC] Problem with communication between PICDEM 2 and mikroBasic > Thanks for the help, John. > > This is also what I expected. What I did was, I 'blew' the hex code into > the 16F877A using kit 128 (from kitsrus) and then place the 877A into the > PICDEM 2 board. Of course, the code is running as expected as it is just a > demo program (blinking LEDs) from mikroBasic. > > Seems like your recommendation is the only way out for now. I hope > mikroElektronika will enhance their mikroBasic to include an option for > user to change IRQs or to support other major PIC boards (at least those > from microchip). This way, users of PIC boards other than their own > programmer board will be interested in getting their basic compiler. Just > my 2 cents worth... > > cheers, > > John Ferrell wrote: > I don't think you can go directly from the MikroBasic compiler to the > PicDem > 2 board. > first, compile the program. > second, IMPORT the .hex file into MPLAB. > then burn the code into the PicDem 2 device. > > Cumbersome at first but gets easy fast. > The MikroBasic compiler is expecting a Mikroelektronika programmer. > > Warning: I have not tried this with the MikroBasic but I have done it with > the MikroPascal. > > PS: I sure wish it was like DOS where a .bat file would do it all at > once... > Progress is sometimes regress! > John Ferrell > http://DixieNC.US > > ----- Original Message ----- > From: "techy fellow" > To: "Microcontroller discussion list - Public." > > Sent: Saturday, January 15, 2005 10:10 AM > Subject: [PIC] Problem with communication between PICDEM 2 and mikroBasic > > >> Hi All, >> >> When I try to 'blow' the hex file into 16F877A on my PICDEM 2 board from >> mikroBasic (Demo version), I kept receiving the following error message. >> >> "Can not communicate with PICFLASH Programmer ! >> >> Please ensure that device is attached to USB bus >> and that the drivers are correctly installed." >> >> I tried on 2 of my note books. One is via com port 1 while the other via >> USB. Unfortunately, my PICDEM 2 board has serial connection only. Hence, >> I >> used a USB to Serial connector to connect from USB port of my notebook >> and >> to the serial port on the board. I have no problem using this USB to >> Serial device to program both my Basic Stamp Homework board and Basic >> Stamp starter kit board. Both of the latter boards are using serial port. >> >> I tried to locate an option to allow me to configure the IRQ for the USB >> to Serial device with mikroBasic but, unfortunately, I don't think there >> is such option. Any help is greatly appreciated. Thanks in advance for >> the >> help. >> >> Cheers, >> >> >> >> >> >> --------------------------------- >> Do you Yahoo!? >> The all-new My Yahoo! - Get yours free! >> -- >> http://www.piclist.com PIC/SX FAQ & list archive >> View/change your membership options at >> http://mailman.mit.edu/mailman/listinfo/piclist >> > > > -- > 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 > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist