Python_Ex has wrong data type for PSoC_Programmer 3.24

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

When trying to use Python_Ex.py
(in Cypress\Programmer\Examples\Programming\PSoC3_5\SWD\Python_Ex)

I get errors such as Cypress\Programmer\Examples\Programming\PSoC3_5\SWD\Python_Ex

In fact, when checking the relevant lines with:

hResult = pp.DAP_GetJtagID()

chipJtagID = hResult[1]

chipJtagID[0]

it turns out that chipJtagID behaves like a list of integers and not characters,

so all the uses of ord() in Is_PSoC5_TM_ID, etc.

need to be removed.

This is not an urgent problem, and there are probably only few users who use python for PSoC programming.

I did the changes locally, so I do not create an issue.

Andreas

0 Likes
1 Reply
AnkitaS_51
Employee
Employee
100 likes received 50 likes received 25 likes received

Please mention the steps to reproduce this issue on Windows system.We will try to recreate the issue at our end.

Thanks & Regards

Ankita

Application Engineer

Cypress Semiconductor

0 Likes