Jump to content

marcob

EstablishedMember
  • Content Count

    16
  • Joined

  • Last visited

Community Reputation

0 Neutral

About marcob

  • Rank
    Newbrie
  1. Yes, there was an error in the code. The correct code is like this: rom char* ms1 = "XXX"; rom char* ms2 = "YYY"; char* msg; main () {... msg=ms1; } In this case, if I try to display in an LCD the value of msg, nothing appears. Instead if I remove ms1 and ms2 from rom in this way char* ms1 = "XXX"; char* ms2 = "YYY"; char* msg; main () {... msg=ms1; } the program works correctly. Can you explain me how to use the variables put in rom memory? Thank you, bye
  2. Hi. I have two Test string in rom. I want to load one with the two stringhe in one const char , but is not possible. rom char *ms1= "hello"; rom char *ms2= "HELLO"; const char *mess; // Main program entry void main() { if (.....) *mess = *ms1; else *mess = *ms2; How to solve this ! regards marco
  3. HI, Use mplab with “INCIRCUIT DEBUG " with a pic877 and compile whith boostc. I have a interap that it is cyclical with TMR0. And I want to count in input on RBO. The problem is that when I qualify interap on TMR0 also the counter on RB0 it counts, the program me seems corrected: **************************************************************/ #include <system.h> #include "lcd.h" #pragma CLOCK_FREQ 20000000 //Define device config block //#pragma DATA _CONFIG,_CP_OFF & _DEBUG_OFF & _CPD_OFF & _WRT_OFF & _LVP_OFF & _BODEN_OFF & _PWRTE_
  4. I have installed the single version MPLAB base. before: I'm copy the file of sourceboost (C:\Programmi\SourceBoost\mplab) in mplab directory (C:\Programmi\Microchip\MPLAB IDE\Core\MTC Suites). now: Excuse but I have not understood where I must copy the file "libc.pic16.lib" , in which directory of mplab. regards marco
  5. hi, im use the boost c in mplab 7,31 and when compile have a problem: the compliler is ok but : icensed to xxxxxxxxx under Single user Standard License for 1 node(s) Limitations: PIC12,PIC16 max code size:4096 words, max RAM banks:Unlimited, Non commercial use only utility.c success Executing: "C:\Programmi\SourceBoost\boostlink.pic.exe" "C:\Mio\Pic\Mio_SoftWare_PIC\prova\5450.obj" "C:\Mio\Pic\Mio_SoftWare_PIC\prova\adc.obj" "C:\Mio\Pic\Mio_SoftWare_PIC\prova\eeprom.obj" "C:\Mio\Pic\Mio_SoftWare_PIC\prova\serial.obj" "C:\Mio\Pic\Mio_SoftWare_PIC\prova\test.obj" "C:\Mio\Pic
  6. Thank you dave. I've downloaded the new MPLAB version and I've seen how to debug programs with ICD. Now I need to know how it is possible to integrate boostC with MPLAB. Can you suggest me how to do this? Thank you for your attention, Marco
  7. Hi everybody, I would like to know if it's possible to make a hardware debugging with boostC. I use PIC16F876/77: can I connect it with a hardware device that allows to make a debug in circuit of the program? Is it possible in BoostC? If yes, how it's possible? Do you know any URL address in which I may found some scheme to build a debugging hardware device by myself? Moreover, I would like to make another question: my username is Marco Boschi and I'm registered for the 6.x version. If I download the new version of the program (6.35) and the new plugins, am I allowed to use them? My email
  8. Hi, I'm writing code for PIC16f876 with BoostC and I've seen a strange thing: when I debug the code and I press the "Reset button" it appears the sentence "Can't locate source line for the current instruction". Then, when I use the "Step Over" Command the same sentence appears for 3 times, and then the debug starts correctly. Do you know why? Another request: do you know why I'm permitted to write only 4k of code for this PIC instead of the 8k that can be used with 16f876? Thank you, bye marcob
  9. Hi, I'm a registered owner of sourceboost. I've uninstalled the previous version I had because I've had problems with pc, now I've installed the new version 6 and when I write the key, a window tells me that the registraion key is expired. Is this true? I need another key? Please tell me something, thanks
  10. Hi guys, I want to write a routine in order to convert an hex number into a decimal one, and the opposite. I mean, I have a number (i.e. 3A0 in Hex) and I want to display it in decimal on an LCD. I've seen the answers to the other question for the adc, but I'd like to have this routine for every number and not only till 1023. Have you got anything for me? Thanks a lot, Marco
  11. Boostc I want only to simulate the transmission Another question dave, which are exactly the differences between boostc and c2c? Thanks, regards
  12. I would like to use the terminal for being able to simulate the communication between pic16f84 and the PC. How can I make so, since I don't find how to set the pin of the pic to be connected? thanks marco
  13. I would want to know if you have a simple ruotine in order to make one seriale that it receives and it transmits with the pic 16f84.(uso boostc). If I take a ruotine made for the c2c I can use it, what is the difference between boostc and the c2c? Thanks
  14. Hi everybody, I would like to know why when debugging, the simulation timing using plugins is much slower than the real timing when the chip is programmed. Can anybody suggest me something? Regards, marco
×
×
  • Create New...