forked from gv1/cybootload_linux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
50 lines (38 loc) · 1.88 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
An attempt to use Cypress AN68272 "UART Bootloader Host" on Linux, by modifying
communication_api.c and main.c
Build:
make
make test
Usage:
./cybootload_linux "./Bootloadable Blinking LED.cyacd"
./cybootload -d /dev/ttyACM0 CY8CKIT-049-41XX_PWM_Example.cyacd
./cybootload -d /dev/ttyACM0 -s 115200 CY8CKIT-049-41XX_UART_Example.cyacd
Examples included:
make test
./cybootload_linux "Bootloadable Blinking LED.cyacd"
Once programmed, LED starts blinking at a slow speed.
make test1
./cybootload_linux CY8CKIT-049-41XX_GPIO_Example.cyacd
Once programmed, press SW1 swich on board to lit the LED. When SW1 is released,
light goes off.
make test2
./cybootload_linux CY8CKIT-049-41XX_PWM_Example.cyacd
Once programmed, LED lits from low intensity to high and then to low, and repeats.
make test2
./cybootload_linux CY8CKIT-049-41XX_UART_Example.cyacd
Once programmed, start minicom -D /dev/ttyACM0, and press SW1 switch on board. minicom
displays "Hello World!".
If Operation seems stuck ( no timeout yet ), remove the device from USB port.
Ref:
PSoC® 3, PSoC 4, and PSoC 5LP UART Bootloader AN68272
http://www.cypress.com/?rID=50230&source=AN68272
AN68272.zip: ( for UART\ Bootloader\ Host )
http://www.cypress.com/file/45166/download
https://en.wikibooks.org/wiki/Serial_Programming/Serial_Linux
https://www.eewiki.net/display/microcontroller/Getting+Started+with+PSoC+4+Prototyping+Kits+-+CY8CKIT-049
CY8CKIT-049-41XX GPIO_Example.zip
https://www.eewiki.net/download/attachments/39256220/CY8CKIT-049-41XX_GPIO_Example.zip?version=1&modificationDate=1412268358807&api=v2
CY8CKIT-049-41XX PWM_Example.zip
https://www.eewiki.net/download/attachments/39256220/CY8CKIT-049-41XX_PWM_Example.zip?version=1&modificationDate=1412268383543&api=v2
CY8CKIT-049-41XX UART_Example.zip
https://www.eewiki.net/download/attachments/39256220/CY8CKIT-049-41XX_UART_Example.zip?version=1&modificationDate=1412268420980&api=v2