Different solutions for flashing PIC MCU and Arduino.

For general Flowcode discussion that does not belong in the other sections.
Post Reply
Sergejs
Posts: 149
http://meble-kuchenne.info.pl
Joined: Tue Oct 19, 2021 9:31 am
Has thanked: 75 times
Been thanked: 5 times

Different solutions for flashing PIC MCU and Arduino.

Post by Sergejs »

Hello,
I am long time beginner in Flowcode because have not free time for my hobby. So I learning step by step when I make new project. Now I am interesting about ways how to program PIC controllers and Arduino controllers. Is it only one way using RX/TX pins on it or is there other ways like I2C or something else?

I have PicKit 3 from old times and one programmer made by myself. It is use UART too. So is there any other ways how flash MCU?

You may attashed electric shemes too in this topic. Soldering PCB is not a problem because I use soldering iron from seven years old I was.

Any help and information I will be very thanks.
Regards.

kersing
Valued Contributor
Posts: 193
Joined: Wed Dec 02, 2020 7:28 pm
Has thanked: 79 times
Been thanked: 64 times

Re: Different solutions for flashing PIC MCU and Arduino.

Post by kersing »

Is it only one way using RX/TX pins
That is actually an exception to the rule. For programming using those pins to work the controller needs to be programmed with a boot loader. Dedicated programmers like PICkit (whatever version) and atmel-ice, to name just two of many options, use a specific protocol that is implemented in the chips when they’re being designed. That protocol is the only way to program a chip off the fabrication line. The big issue is that most manufacturers use a proprietary protocol so you need their hardware to program the device.


Once a bootloader has been programmed other communication means can be used like USB, uart, CAN and possibly I2C if someone takes the time to create a bootloader talking that specific protocol.

Post Reply