ds30 Loader free edition forums
PIC18F14K22 at 1,5km over - 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: PIC18F14K22 at 1,5km over (/showthread.php?tid=841)



PIC18F14K22 at 1,5km over - zidged - 2013-11-30

Hi,

I have changed PIC18F firmware and compiled.
"ds30 GUI Loader" can find the PIC sometimes.
I haven't programmed PIC yet. But some part of program reached to PIC.

I am using 5 x RS485 repeater for 1,5km. I think it is too much and they destroy the original baud rate.

Does anybody know an open source RS485 repeater?


RE: PIC18F14K22 at 1,5km over - Mikael Gustavsson - 2013-12-01

Hi,
Have tried at a short distance without repeaters? If not I suggest that you do that first to make sure that the boot loader setup is correct.
Then add one repeater at a time and study the signal to see if it gets destroyed.

BR
Mikael


RE: PIC18F14K22 at 1,5km over - zidged - 2013-12-02

Hi Mikael,

I have tried several times in short distance. It works well.
Then i inserted one repeater the short distance experiment, again it worked.

Long distance gives poor results.

My RS485 repeater is not smart. They don't record and replay the data stream. I mean they are transparent devices. So that adding repeater may cause start bit distortion and baud rate un-detection.


Mikael let me ask another question please.
I wrote fully working program in CCS C Compiler and i can use bootlader in a short distance. So how can i combine these two program?

If i can combine they maybe you can help me about uploading firmware over RS485 with usind devices' ID.


RE: PIC18F14K22 at 1,5km over - Mikael Gustavsson - 2013-12-09

Hi,
I am sorry for the late reply. The free editions has lower priority than the commercial version.

So I guess you need to improve your repeaters?

You "cannot" combine boot loader and application in one MPLAB IDE project.