cancel
Showing results for 
Search instead for 
Did you mean: 

How to read control PWM memory of ST25DV02K-W1 using FEIG PRH101 -USB

MFeni
Associate

PWM1 control has block address F8 but i have access only to first 252 bytes (area 1 and 2)63blocks. Response from reader "Statusbyte:...0x95 Reader: ISO-Error ISO-Error = 0x10

1 ACCEPTED SOLUTION

Accepted Solutions
Gladys Maister
Associate

Hi,

PWM1 control register (1x block) is located at address 0xF8, which is equal to 248 in decimal base. Any Read of 4 Bytes at block = 248 shall return the PWM1_CTRL register content, as long as it is not protected by password.

The error that you get is 0x10, meaning the specified block is not available. It is not a matter of password protected area (error would then be 0x15).

User Area ends at Block=63, and PWM Control Area starts at Block=248 (It ends at Block=248 in ST25DV02K-W1 device). Thus Block=64 to Block=247 are not available. Any access to those ‘not available’ addresses returns error code 0x10.

Would you mind double checking the Block address used to access PWM1_CTRL register, as well as the number of Blocks requested in your Read command?

Feel free to share the Feig PRH101 ISOStart tool command line used that returns you the Error.

With best regards,

View solution in original post

2 REPLIES 2
Gladys Maister
Associate

Hi,

PWM1 control register (1x block) is located at address 0xF8, which is equal to 248 in decimal base. Any Read of 4 Bytes at block = 248 shall return the PWM1_CTRL register content, as long as it is not protected by password.

The error that you get is 0x10, meaning the specified block is not available. It is not a matter of password protected area (error would then be 0x15).

User Area ends at Block=63, and PWM Control Area starts at Block=248 (It ends at Block=248 in ST25DV02K-W1 device). Thus Block=64 to Block=247 are not available. Any access to those ‘not available’ addresses returns error code 0x10.

Would you mind double checking the Block address used to access PWM1_CTRL register, as well as the number of Blocks requested in your Read command?

Feel free to share the Feig PRH101 ISOStart tool command line used that returns you the Error.

With best regards,

MFeni
Associate

Thanks for help. Everything works well.

command line from 2 channel PWM:

01/16/19 07:34:11.603 >> 02 00 0B FF B0 23 00 F8 02 8A 3B

01/16/19 07:34:11.618 << 02 00 14 00 B0 00 02 04 00 9F 40 1F 40 00 9F 40 1F 40 A4 64  OK

command line from 1 channel PWM: (all zero for second channel)

01/16/19 07:36:40.688 >> 02 00 0B FF B0 23 00 F8 02 8A 3B

01/16/19 07:36:40.698 << 02 00 14 00 B0 00 02 04 00 9F 40 1F 40 00 00 00 00 00 B9 6A  OK