EmbeddedRelated.com
The 2024 Embedded Online Conference

Using Visual Studio editor with C18 compiler

Started by Basic Poke in Piclist16 years ago 1 reply

Does anyone know how to use the Visual Studio 2005 editor for PIC code, then compile with the C18...

Does anyone know how to use the Visual Studio 2005 editor for PIC code, then compile with the C18 compiler? Thanks BasicPoke ------------------------------------


Calculating PIC instruction speed

Started by Nelson Viegas in Piclist16 years ago 1 reply

Hello group! Although I'm able to do some stuff using PIC microcontrollers, I still don't know to calculate how long does a PIC instruction...

Hello group! Although I'm able to do some stuff using PIC microcontrollers, I still don't know to calculate how long does a PIC instruction takes to execute! God knows I've been up and down the PIC16F628A datasheet and maybe it's because I'm kinda of a noob, but I was unable to figure it out. Can anybody shed some light on this? Thanks! Best regards, Nelson --------------------...


KicChip

Started by michaelcollier in Piclist16 years ago 1 reply

Hi I'd like to draw your attention to a brand new PIC based=20 microcontroller - "KicChip" that I have developed. The KicChip uses BASIC as...

Hi I'd like to draw your attention to a brand new PIC based=20 microcontroller - "KicChip" that I have developed. The KicChip uses BASIC as its language and is programmable via a simple 3 wire interface from the PC serial port - so it doesn't require=20 further programming devices (other than 2 resistors).=20 The software is free to download, it includes a BASIC simulator. The URL i...


Pic C library + tutorials

Started by ih_sydney_2003 in Piclist16 years ago

Hi all, I've built up a few libraries for accessing different devices and have published them for everyone to enjoy. As I've been working...

Hi all, I've built up a few libraries for accessing different devices and have published them for everyone to enjoy. As I've been working through the code and tidying it up, I've been writing tutorials on how to use it. All tutorials cover a BoostC project with everything in it ready to go. All routines are safe with read-before-write 16f device pins and include a "config" concept so you c...


I2C multimaster. Switching PIC between Master and Slave.

Started by Nick Alexeev in Piclist16 years ago

Colleagues,=20 Is it possible to choose between Master and Slave modes on the fly by=20 writing to the SSPCON register?=20 I will have two...

Colleagues,=20 Is it possible to choose between Master and Slave modes on the fly by=20 writing to the SSPCON register?=20 I will have two PICs in the system. One will handle the display,=20 another one will control the process. When the process isn=E2=80=99t runnin= g,=20 the display PIC should be the Master. When the process is running,=20 the display PIC should display the parameters...


Writing to PIC16F626 EEPROM

Started by Sasha in Piclist16 years ago 2 replies

Dears, I need help on a code to write to the PIC16F628 EEPROM. I should write decimal '11' in the first two bytes of the EEPROM address. I...

Dears, I need help on a code to write to the PIC16F628 EEPROM. I should write decimal '11' in the first two bytes of the EEPROM address. I have tried a sample code but I need confirmation of the Interrupt controls EEIF and EEIE have and where to put them; main program or in the Interrupt Service Routine program. BSF STATUS,RP0 ;select bank1 MOVLW 0x00 ;EEPROM address MOVWF...


USB and 18f2550

Started by Lez in Piclist16 years ago 4 replies

I want to programa 18f2550 with nothing more complicated than a usb cable.......... Now I know that first time round I need to serial program...

I want to programa 18f2550 with nothing more complicated than a usb cable.......... Now I know that first time round I need to serial program into it and then.... (a) bootloader into pic (b) assemble all my code starting above the bootloader (say org0x800 etc) (c) have some software to ''send'' this assembled hex file to the pic I have no idea what to use for (a) as they are a few out ...


Savining a Hex file in MPLAB

Started by kg4pid in Piclist16 years ago 6 replies

Does anyone know how to use MPLAB to read the hex code out of a non code protected pic chip and then to save that to a hex file. Under...

Does anyone know how to use MPLAB to read the hex code out of a non code protected pic chip and then to save that to a hex file. Under "Programmer" there is a "Read" command but I don't see any way to save it or even display to data that was read. I've gone thru the help and doen't see anything. Thanks in advance Max


Opinions on the best PIC BASIC compiler?

Started by Bob Hyland in Piclist17 years ago 6 replies

I've been looking at different PIC BASIC compilers. What I am looking for: - Performance (efficient code) - ICD (in circuit debugging) -...

I've been looking at different PIC BASIC compilers. What I am looking for: - Performance (efficient code) - ICD (in circuit debugging) - Good support for a wide variety of MicroChip MPU's So far, I am considering the following compilers: - PIC BASIC PRO (seems like their ICD is limited to a few chips?) - mikroBasic (built in ICD support) - Proton PIC Basic (http://www.protongeeks.com/...


ICD2Clone don´t work ??

Started by Luis in Piclist17 years ago 1 reply

hi all, I?m build the icd2clone, in WindowsXP it?s ok, but in MPLAB: MPLAB ICD 2 Ready Downloading Operating System Connecting to MPLAB ICD...

hi all, I?m build the icd2clone, in WindowsXP it?s ok, but in MPLAB: MPLAB ICD 2 Ready Downloading Operating System Connecting to MPLAB ICD 2 ...Connected ICDWarn0054: MPLAB IDE has lost communications with the MPLAB ICD 2. Would you like to attempt to reconnect? Connecting to MPLAB ICD 2 ...Connected ICD0082: Failed MPLAB ICD 2 operation ICD0082: Failed MPLAB ICD 2 operation ...Dow...


Ask a Question to the EmbeddedRelated community

To significantly increase your chances of receiving answers, please make sure to:

  1. Use a meaningful title
  2. Express your question clearly and well
  3. Do not use this forum to promote your product, service or business
  4. Write in clear, grammatical, correctly-spelled language
  5. Do not post content that violates a copyright


The 2024 Embedded Online Conference