ds30 Loader free edition forums
18F4520 problem - Printable Version

+- ds30 Loader free edition forums (https://picbootloader.com/forum)
+-- Forum: Support (https://picbootloader.com/forum/forumdisplay.php?fid=3)
+--- Forum: 8-bit firmwares (https://picbootloader.com/forum/forumdisplay.php?fid=7)
+--- Thread: 18F4520 problem (/showthread.php?tid=2331)



18F4520 problem - seen - 2014-11-26

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


RE: 18F4520 problem - Mikael Gustavsson - 2014-11-27

Hi,
As far as I can see everything looks good. Is the uart communication working in your application?


RE: 18F4520 problem - seen - 2014-11-27

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


RE: 18F4520 problem - Mikael Gustavsson - 2014-11-28

Please post the application or relevant parts of it, config bits, uart init, i/o init etc..


RE: 18F4520 problem - seen - 2014-12-08

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