From: <sd...@du...> - 2007-12-03 14:20:05
|
Vaclav Peroutka schrieb: > Hi Raphael, > > thank you very much for your quick response! I corrected the lines as you suggested and it looks much better. > > I have following output (maybe some problems with gputils) - there is EEPROM memory. I noticed it in some other projects as well so it is not a bug of USB code or SDCC itself. I used the nuts&volts code to implement a USB-CDC device. For this i had add the following lines to a local copy of the 18f2550.lkr file. SECTION NAME=CONFIG ROM=config SECTION NAME=bank1 RAM=gpr1 SECTION NAME=usbram4 RAM=usb4 SECTION NAME=usbram5 RAM=usb5 SECTION NAME=eeprom ROM=eedata IIrc i also had to add -Wl-s$(lkr_PIC_TYPE).lkr,-m -mpic16 -p$(sdcc_PIC_TYPE) with $lkr_PIC_TYPE=PIC18F2550 and $sdcc_PIC_TYPE=18f2550 to the compile options in the Makefile. Hope this helps ja |