PDA

View Full Version : 18F2550 - config settings



malc-c
- 13th January 2007, 14:28
This one is mainly aimed at Steve (mister_e)

Its really a followup to the programming issues I had with an 18F2550 and my hardware (JDM programmer) that is outlined in this thread http://www.picbasic.co.uk/forum/showthread.php?t=5276

Well, using the same hardware, and winpic pro I loaded up some code for a joystick and squirted it to the PIC. It worked first time. !



Info: Loading definitions for "PIC18F2550" from devices.ini .
Info: Support for some newer PIC18F devices added by Martin v.d. Werff 2005
Parsed "C:\Program Files\Microchip\MPLAB IDE\Device\PIC18F2550.dev" : found 113 bit combinations in 39 configuration bit groups .
PIC18F: family='21'=4550, WriteLatch=32 bytes, EraseLatch=64 bytes .
Initialising PIC-Programmer: Success.
Testing: delay(500ms) took 0.50 seconds, timer_freq=3.5795 MHz ... ok
Programming...
Erasing ("bulk" or "chip") ...
Programming CODE, 0x000000..0x001016
Verifying CODE, 0x000000..0x001016
Verifying 0x000000..0x001016
Programming CONFIG, 0x300000..0x30000C
Verifying CONFIG, 0x300000..0x30000C
Verifying 0x300000..0x30000C
Programming finished, no errors.


So I've copied the screen captures for the settings and was wondering if Steve (or anyone else) can advise me on how to set either the PBO config lines, or any changes I need to make to the INC file to replicate the information shown in the attached images.

I also tried your USBdemo.hex and that too loaded to the PIC without issues... It also loaded and squirted one of the old HEX files (that contained no config lines in the main part of the PBP code) to the PIC without problems too. Nothing else has changed (other than the PIC)

Stumped !!!