RC663 deactivate boundary scan

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RC663 deactivate boundary scan

2,904 Views
joansalvat
Contributor I

I’m trying to use RC663 GPIOs pins but I’m not succeeding. I’m doing the following:

 

I’m checking in EEPROM, address 21h, that boundary scan is disabled (bit 3 is set to 1), then I’m programming reg 44h to define which pins I need to behave as outputs (writing 1 to corresponding outputs). Finally I’m trying to change the GPIO (output) values by reading and writing in reg 45h; but I’m not succeeding

In my application I use:

  • SIGIN – OUT7
  • TCK – OUT3
  • TMS – OUT2
  • TDI – OUT1

By reading and writing in registers 0x44 and 0x45, I can manage OUT7. I’m applying the same read/write sequence to other pins without success. So my guess is that I'm not deactivating boundary scan properly.

Strange enough the RC663 manual inidcates that boundary scan is activated by default but by reading EEPROM address 21h it seems deactivated by default. I checkek this same behavoiur in a RC663 red board.

¿What I’m I doing wrong or missing?

 

Thanks,

Joan Salvat

Tags (2)
0 Kudos
13 Replies

2,219 Views
joansalvat
Contributor I

Estephania,

 

Did you manage to reproduce the behavior on the blue board?

 

Best regards,

Joan Salvat

0 Kudos

2,219 Views
basvisscher
Contributor I

Hello,

I contacted NXP directly and they said the following:

"There is small mix-up in the description of the boundary scan if it is set to 1 it is active and 0 means deactivated. So if you write 84 to eeprom address 21 boundary scan is deactivated and after a soft reset you can us the I/O functionality."

So, I tried writing 0x84 to 0x21 of the eeprom followed by a soft reset.

After this you can enable the GPIO lines by writing to register 0x44 and 0x45.

It is working for me now,

I hope you get this to work as well.

Regards,

Bas.

0 Kudos

2,219 Views
joansalvat
Contributor I

Bas,

I tried to write 0x84 in EEPROM position 0x21 followed by a reset and now it works. I can recall that at some point I’ve already tried by reversing the logic without success. Maybe all I was missing was a soft reset. Anyway thanks a lot for your support.

Best regards,

Joan Salvat

De: basvisscher <admin@community.nxp.com>

Enviado el: martes, 26 de junio de 2018 13:38

Para: Joan Salvat <jsalvat@calmell.net>

Asunto: Re: - Re: RC663 deactivate boundary scan

<https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg> NXP Community

Re: RC663 deactivate boundary scan

reply from Bas Visscher <https://community.nxp.com/people/basvisscher?et=watches.email.thread> in NFC - View the full discussion <https://community.nxp.com/message/1028075?commentID=1028075&et=watches.email.thread#comment-1028075>

0 Kudos

2,219 Views
joansalvat
Contributor I

Bas,

Thanks a lot for your feedback. I’ll give it a try and let you know.

Best regards,

Joan Salvat

De: basvisscher <admin@community.nxp.com>

Enviado el: martes, 26 de junio de 2018 13:38

Para: Joan Salvat <jsalvat@calmell.net>

Asunto: Re: - Re: RC663 deactivate boundary scan

<https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg> NXP Community

Re: RC663 deactivate boundary scan

reply from Bas Visscher <https://community.nxp.com/people/basvisscher?et=watches.email.thread> in NFC - View the full discussion <https://community.nxp.com/message/1028075?commentID=1028075&et=watches.email.thread#comment-1028075>

0 Kudos

2,219 Views
basvisscher
Contributor I

Hello,

I've tried this on a blueboard (CLEV6630B V2.0) and have the same problem.

