Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by kerden

  1. K

    How to use malloc( ) and free( ) in PICC?

    malloc() mcc18 i have copy the stdlib.h under the project file.but it doesn't work; some error as follow The target "D:\picc\PIC18\fgh.obj" is already up to date. Executing: "C:\HTSOFT\PIC18\BIN\PICC18.EXE" -E"2.lde" "D:\picc\PIC18\fgh.obj" -M"2.map" -O"2.cof" -O"2.hex" -Q -MPLAB -18F248...
  2. K

    How to use malloc( ) and free( ) in PICC?

    hi-tech malloc thank you very much. i ve also tested my code with picc and picc18,but i doesn't work.are you picc18 is a demo? where have you downloaded?
  3. K

    How to use malloc( ) and free( ) in PICC?

    pic18f malloc yes ! i have included stdlib.h
  4. K

    How to use malloc( ) and free( ) in PICC?

    pic malloc I have writed a simple program like this: /* ******************************* */ #include<stdlib.h> void main(void) { unsigned char *ptr; ptr = (unsigned char *) malloc(sizeof(unsigned char)); free(ptr); } /* ***************************** */ This just used to test how to use...
  5. K

    An extremely weird question about ICD2

    chip:PIC16F877 My question is that: My program runs in the MPLAB simulator, but when I programmed the chip it did not work at all. My disposition character is as follows: watchdog timer : off power up timer: off brown out detect: off low voltage program : off who can help me? thank...
  6. K

    help! PIC USART interrupt problem!

    thank you! but why i can receive the data?
  7. K

    help! PIC USART interrupt problem!

    thank you ! i use pic16f877 chip.
  8. K

    help! PIC USART interrupt problem!

    My problem as follow.and i emluator in ICD2, the progam can send out the data. but it can't receive any data, and it can run into the interrupt. what's wrong? thank you! void init_com() { SPBRG = 0x23; TXSTA = 0x04; RCSTA = 0x90; TRISC = 0x80; INTCON |= 0xc0; PIE1 |= 0x20...
  9. K

    PIC16f877 simulate spi code!

    spi_init pic 16f877 hi, pic16f877 has an inner spi, but i want to simulate to communicate EEPROM 93LC46B(64 *16bit not the same as 93lc46A).my code as follow.but it don't out the data. what's the matter? thank you. //-------------------------------------- PIC chip and 93LC46B...
  10. K

    who could tell me what's wrong? about PICC

    fixup overflow picc hi,i am kerden. thank you for answered my question. i could share the Internet until the day before yesterday. so i haven't seen you reply about my quesetion.i am so sorry for that. today i have ckecked in you project.and still have a question: when i include the...
  11. K

    PIC16F877A project works on emulator but not on chip!

    Re: A magical problem!!!! i have done. because it isn't every function doen't work when download to chip besides some. so it dosn't hardware problem. Added after 46 minutes: #include"pic.h" #define uchar unsigned char #define uint unsigned int #define Some_nop(); NOP(); NOP(); NOP()...
  12. K

    PIC16F877A project works on emulator but not on chip!

    Re: A magical problem!!!! Yes . i have done. Added after 45 minutes: CONFIGURATION bits like that:
  13. K

    PIC16F877A project works on emulator but not on chip!

    A magical problem!!!! hi: I have edited a project using MCU of PIC16F877A. it can work well on emluator ICD 1,but when i download on the chip it couldn't work? why ??? thank you!
  14. K

    who could tell me what's wrong? about PICC

    function not made in the presence of a prototype i think there isn't any solecism because the error at the [000] address. so it must be a address overflow. and i have to cut any function to prove where the error making .as follows: so i have to cut down any big function "bit...
  15. K

    who could tell me what's wrong? about PICC

    illegal conversion of integer to pointer hi i have made them into RAR,you could loaddown the project it will show what i said. thank you !

Part and Inventory Search

Back
Top