Jump to content

Eric_RO

EstablishedMember
  • Content Count

    14
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Eric_RO

  • Rank
    Newbrie
  1. Ian, I viewed your blog with great interest. I want to thank you for effort. You have touched on some element of programing which I have questions on and others areas which I still need to cover. One area is bootloading and interfacing the PIC using USB, which is only avaiable on my laptop. coverage of this in your future writing woulld be helpful. Also, using a screamer terminal type USB interface with the PIC. Again, thanks for your blog, I know it will be helpfull to alot of others. All the best. Eric RO
  2. cac001, The code on www.electronic-engineering.... site is written in asm. Per Dave's comment on this thread, it looks like it would be a problem to intergrate this asm code into boost C. RSABear, The code I'm working on is a little more complicated and I need to simplify it. I will get it to you when I get it working. Thanks again. All the best, Eric RO
  3. RASBear, Found source of code. www.sourceboost.com/Products/C2C-plus/ExampleCode/ under: ps2 I did not know this location existed. Again thanks for your help. Eric RO
  4. RSABear, I have not seen this code before. There are three #include files needed to use program: LCDTest.c keyblch.h scancod.h I don't have a source for these additional files. If you do let me know. The code I'm working on also uses the LCD files supplied with the sourceboost C compiler. Also, recieved your "My Assistant" contact. I wasn't aware of this method of contact. Thanks for your help. All the best, Eric RO
  5. Dave, Thanks for getting back to us. Questions: 1. Is Sourceboost C assembly code based on MPASM or subset of MPASM? 2. If yes, what version, etc.? 3. If not, whose assembler and where to get user manual? 4. The orignal question in his thread was, are there any PS/2 keyboard header files or source codes written for SourceBoost C compiler? Thanks for your help. All the best, Eric RO
  6. Hi Renard, Thanks for your response. Microchip has written a PS/2 to USB keyboard translator in assembly (MPASM code), which has given me some insite on developing C keyboard code. It's in their TB056 (DS91056C) document and related down-loadable MPASM code file. It was written for the PIC16C765. TB056 document has a PS/2 Keycode table which I used in my work. For SourceBoostc C coding, do you know whose assemby coding they are following and what directives are available. I would like to have the ability to include asm code in with my C code. I did not find any info on this i
  7. Hi, I've searched the forum and related links to find if anyone has developed code using BoostC for getting ps/2 keyboard inputs into the PIC. Not finding any, I have started developed code which translates keyboard keyed input to ascii output. Translation table has been worked out. I'm working on code now to taking recieved bytes and getting an ascii byte out. Looking through a book by Nigel Gardner, "PICmicro MCUC" written for the CCS C compiler, the book stated that CCS C has a header file, "conio.h", which has a kbhit() and gets(str) and maybe other functions for keyboard i
  8. Hi, I like getting hex values when using Hover in the dubug mode, as shown in IDE User's Guide. I'm getting octal numbers. Can't find a way to change this. There must be a simple solution. Thanks for anyone help. all the best, Eric RO
  9. Follow-up I removed v6.84 program from my computer, used .exe download as source. I reistalled V6.84 using zip file download. I ran the lcd.c project/program that came setup on IDE when I openned it. The build was successful and ran the simulator using the LCD plugin. I worked. I don't know why the orignal install didn't work. I may have corrupted something in the process of working with it. Now I have a base to work from. JK thanks for all your help. All the best, Eric RO
  10. JK, Thanks for the replies. I did use 16f877 as target in IDE. I had 16f887 on the brain because that is the processor I want to target in my other program. Yesterday I purchase the unlimited lic. and installed the lastest release, v6.84. Are you running this version? Thanks for responding. All the best, Eric RO
  11. Hi, HELP! It must be a simple item I'm not doing. I keep getting this error "???(52): Unterminated conditional" regardless of which program I running. So I loaded the sample program "interrupt.c" from the SourceBoost directory. Still get the same error refering to the line number past the last line in my code. In the Workspace I included the following files: interrupt.c system.h boostc.h BoostCPic16.h libc.16.h p16f877.h Also, the target in the IDE is set as PICF887. Also, I noticed that the program the program doesn't have a #include <p16f887&
  12. Hi, The next pic that I would be migrating to will be the pic18f4550. I'm look to have have a USB port. Also, having the ability to add USB keyboard and other devices. Using laptop without serial serial port for programming. All the best, Eric RO
  13. Dave, Re-install the SourceBoost software package. During the installation make sure you press the integrate into MPLABs button. Regards Dave Reinstalled per your instructions and it works now. Thanks for your response. All the best, Eric RO
  14. I installed SourceBoost IDE first before installing the MPLAB IDE v8.0 a few days later. Following instructions in Boostc manual I did the following: 1. copied files from C:\Program Files\SourceBoost\mplab on my computer, HP running XP, into c:\Program Files\MICROCHIP\MPLAB IDE\Core\MTC Suites. 2. Note: MTC Suites directory was found in the Core directory. New location under MPLAM IDE v8.0? 3. Opened Projects > Set Tool Locations menu and could not find sourcrBoost. Please advise on corrective action. All the best, Eric RO
×
×
  • Create New...