forked from gv1/cybootload_linux
-
Notifications
You must be signed in to change notification settings - Fork 0
a1lu/cybootload_linux
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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
About
Bootloadable .cyacd upload application (Linux) for PSoC® PSoC 4 ( PSoC 3 / PSoC 5 ) devices based on Cypress AN68272 "UART Bootloader Host"
Resources
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- C 98.0%
- Other 2.0%