configurable bootloader

Discuss PIC and electronic related things

Moderators: David Barker, Jerry Messina

Post Reply
richardb
Posts: 306
Joined: Tue Oct 03, 2006 8:54 pm

configurable bootloader

Post by richardb » Fri Jul 20, 2018 12:18 pm

Hi all, Can anyone recommend an "open" bootloader and bootloading windows program that can be configured.

I have made some PCB's for home use using a 46k80 running at 64mHz which works just fine but it would be good to be able to reprogram them remotely.

Ideally i'd like to connect via a bluetooth module something like an HC06.

https://www.amazon.co.uk/Bluetooth-Modu ... oth+module

My problem is that it doesn't have rts/cts pins so I would need to reset with a "known string" first and that's connected to rx2/tx2.

I also have an ftdi ft230 connected to the comport1 but the rts cts pins cant be used directly to reset the mclr pin although they are connected to i/o pins so i could detect them in my program and then do a soft reset.


Any suggestions?

Richard
Hmmm..

raspen
Posts: 9
Joined: Thu Apr 30, 2020 2:28 pm

Bluetooth - Re: configurable bootloader

Post by raspen » Tue Jun 02, 2020 3:40 pm

Hello All,

I am also wondering if anyone has interfaced a Bluetooth module (any one) to an 18F chip and has some example code.
I am looking to send a simple open/close command to a relay for positioning a valve.

Thanks

User avatar
David Barker
Swordfish Developer
Posts: 1214
Joined: Tue Oct 03, 2006 7:01 pm
Location: Saltburn by the Sea, UK
Contact:

Re: configurable bootloader

Post by David Barker » Wed Jun 03, 2020 6:11 am

Bluetooth modules (you don't state which one you are using) tend to have a simple RS-232 interface. Using the USART module should do the trick...

Post Reply