EmbeddedRelated.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...


MPLAB 6.40 vs MPLAB 5.6x assembler error

Started by Anonymous in Piclist21 years ago 11 replies

This has been bothering me since changing over to MPLAB 6.4x.     The following code snippet works fine on MPLAB 5.6x...

This has been bothering me since changing over to MPLAB 6.4x.     The following code snippet works fine on MPLAB 5.6x but will not assemble on MPLAB 6.40.  The code checks to see if a jump table will cross a 256 byte program page b


Hot to install mplab in linux

Started by ricleite_pessoal in Piclist16 years ago

Hot to install mplab in linux whith wine First, install and configure wine. (apt-get,aptitude, compile, etc) if you wine is ok get this...

Hot to install mplab in linux whith wine First, install and configure wine. (apt-get,aptitude, compile, etc) if you wine is ok get this mplab 7.40 package: http://kof.asbyte.com.br/mplab-7.40_ie6-wine.tar.bz2 This file contains 60Mb. Copy in your home directory: cd ~ wget http://kof.asbyte.com.br/mplab-7.40_ie6-wine.tar.bz2 tar xjvf mplab-7.40_ie6-wine.tar.bz2 cd mplab ./m...


How to declare a software UART in the MPLAB compiler?

Started by Nick Alexeev in Piclist20 years ago 1 reply

Colleagues, I'm a big fan of CCS compiler, but for this project I have to use the MPLAB, becasue it support s Salvo OS....

Colleagues, I'm a big fan of CCS compiler, but for this project I have to use the MPLAB, becasue it support s Salvo OS. Here are my questions. - Is it possible to delare a Software UART in the MPLAB without a lot of coding? - Is there a good 3rd partty Software


How to install a C compiler in MPLAB v5.70?

Started by Bruce.J Sam in Piclist20 years ago 1 reply

   I have download PICC Lite Compiler form the website of HI-TECH.The document of this C compiler said it support to MPLAB 6.xx.But...

   I have download PICC Lite Compiler form the website of HI-TECH.The document of this C compiler said it support to MPLAB 6.xx.But I can see the option of it in MPLAB v5.70.In "Project->Install Language Tool" I have selected "PICC Lite Compiler".Yet I open the dialog box again,the o


16F88 with MPLAB 5.70

Started by upand_at_them in Piclist20 years ago 11 replies

Dang, another hurdle. I'm using MPLAB 5.70, but there's no option for the PIC16F88 in the processor select box. Mike ...

Dang, another hurdle. I'm using MPLAB 5.70, but there's no option for the PIC16F88 in the processor select box. Mike


MPLAB C18 compiler student version

Started by Alan Marconett in Piclist16 years ago 3 replies

Anyone familiar with the MPLAB C18 compiler student version? I'm trying to compile the 696 example. I did get it to compile by simply executing...

Anyone familiar with the MPLAB C18 compiler student version? I'm trying to compile the 696 example. I did get it to compile by simply executing the .BAT file in the directory. MPLAB couldn't seem to do it. I think it has something to do with the command line -p option. The batch file doesn't use it. I also attempted to modify the C file and linker file to compile for a PIC18


I2C data line (SDA) goes low and hangs

Started by Basic Poke in Piclist16 years ago 2 replies

I have a PIC18F66J50 with a Microchip EEPROM on the I2C port. Sometimes when I program the MCU using MPLAB, the I2C data line (SDA) goes low...

I have a PIC18F66J50 with a Microchip EEPROM on the I2C port. Sometimes when I program the MCU using MPLAB, the I2C data line (SDA) goes low and stays there. Any read or write I then attempt results in a bus collision error and doesn't work. Here is the sequence of events: * cycle power to the MCU/EEPROM board * compile with MPLAB * program the target device with MPLAB. There is cha...


MPLAB 5.70.40 is integrated with HI-TECH PICC compiler v8.02 PL1

Started by Bruce Sam in Piclist20 years ago 13 replies

   I have integrated MPLAB 5.70.40  with HI-TECH PICC compiler v8.02 PL1 but failed.When I only compiled just a simple .c file,it...

   I have integrated MPLAB 5.70.40  with HI-TECH PICC compiler v8.02 PL1 but failed.When I only compiled just a simple .c file,it appear this message:MPLAB is unable to find output file "DELAY.HEX".      This may be due to a compile, assemble, or link process


MPLAB "Go To Locator" not working

Started by Basic Poke in Piclist16 years ago 3 replies

Any ideas why my MPLAB "Go To Locator" is not working? I put my cursor on a function name, right-click, and choose Go To Locator. It should...

Any ideas why my MPLAB "Go To Locator" is not working? I put my cursor on a function name, right-click, and choose Go To Locator. It should go to the function definition. It used to work but stopped for some reason. Thanks BasicPoke ------------------------------------


have a look at my pwm motor controller on 12f675

Started by shaunundergrad in Piclist21 years ago

hi guys, just completed my pwm motor control program, please have look and see if there is any obvious mistakes, it was written...

hi guys, just completed my pwm motor control program, please have look and see if there is any obvious mistakes, it was written on mplab uses special instruction mnemonics so probably only looks correct in mplab. it works ok but the frequency a bit low. gives reasonable out


Frustrating problem with dsPic30F3012 ADC...

Started by demolitron in Piclist15 years ago

Hello, I just got my board built for my new dsPic project and I've run into a very puzzling problem with the ADC. If you all would be kind...

Hello, I just got my board built for my new dsPic project and I've run into a very puzzling problem with the ADC. If you all would be kind enough to take a look for me. I hope this isn't something simple and stupid I've missed... First, my environment: dsPic30F3012 @ 3.3V MPLAB 8.30 MPLAB C30 student edition version 3.12 compiler PICKIT 2 Debugger (DE Version = 1.40.3) USART level s...


please help me with adc program for pic12f675 using mplab

Started by vaishnavi236 in Piclist21 years ago 4 replies

hi, i have written a program for adc. i am going to feed the a/d samples to the timer for the pwm module which is next... my...

hi, i have written a program for adc. i am going to feed the a/d samples to the timer for the pwm module which is next... my project is " MICROCONTROLLER BASED PWM FOR SOLAR PHOTO VOLTAIC POWER SYSTEM. THE PROGRAM written below is simulated using MPLAB 6.13 version.


Declaring a function in PICC-LITE

Started by AG4DG in Piclist15 years ago 2 replies

I'm using MPLAB 8.43 (full installation, including PICC 9.70) in WINE (wine-1.0.1-174-gc4039bd) in antiX Linux M8.2. I'm having difficulty...

I'm using MPLAB 8.43 (full installation, including PICC 9.70) in WINE (wine-1.0.1-174-gc4039bd) in antiX Linux M8.2. I'm having difficulty with code that worked fine in MPLAB v8.10 and HI-TECH C PRO v9.60PL3 (free version) in Windows XP. For the complete code, go to http://www.jasonhsu.com/swrwatt-c.txt When I click on "Build", the build fails, and I get the following error messages: ...


Savining a Hex file in MPLAB

Started by kg4pid in Piclist17 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


Warning in MPLAB

Started by kalyanramu vemishetty in Piclist21 years ago 2 replies

Hi all,   When I am running my PIC code in MPLAB, I got an error and two warnings...   I was able to eliminate all...

Hi all,   When I am running my PIC code in MPLAB, I got an error and two warnings...   I was able to eliminate all other errors except this   Error: ------------------------------------------------------------------


Variable Symbols in File Register

Started by jsternmd in Piclist15 years ago 3 replies

Hi Group, Is there any way get MPLAB asssembler to show the cblock symbol names from a list of variables created by cblock? With a large...

Hi Group, Is there any way get MPLAB asssembler to show the cblock symbol names from a list of variables created by cblock? With a large cblock of 30-40 variable symbol names it gets to be a real pain to find the right address when looking in the file register while debugging. Also, with byte size variables, MPLAB does not include or allow me to drag and drop any of the cblock variables ...


Recognizing serial ports in Linux/WINE/MPLAB

Started by Jason Hsu in Piclist16 years ago 1 reply

My OS is Puppy Linux. I'm running MPLAB through WINE instead of Windows. My programmer is a PICSTART Plus. I'm using a USB-serial converter...

My OS is Puppy Linux. I'm running MPLAB through WINE instead of Windows. My programmer is a PICSTART Plus. I'm using a USB-serial converter to connect the PICSTART Plus to a USB port on my laptop, which lacks real serial ports. I can figure out the port my PICSTART Plus (with the USB-serial cable) is attached to by typing "dmesg|grep tty" in a shell window. (It's ttyUSB0.) THE PROBLE...


Linux alternatives to MPLAB

Started by Jason Hsu in Piclist16 years ago 9 replies

I have a PICSTART Plus programmer with a serial port. So far, I have used MPLAB in Windows to program microcontrollers in Assembly...

I have a PICSTART Plus programmer with a serial port. So far, I have used MPLAB in Windows to program microcontrollers in Assembly language. What are my options for programming microcontrollers in Assembly language with Damn Small Linux as the OS? What are my options for programming microcontrollers in C with Damn Small Linux as the OS? ------------------------------------


questions abt MPLAB

Started by Vibha Ravindran in Piclist21 years ago 4 replies

Hi!   I am a new user of MPLAB IDE v6.20 and I have some questions regarding the same.

Hi!   I am a new user of MPLAB IDE v6.20 and I have some questions regarding the same.