Cypress Programmer error using PMG1-S0 device – KBA236833
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Community Translation: PMG1-S0デバイスを使ったCypress Programmerのエラー - KBA236833
Version: **
Problem: When trying to program the PMG1-S0 device using Cypress Programmer version 4.1, it displays an error "Invalid platform chosen."
Solution: Use the OpenOCD CLI tool from the Cypress Programmer package to program the PMG1-S0 device using the command line:
- Attach your PMG1 kit to the USB port.
- Open a console (e.g., "cmd" on Windows) and go to the default location of the OpenOCD executable in Cypress Programmer installation. For example:
cd "C:\Program Files (x86)\Cypress\Cypress Programmer 4.1\openocd\bin"
- Use the following command to program the hex file onto the target device:
openocd -s "../scripts" -f "interface/kitprog3.cfg" -c "set PSOC4_USE_ACQUIRE 2" -f "target/psoc4.cfg" -c "init; reset init; program <PATH>/pmg1_img.hex; reset run; shutdown"
Where <PATH> is the proper path to your hex file.
Note: Use Unix-style slashes in your hex file path on Windows.
- Invoke openocd; check the output to ensure programming was successful.
You should observe a "* Programming Finished *" message in the output logs.