EmbeddedRelated.com

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? ------------------------------------


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


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


interfacing a PS2 keyboard to a pic 628

Started by Don Pomplun in Piclist16 years ago 2 replies

The project is to make a maritime museum demo of the old "blinker light" morse code system that ships use at sea during "radio silence". The...

The project is to make a maritime museum demo of the old "blinker light" morse code system that ships use at sea during "radio silence". The plan is to provide a PS2 keyboard, display the characters typed on a serial 2-line LCD display and operate the shutter of a blinker light. All the "parts" work fine (though not necessarily together) until I got to interfacing the keyboard. If I scan t...


Problem in assembling

Started by chadalawadabalakrishna in Piclist16 years ago 9 replies

I use Microchip MPASM to assemble. But it doesn't accept keywords like PORTA etc. Kindly inform me if there is any error in the logic of...

I use Microchip MPASM to assemble. But it doesn't accept keywords like PORTA etc. Kindly inform me if there is any error in the logic of the program: #include ORG 00H MOVLW b'00000000' TRIS PORTB MOVLW b'00000011' TRIS PORTA MOVF PORTA,0 SUBLW 00000000 BTFSS STATUS,2 GOTO LOOP1 MOVF PORTA,0 SUBLW 00000001 BTFSS STATUS,2 GOTO LOOP2 MOVF PORTA,0 SUBLW 00


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 "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 ------------------------------------


The incfsz command

Started by Jason Hsu in Piclist16 years ago 13 replies

Page 11 of the Elmer 160 course (lesson 5) shows an example of a counter. The code: clrf Spot1 loop incfsz Spot1, F goto...

Page 11 of the Elmer 160 course (lesson 5) shows an example of a counter. The code: clrf Spot1 loop incfsz Spot1, F goto loop The clrf command sets all bits of register Spot1 to 0. The incfsz command increments register Spot1. If F='0', the result of this operation is placed in the W register. If F='1', the result of this operation is placed back in register Spot1....


Symbols refusing to update in Watch Window while debugging

Started by Jason Hsu in Piclist16 years ago 2 replies

I'm using MPLAB SIM to debug an Assembly language program. I'm able to get it to build and run, but I can't get the symbols to update. The...

I'm using MPLAB SIM to debug an Assembly language program. I'm able to get it to build and run, but I can't get the symbols to update. The symbols refuse to update in the Watch Window, and View-> File Registers-> Symbolic also shows the symbols that should update but utterly refuse to do so. What's wrong with my configuration? I'm pretty sure that it's just one little thing that's screwin


Please help with "cannot fit the section" error.

Started by Basic Poke in Piclist16 years ago 1 reply

I am getting the following error in MPLAB 8.10. Any idea what's going on? I don't even see any uninitialized variables in Main.c. MPLINK...

I am getting the following error in MPLAB 8.10. Any idea what's going on? I don't even see any uninitialized variables in Main.c. MPLINK 4.20, Linker Copyright (c) 2008 Microchip Technology Inc. Error - section '.udata_Main.o' can not fit the section. Section '.udata_Main.o' length=0x00000648 Errors : 1 Thanks BasicPoke ------------------------------------


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