Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PIC 18F4580 Problems [solved]
#4
Hey guys thanks for the responses.

First thing i did was build the .hex file and then load it into my chip. all went well and my LED turned on... so i assume the bootloader is running.

then cycled power.

then i opened ds30 loader and it says validating hex file... then hex file successfully parsed. it also says 0 eeprom words found and 14 config words found.

next i selected my chip. pic18F series and 4580 as the chip.

for the port i select "High-Speed PCIe Serial Port (COM8)" i have a PCIe serial add-on card with two serial ports. this port works fine communicating with the chip through any serial port program including one i wrote to validate parts of my program... so i assume it is functional.

i did notice that the baud rate box sometimes initiates to none standard baud rates ie. 5000, 50000, 10000 etc. instead of 9600, 125000 etc. the only way i can get it to show the correct baud rate options is to go into advanced mode and reset all settings to default, exit and then select the com port again.

once this is all done i select write program and hit download...

then it says:
initiating download..
searching for bl.............. and after 10 seconds gives me a timed out error.

should i be doing something different?

i have also tried the same thing through a laptop with a built in serial port but i get the same error...

Thanks again[/quote]


i have also looked at the serial line when the program is looking for the boot loader and the rx line to the chip does not seem to have "HELLO\r" as a continuous input. the data packet seems to be something to the effect of 11011111... a pulse followed by a small low level then a longer pulse... should it be something other than this?
Reply


Messages In This Thread
PIC 18F4580 Problems [solved] - by LMS_EE - 2010-11-23, 22:45:13
RE: PIC 18F4580 Problems - by Mikael Gustavsson - 2010-11-24, 21:17:07
RE: PIC 18F4580 Problems - by Lotusx - 2010-11-24, 21:18:10
RE: PIC 18F4580 Problems - by LMS_EE - 2010-11-24, 22:00:30
RE: PIC 18F4580 Problems - by Lotusx - 2010-11-24, 22:17:36
RE: PIC 18F4580 Problems - by Mikael Gustavsson - 2010-11-24, 22:49:46
RE: PIC 18F4580 Problems - by LMS_EE - 2010-11-29, 15:06:09
RE: PIC 18F4580 Problems - by Mikael Gustavsson - 2010-11-29, 19:15:36
RE: PIC 18F4580 Problems - by LMS_EE - 2010-11-29, 20:42:44
RE: PIC 18F4580 Problems - by Mikael Gustavsson - 2010-11-29, 21:04:38
RE: PIC 18F4580 Problems - by Lotusx - 2010-11-29, 22:31:46
RE: PIC 18F4580 Problems - by LMS_EE - 2010-11-30, 15:30:14
RE: PIC 18F4580 Problems - by Mikael Gustavsson - 2010-11-30, 21:56:54
RE: PIC 18F4580 Problems - by LMS_EE - 2010-12-01, 14:56:33
RE: PIC 18F4580 Problems - by Mikael Gustavsson - 2010-12-02, 22:16:44
RE: PIC 18F4580 Problems - by LMS_EE - 2010-12-09, 14:55:49
RE: PIC 18F4580 Problems - by Mikael Gustavsson - 2010-12-09, 21:13:53
RE: PIC 18F4580 Problems - by oktayk - 2011-02-15, 13:58:59
RE: PIC 18F4580 Problems - by Mikael Gustavsson - 2011-02-15, 16:42:31

Forum Jump:


Users browsing this thread: 1 Guest(s)