Author Topic: R5F212 IDE (not a disk drive) interface  (Read 592 times)

0 Members and 1 Guest are viewing this topic.

Offline R-1125FTopic starter

  • Regular Contributor
  • *
  • Posts: 159
  • Country: us
R5F212 IDE (not a disk drive) interface
« on: December 16, 2022, 04:32:46 pm »
I am trying to find out how to use an IDE (not a disk drive) interface.  I am guessing IDE means Integrated development environment.  The schematic shows the port and the connections to the R5F212 MCU.  Could someone explain how to use this interface? 
 

Offline pcprogrammer

  • Super Contributor
  • ***
  • Posts: 4413
  • Country: nl
Re: R5F212 IDE (not a disk drive) interface
« Reply #1 on: December 16, 2022, 04:49:38 pm »
Did you look in the datasheet?

I'm not familiar with this MCU and searched for a datasheet and found one for a R5F21206JFP, but by the looks of it the pinout is different.

It might be a single wire debug interface or a way to program the device. Might need a dedicated interface plus the software to work with it.

Offline R-1125FTopic starter

  • Regular Contributor
  • *
  • Posts: 159
  • Country: us
Re: R5F212 IDE (not a disk drive) interface
« Reply #2 on: December 16, 2022, 04:54:55 pm »
Thank you for the reply.   The datasheet is here https://www.renesas.com/us/en/document/dst/r8c2a-r8c2b-group-datasheet
It says it has a UART or serial I/O, but I don't have any idea how to talk to it.
 

Offline pcprogrammer

  • Super Contributor
  • ***
  • Posts: 4413
  • Country: nl
Re: R5F212 IDE (not a disk drive) interface
« Reply #3 on: December 16, 2022, 05:05:04 pm »
I found the datasheet here https://pdf1.alldatasheet.com/datasheet-pdf/view/196273/RENESAS/R5F212A8SNFP.html

You have to look at chapter 20.5 to find more about the mode pin. To run a program from the FLASH memory it has to be high.
To check the ID code it has to be low, and then P6_6 and P6_7 are used for serial communication to read the ID.
The mode pin is also used to program the FLASH. (See page 513) You need a programmer for this.

Offline R-1125FTopic starter

  • Regular Contributor
  • *
  • Posts: 159
  • Country: us
Re: R5F212 IDE (not a disk drive) interface
« Reply #4 on: December 16, 2022, 07:37:56 pm »
Thank you.  This helps.  I am trying to repair this equipment and I am somewhere below beginner when it comes to microcontrollers.  I have worked on things with nicely labled UART ports, but nothing like this.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf