Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PIC18F14K22 at 1,5km over
#1
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?


Attached Files Thumbnail(s)
   
Reply
#2
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
Reply
#3
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.
Reply
#4
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)