The initial value of the EEPROM at address 0x21 was already 0x8C, so the boundary scan is off by default. (This doens't agree with the datasheet.)

I've set register 0x44 to 0x0F to enable the outputs, and changed the outputs by changing the bits in register 0x45, I didn't see any change in voltage on these pins.

TDO - 0V

TDI - 3.3V

TMS - 3.3V

TCK - 3.3V

Any suggestions?

0 Kudos

2,219 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello, 

Just to confirm, you are using the CLRC66303HN, aren't you? 

I'll need to investigate and ask the applications team as according to the Section 6: Pin Description, table 4, on page 7 in the Data Sheet that the pins you are trying to set as output can only be set as input (except for the TDO). 

As soon as I get an update, I'll let you know. 

Best Regards, 

Estephania 

0 Kudos

2,219 Views
joansalvat
Contributor I

Estephania,

I don’t think I’m using CLRC66303. My understanding is that I’m using CLRC66301. I’m attaching an actual picture of the actual chip in the board that is reproducing the behavior reported.

However by looking at section 6, table 4 (I’m using version 4.5 of the datasheet) I see where the problem might be: All the time I’ve been looking at the description of registers 44h and 45h. Tables 193 and 195 clearly indicate that pins TDI, TMS and TCK cab be used as outputs, while table 4 indicates the opposite.

Best regards,

Joan Salvat

De: estephania_martinez <admin@community.nxp.com>

Enviado el: martes, 8 de mayo de 2018 6:29

Para: Joan Salvat <jsalvat@calmell.net>

Asunto: Re: - Re: RC663 deactivate boundary scan

<https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg> NXP Community

Re: RC663 deactivate boundary scan

reply from Estephania Martinez Garcia <https://community.nxp.com/people/estephania_martinez?et=watches.email.thread> in NFC - View the full discussion <https://community.nxp.com/message/1012180?commentID=1012180&et=watches.email.thread#comment-1012180>

0 Kudos

2,219 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello, 

I got an update, there seems to be a typo in the datasheet, those pins as you mention can be I/O. 

Once knowing it, I'll keep trying to set it but with the evaluation board I'm mentioning you, which has the CLRC66303. 

Regards, 

Estephania 

0 Kudos

2,219 Views
joansalvat
Contributor I

Estephania,

I received through docstore the new version (4.6) of the datasheet. By looking at the relevant section (8.15 Pin configuration) I can hardly see any difference with previous versions.

Are you trying to reproduce the behavior? Would it help if I get a “blue board” (providing it is not too expensive)?

Best regards,

Joan Salvat

De: estephania_martinez <admin@community.nxp.com>

Enviado el: miércoles, 23 de mayo de 2018 0:15

Para: Joan Salvat <jsalvat@calmell.net>

Asunto: Re: - Re: RC663 deactivate boundary scan

<https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg> NXP Community

Re: RC663 deactivate boundary scan

reply from Estephania Martinez Garcia <https://community.nxp.com/people/estephania_martinez?et=watches.email.thread> in NFC - View the full discussion <https://community.nxp.com/message/1016992?commentID=1016992&et=watches.email.thread#comment-1016992>

0 Kudos

2,219 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello, 

Yes, I'll try to reproduce the behavior on the blue board. As soon as I get an update on the process, I'll let you know. 

Regards, 

Estephania 

0 Kudos

2,219 Views
joansalvat
Contributor I

Estephania,

It’s nearly one month since I posted my first message in the community. Please do your best to provide me an answer.

Best regards,

Joan Salvat

De: estephania_martinez <admin@community.nxp.com>

Enviado el: miércoles, 30 de mayo de 2018 6:42

Para: Joan Salvat <jsalvat@calmell.net>

Asunto: Re: - Re: RC663 deactivate boundary scan

<https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg> NXP Community

Re: RC663 deactivate boundary scan

reply from Estephania Martinez Garcia <https://community.nxp.com/people/estephania_martinez?et=watches.email.thread> in NFC - View the full discussion <https://community.nxp.com/message/1019350?commentID=1019350&et=watches.email.thread#comment-1019350>

0 Kudos

2,219 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello, 

Something to take into account it's that the only board available for CLRC663 is the  OM26630 (blue board)

Yes, I understand what you are mentioning regarding the datasheet, please give me a couple of days to investigate that. 

Thank you for the information on the exact part, there are some changes between that from the rest,  as soon as I get an update I'll let you know. 

Regards, 

Estephania

0 Kudos

2,219 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello, 

I'm still waiting for a confirmation on this, as soon as I have something regarding this, I'll let you know. 

Best Regards, 

Estephania

0 Kudos