Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
18F4520 problem
#1
Hello,

I'm trying to adapt the ds30loader for my PIC 18F4520 20MHz ext.


I compiled the firmware 18F with MPLAB 8.92, as the "firmware manual" says.
Then I burned the .HEX.
But when i chek for bl i always get de same message (with reset on the PIC):

Creating port: Prolific USB-to-Serial Comm Port (COM3)
Opening port Prolific USB-to-Serial Comm Port (COM3)@9600
Searching for bl . . . . . . . . . . . . . . . . . . . . . timed out
Closing port

I would appreciate very much if someone could help me?

Thanks.

Enzo


Attached Files Thumbnail(s)
       

.zip   firmware_PIC18F4520.zip (Size: 70.96 KB / Downloads: 11)
Reply
#2
Hi,
As far as I can see everything looks good. Is the uart communication working in your application?
Reply
#3
Hello,

yes the uart communication is working in my application.

I have the same problem with a PIC 18F452.

But if i try with a 16F887 the bl works good.

Thanks for your help.

Enzo
Reply
#4
Please post the application or relevant parts of it, config bits, uart init, i/o init etc..
Reply
#5
Hello,


I change the baudrate to 230400 instead of 9600 and now my modified firmware works well.

I connect the PIC to the PC with a USB/RS232 cable + a RS232/TTL cable. I think it is not the best solution.

I'll buy a USB/TTL to try.

Regards,

Enzo
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)