i got:
error[180] usb18mem.asm116: RES directive cannot reserve odd number of bytes in PIC18 absolute mode
warning [230] usb18mem.asm116: no memory has been reserved by this instruction
i got:
error[180] usb18mem.asm116: RES directive cannot reserve odd number of bytes in PIC18 absolute mode
warning [230] usb18mem.asm116: no memory has been reserved by this instruction
PBP 2.60, micro code studio plus 3.0.0.5
folder content: hd_hid260.pbp, PiCUSB.pbp and all files from c:PBP/usb18
-- code removed --
thank you for your help
Last edited by Darrel Taylor; - 15th July 2011 at 03:25.
The code that you posted is not the same as i post in the first post! The code that you post is the code to be included in the code that i post.
Please copy past the code form the first post and try it!
Thanks and Regards;
Gadelhas
i do copy-paste the first post code and includein the same folder the files from firmware.zip and all the files from usb18 folder
compile and result: c:\pic\new\dt_hid260.pbp error line 25> bad BANK number
sorry i`m not so good at this (trying to learn)
And wich code are you compiling? In MicroCode Studio you do not compile the DT_HID260.pbp, you need to compile, the one with the code from the first post. Also, are you compiling the code for the correct Chip 18F4550? Is it possible for you to put a screenshot of the Microcode Studio after you compile with the erros?
Thanks and Regards;
Gadelhas
Hi,
I used the code in this thread on the VB side, and used parts of and incorporated it into my own code on the PIC side. I can communicate and send data perfectly to VB but I cannot get data out of VB into the PIC.
I need to change a slider and have that value (0-255) sent to the PIC so it can save it to EEPROM and later use it. My code on the PIC side works perfectly if I increase or decrease that value with push buttons but I cannot get the byte into the PIC.
Lets say I want to send that value out to the PIC and store it in byte IOUT. What is the program structure in VB?
I am using VB 2010, pbp 2.60 and a 18F2550.
What info do I need to post next to make this easier to figure out?
Bookmarks