Well... I've just sat here and bit-banged the first program word via the sofrwares test-menu!!! I manually loaded 11000000000011 into first word, then sent the begin programming, then the end programming command. Then I read the chip. Low and behold! Out popped 3003 on address 0x0000 :) So, my interface works, my programmer works, and the chip works. But my software doesn't program right ??? It seems my software is sending the wrong commands to the chip ? It sends Begin erase instead of begin programming ? Kyrre ----- Original Message ----- From: "Kyrre Aalerud" To: Sent: Sunday, June 27, 2004 2:42 AM Subject: Re: [PIC:] Programmer doesn't program ? > I want to test my bootloader, if only I could get this programmer to > actually PROGRAM! > > I have scope traces of clock and data at both host and circuit side. They > have very sharp edges and look great. > > The host sends: 00100 (0) and receives 1 11111111111111 1 (14 1's with 1's > on both sides ?) <- should have 0's on both sides of data right ? > Then it sends: 01000 (0) and (0) 00011001111010 (0) again, 14 bits data. > with a 0 on each side... This one is Load data right ? > Then it sends: 00010 (0) wich is Begin erase if I am correct. > After a bit of a wait it sends: 00100 (0) and receives all 1's again. > Then it gives up saying programming failed. > > Does this make sence ? Is there a level problem between the output of the > pic and the input of the programmer ? > Can it be that simple ? > > Kyrre > > -- > http://www.piclist.com hint: The list server can filter out subtopics > (like ads or off topics) for you. See http://www.piclist.com/#topics > -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics