Bootloader issues with C18 - 3.4.7 (docmur)
Hey Everyone So I'm trying to get a bootloader working with my device a pic18f2510. I have the bootloader programmed on the device but when I try to add my own hex file through the AN1310 program, I...
View ArticleRegarding AN964 application inverted pendulam (Hiren Jethava)
I am working on inverted pendulum using PIC18F micro controller...all is going gud but i have one problem that there is no mention the RPM about motor ,... The motor used in this system that meets this...
View Article[SOLVED] File lkr DATABANK modification and optimization issue ? (zodd)
Hello, I had to modify the 18f97j60_g.lkr to "fit the section" like this :DATABANK NAME=gpr0 START=0x60 END=0xFF DATABANK NAME=gpr1 START=0x100 END=0x3EF DATABANK NAME=gpr2 START=0x3F0 END=0x3FF...
View ArticleHow to fit a section (zodd)
Hello, I'm trying to compile my project without modify my lkr file. I don't have any object larger than 256 Bytes. But I have a lot of global variables in my main and a lot of static variables in some...
View Article16F877 problem with PORTB used as output (andrea ciuffoli)
I am using a 16F877 PIC and for this application I need to use PORTB to connect the LCD. This is the first time I use PORTB as output. Using the normal configuration bit the LVP_OFF flag used in many...
View ArticleDELAYTCY calculation issue (Gharbi Makhlouf)
I want to set a delay of 1s, I set internal oscillator with 4MZ, so TCY = 4/4MHZ = 1usso one second = 1us * 1000 000 so Delay10KTCYx(100); //delay one secnde 10kilo * TCY(4/4 = 1us)*100 = 10000*1*100 =...
View Articleeach time i declare local variable within function I got error systax (Gharbi...
im using c18 compiler with mplabx.each time i declare local variable within a function after any instrucion, I got Error: syntax error in the line where the variable declared when I declare variables...
View ArticleAnyway to get the older C18 compiler versions? (GarEngLLC)
I picked up an Olimex development board and was trying to build its example with the current tools and it seems to have issues with the current C18 compiler. I went looking for the older version (v3.40...
View ArticleC18 build issue with MPLABX vs. MPLAB, extended instruction, and Internet...
I have a project that I want to use with the Internet Bootloader and it builds differently with the same C18 compiler version and settings using MPLABX vs. MPLAB. The project can be built with the...
View ArticlePORT C PIC 18 (edwinslv)
Using the PIC18F26K80 I am unable to control RC6 and RC7 as output and I am able to control RC0 and RC1. Is any other configuration necessary for setting those two pins as outputs? I have included the...
View Articleproblems with #pragma config (Rhinoman)
I have to work on some old code on a PIC18F452 which now won't build. I get a syntax error on the following line:#pragma config PWRT = OFF // Power Up Timer is disabled I am using C18 v3.46, my...
View ArticleProblem with building applications using SPI (matsuzay)
Dear list I am experiencing a problem in building applications that use SPI by C18 compiler. My target device is PIC18F4550. I downloaded the C18 compiler from the link below: Then when I tried to...
View ArticleSolved:PIC18F67J94 USART and PPS Lite question (lasa@kiatronics)
Hello there everybody I am new to this forum.[:) Recently I started a project using PIC 18F67J94. It has got 4 USART and I need to assign them using PPS Lite feature of the chip. I've got SPI2 module...
View ArticleENC28J60 cannot communicate with PIC17F8722 (sacmakayit)
Dear friends, I'm working with PIC18F8722 and ENC28J60 to create a tcp client. I use TCPIP Stack v2013_6_15 library. After making necessary correction on the library, i built it and tried it over the...
View Articlestrange behaviour with string.h library (pettinellimirko)
Good Morning , i need your helped for understand this big problem occurs using PIC18F97J60.Our program reads a string from serial port via interrupt, this buffer is elaborated into other side of the...
View ArticleHow to switch on the LEDs manually in olimix maxi web? (Viswak RK)
Hello there., i have been designing an testing application which the LEDs 1,2,3,4 have to be switched ON manually from the source code. Can you pls guide me to switch these ON? I have been using MPLAB...
View Articlecould not find definition of symbol 'putrsXLCD_2' in file (Daniel_Germany)
Hi guys,I have a 4x40 LCD. The LCD has 2 enable lines, one E for the upper two rows and second E for another lower rows. First problem was to find a libary. I mad my own one as follows. I tooked a...
View ArticleCan't understand Disassembly part of this C18 code (paulfjujo)
hello, I can't understand how works this part of code , inside the while loopwhile(PORTAbits.RA4==1) {PT1000=PT1000+1;};I added inside C18 code 2 asm NOP instruction, for better visibility inside the...
View ArticleCasting floats to long and then converting the result to string gives an...
Using MPLABX, C18 on PIC18F87J72 The Problem: Casting floats to long -> converting result to a string -> send to LCD screen -> prints obviously overflowed value. i.e char str_buff; float flt1...
View ArticlePIC18F25K22 header file (Uncle)
Is it possible to download a PIC18F25K22 and PIC18F26K22 c18 header file that support the 40 pin ver. that include port D...somewhere..? The included header file in c18 library only support the 28 pin...
View Article