Hector Martin wrote: > I'm having some trouble with a wisp628 I just built. Firstly, I didn't > have any '628s handy, so I decided to use an F88 I had nearby. To do > this I had to swap some pins on the hardware since the F88 uses > different USART pins. Specifically RB1 becomes RB2, RB2 becomes RB5, and > RB5 becomes RB1. Then I tried to modify the firmware to use the new pins > (and address some differences between the chips like disabling A/D), but > I can't get jal (0.4.62) to compile it. No matter what commandline > options I try, I always get: > > jal 0.4.62 (GCC 3.3) > > error: code too large 3374 (2047 available) You better use JAL 0.4.60! > I ended up disassembling and editing the .hex that Wouter provides > (replacing the bits in accesses to PORTB and the PORTB and TRISB shadow > registers that JAL uses, plus adding some stuff). It works fine for all > the older chips, but I want to use it to program the 18F4550. This is > again unsupported (needs a new programming algorithm). Fortunately, Rob > Hamerling already has his own modified version > (http://www.robh.nl/picsoft.php) plus PC-side software, but he only > provides a jal file which I can't compile. Well, I also provided a hex file, but for the 628/628A/648A! I had the same problem as you with JAL 0.4.62, so I used 0.4.60! Regards, Rob -- Rob Hamerling, Vianen, NL phone +31-347-322822 homepage: http://www.robh.nl/ -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist