|
|
|
(you are viewing a thread; or go back to
list of threads)
How to Send Code to Controller (by Sean)
Good evening!
Will a USB to RS232 cable work in sending the code from a laptop to the microcontroller? Thank you.
(no subject) (by Sean)
Also, will a USB to TTL module work?
How to send code to controller (by DanielH)
You can send code to controller using an USB-TTL converter, UART pinout on micro, and a BOOTLOADER.
If you run LDmicro on Windows, multibootloader+ is a good option, it has firmware for different PIC and AVR micros.
If you run LDmicro on GNU/Linux, tinybldlin (fork lchamboa on Gothub) is a must, I habitually use it with PIC16F887, PIC16F877A, PIC16F628A.
Good luck,
DanielH
How to send code yo controller (by DanielH)
Adenda: of course, to use a bootloader, you need first to program its firmware into the microcontroller by means a PIC programer (burner) using ICSP or a (ZIF) socket for the micro.
This task must be done only one time, after that, you can use the bootloader and UART forever.
For this, I use USBPICPROG, an Open Hardware + Free Software programmer, its software runs under Windows and Linux.
Best regards,
DanielH
How to send code yo controller (by DanielH)
Adenda: of course, to use a bootloader, you need first to program its firmware into the microcontroller by means a PIC programer (burner) using ICSP or a (ZIF) socket for the micro.
This task must be done only one time, after that, you can use the bootloader and UART forever.
For this, I use USBPICPROG, an Open Hardware + Free Software programmer, its software runs under Windows and Linux.
Best regards,
DanielH
(no subject) (by Tom J.)
It looks like Sean want to program the micro from USB.
Sean, check out the MiniPro programmers, they're inexpensive, capable, and include software to program your HEX file on a Microcontroller.
(no subject) (by Magno Medeiros(Brasil))
Hello.
1-For PIC I use PICKIT2.
https://www.aliexpress.com/ite...eat/32379321227.html?spm=a2g03. search0104.3.1.28406fb95g7nZu & ws_ab_test = searchweb0_0, searchweb201602_3_10065_10068_10547_319_10059_10884_317_10548_10887_10696_321_322_10084_453_10083_454_10103_10618_10307_537_536_10902, searchweb201603_6, ppcSwitch_0 & algo_expid = d3d1d30a-ed97-45ec-8fcf-dee835eb38d3-0 & algo_pvid = d3d1d30a-ed97-45ec-8fcf-dee835eb38d3
2-to avr I use progisp.
https://en.aliexpress.com/item...2227.html?spm=a2g03.search0104. 3.16.4c8b19452hrOJS & ws_ab_test = searchweb0_0, searchweb201602_3_10065_10068_10547_319_10059_10884_317_10548_10887_10696_321_322_10084_453_10083_454_10103_10618_10307_537_536_10902, searchweb201603_6, ppcSwitch_0 & algo_expid = d6cb5bea-738th-4b04-8bfa-c3807f5f24d1-2 & algo_pvid = d6cb5bea-738th-4b04-8bfa-c3807f5f24d1
Post a reply to this comment:
|