Author Topic: Renesas/Hitachi H8/36049 EPROM signals to pins mapping  (Read 3994 times)

0 Members and 1 Guest are viewing this topic.

Offline gashtaanTopic starter

  • Regular Contributor
  • *
  • Posts: 69
  • Country: sk
Re: Renesas/Hitachi H8/36049 EPROM signals to pins mapping
« Reply #25 on: July 12, 2024, 10:53:19 am »
Okay.
I'm just skeptical, different order of these major boot mode events are suspicious. Renesas has too many different bootloaders in their MCUs, not sure why they reinvent the wheel for every family. Anyway, thanks for the SH7407 bootloader, I'll look on it. How did you obtain it? It's directly accessible by ISP or from the program in flash?
« Last Edit: July 12, 2024, 11:13:09 am by gashtaan »
 

Offline Postal2

  • Frequent Contributor
  • **
  • Posts: 424
  • Country: ru
Re: Renesas/Hitachi H8/36049 EPROM signals to pins mapping
« Reply #26 on: July 12, 2024, 08:22:13 pm »
.... It's directly accessible by ISP or from the program in flash?
It's accessible from RAM.
 

Offline Postal2

  • Frequent Contributor
  • **
  • Posts: 424
  • Country: ru
Re: Renesas/Hitachi H8/36049 EPROM signals to pins mapping
« Reply #27 on: July 31, 2024, 12:27:04 pm »
I got the chips but only see one purchase from the seller. This doesn't surprise me, but some people have asked why I paint the world in dark colors.
 

Offline gashtaanTopic starter

  • Regular Contributor
  • *
  • Posts: 69
  • Country: sk
Re: Renesas/Hitachi H8/36049 EPROM signals to pins mapping
« Reply #28 on: July 31, 2024, 12:58:15 pm »
I got the chips but only see one purchase from the seller. This doesn't surprise me, but some people have asked why I paint the world in dark colors.
What is the problem? Do those ICs at least look like genuine? I didn't order them, it seemed shady that aliexpress did not show me that seller when I searched for those ICs.
 

Online pcprogrammer

  • Super Contributor
  • ***
  • Posts: 4248
  • Country: nl
Re: Renesas/Hitachi H8/36049 EPROM signals to pins mapping
« Reply #29 on: July 31, 2024, 01:20:52 pm »
What is the problem? Do those ICs at least look like genuine? I didn't order them, it seemed shady that aliexpress did not show me that seller when I searched for those ICs.

That might be a cookie related thing. The Aliexpress site has a very poor search engine that at times needs the cookies removed to produce better results.

Offline Postal2

  • Frequent Contributor
  • **
  • Posts: 424
  • Country: ru
Re: Renesas/Hitachi H8/36049 EPROM signals to pins mapping
« Reply #30 on: July 31, 2024, 01:47:45 pm »
The chips are normal, new, in the factory grid.
 

Offline gashtaanTopic starter

  • Regular Contributor
  • *
  • Posts: 69
  • Country: sk
Re: Renesas/Hitachi H8/36049 EPROM signals to pins mapping
« Reply #31 on: August 01, 2024, 03:59:07 am »
That might be a cookie related thing. The Aliexpress site has a very poor search engine that at times needs the cookies removed to produce better results.
I tried that before, all the cookies and the cache wiped out and that seller didn't came out in the search - it could be related to the country I've set up in my account.
 

Offline gashtaanTopic starter

  • Regular Contributor
  • *
  • Posts: 69
  • Country: sk
Re: Renesas/Hitachi H8/36049 EPROM signals to pins mapping
« Reply #32 on: August 26, 2024, 07:09:01 am »
The chips are normal, new, in the factory grid.
I ordered those MCUs and today I received 1pcs completely different IC... it was a scam.
 

Offline Postal2

  • Frequent Contributor
  • **
  • Posts: 424
  • Country: ru
Re: Renesas/Hitachi H8/36049 EPROM signals to pins mapping
« Reply #33 on: August 26, 2024, 03:37:25 pm »
I sometimes get the same, last time I got some small chip from a cell phone instead of AM3352. I got all 5 chips, I can take a photo. If you were the first to order - it would be the other way around. Check the price of the chip you received and return the difference.
 

Offline gashtaanTopic starter

  • Regular Contributor
  • *
  • Posts: 69
  • Country: sk
Re: Renesas/Hitachi H8/36049 EPROM signals to pins mapping
« Reply #34 on: August 27, 2024, 03:58:31 am »
If you were the first to order - it would be the other way around. Check the price of the chip you received and return the difference.
Maybe, to me the seller seems shady from the first sight. You got lucky. I received some DSP for CD players instead, useless. Anyway, AliExpress approves my request for full refund so I guess I got lucky too.
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 8384
Re: Renesas/Hitachi H8/36049 EPROM signals to pins mapping
« Reply #35 on: August 27, 2024, 04:08:27 am »
Here's another pinout for QFP80 adapter programming Hitachi/Renesas MCUs: https://www.mqp.com/ad633.htm

Looking at the pinouts for all the adapters I could find, it seems /RES is always Vpp and TEST is pulled high if present, while other I/O port pins are used for the rest.

It might be worth asking Renesas itself, since it clearly published this information for other MCUs in similar families around the same time, so the omission of this one could be accidental instead of deliberate.
 

Offline gashtaanTopic starter

  • Regular Contributor
  • *
  • Posts: 69
  • Country: sk
Re: Renesas/Hitachi H8/36049 EPROM signals to pins mapping
« Reply #36 on: August 27, 2024, 04:32:21 am »
It might be worth asking Renesas itself, since it clearly published this information for other MCUs in similar families around the same time, so the omission of this one could be accidental instead of deliberate.
I'm sure it's not accidental - Renesas began to delete this information from the datasheets after they acquired the Hitachi and they didn't publish such info on their later designs at all. Often I have to search for older revisions to get this info:
« Last Edit: August 27, 2024, 04:45:50 am by gashtaan »
 

Offline gashtaanTopic starter

  • Regular Contributor
  • *
  • Posts: 69
  • Country: sk
Re: Renesas/Hitachi H8/36049 EPROM signals to pins mapping
« Reply #37 on: August 27, 2024, 04:44:13 am »
Here's another pinout for QFP80 adapter programming Hitachi/Renesas MCUs: https://www.mqp.com/ad633.htm

Looking at the pinouts for all the adapters I could find, it seems /RES is always Vpp and TEST is pulled high if present, while other I/O port pins are used for the rest.
Thanks. Yes, I know about that one. So far, I've found out socket mapping for 25 different MCUs and actually the H8/38024 is the closest one to H8/36049. Unfortunately some pins doesn't exist on H8/36049.

VPP and TEST are not a problem, they are only known variables in this equation. For me, the problem are I/O pins that must be pulled high (PGM and some others).
« Last Edit: August 27, 2024, 04:50:00 am by gashtaan »
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 8384
Re: Renesas/Hitachi H8/36049 EPROM signals to pins mapping
« Reply #38 on: August 27, 2024, 05:24:02 am »
There is a bit more (Russian) discussion here which may or may not be relevant: https://monitor.espec.ws/section7/topic88228p40.html

I did a bit more digging and found mentions that this family actually doesn't map directly to any EEPROM but uses a protocol called "FZTAT64V5" or "FZTAT128V5" (probably depends on the capacity) - and from there found other Hitachi/Renesas CPUs that use this type, such as the H8S/2138 and H8S/2134 whose hardware manual documents the full protocol. It appears to be a self-timed write (needs an oscillator connected) and notably does NOT use a high Vpp.
 

Offline gashtaanTopic starter

  • Regular Contributor
  • *
  • Posts: 69
  • Country: sk
Re: Renesas/Hitachi H8/36049 EPROM signals to pins mapping
« Reply #39 on: August 27, 2024, 05:41:45 am »
There is a bit more (Russian) discussion here which may or may not be relevant: https://monitor.espec.ws/section7/topic88228p40.html

I did a bit more digging and found mentions that this family actually doesn't map directly to any EEPROM but uses a protocol called "FZTAT64V5" or "FZTAT128V5" (probably depends on the capacity) - and from there found other Hitachi/Renesas CPUs that use this type, such as the H8S/2138 and H8S/2134 whose hardware manual documents the full protocol. It appears to be a self-timed write (needs an oscillator connected) and notably does NOT use a high Vpp.
Not sure what are you referring to. The ICP protocol that is being handled be the software in boot ROM? Yes, this is well documented, but this is what I want to avoid. As I'm understand it, FZTATxVy is not a "protocol" it's type of flash that is supposedly stacked on main MCU die.

I believe that also this family maps EEPROM directly to the pins, because manufacturer of one of programmers that supports programming this MCU claims they support direct access to the flash - but I'm not going to spend thousands € to buy programmer and the socket for it.

« Last Edit: August 27, 2024, 06:06:15 am by gashtaan »
 

Online peter-h

  • Super Contributor
  • ***
  • Posts: 3995
  • Country: gb
  • Doing electronics since the 1960s...
Re: Renesas/Hitachi H8/36049 EPROM signals to pins mapping
« Reply #40 on: August 27, 2024, 10:42:49 am »
I use the H8/323 and it emulates a 27C256 EPROM. Needs high VPP just like the EPROM.

Quote
are you sure that the H8/300 series is even capable of supporting external memory in such that it can directly address it from the CPU core?

Of course they can. 64k external address space for code or data. But that's not the question here.

Unfortunately I don't have the data books to hand but it should be in there and nowadays they are all online.
Z80 Z180 Z280 Z8 S8 8031 8051 H8/300 H8/500 80x86 90S1200 32F417
 

Offline gashtaanTopic starter

  • Regular Contributor
  • *
  • Posts: 69
  • Country: sk
Re: Renesas/Hitachi H8/36049 EPROM signals to pins mapping
« Reply #41 on: August 27, 2024, 11:32:29 am »
Unfortunately I don't have the data books to hand but it should be in there and nowadays they are all online.
Was Renesas still releasing H8 data books after they bought technology from Hitachi? I believe they stopped publishing those and such data is confidential, shared only to major programmers manufacturers.
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 8384
Re: Renesas/Hitachi H8/36049 EPROM signals to pins mapping
« Reply #42 on: August 28, 2024, 02:07:19 pm »
There is a bit more (Russian) discussion here which may or may not be relevant: https://monitor.espec.ws/section7/topic88228p40.html

I did a bit more digging and found mentions that this family actually doesn't map directly to any EEPROM but uses a protocol called "FZTAT64V5" or "FZTAT128V5" (probably depends on the capacity) - and from there found other Hitachi/Renesas CPUs that use this type, such as the H8S/2138 and H8S/2134 whose hardware manual documents the full protocol. It appears to be a self-timed write (needs an oscillator connected) and notably does NOT use a high Vpp.
Not sure what are you referring to. The ICP protocol that is being handled be the software in boot ROM? Yes, this is well documented, but this is what I want to avoid. As I'm understand it, FZTATxVy is not a "protocol" it's type of flash that is supposedly stacked on main MCU die.

I believe that also this family maps EEPROM directly to the pins, because manufacturer of one of programmers that supports programming this MCU claims they support direct access to the flash - but I'm not going to spend thousands € to buy programmer and the socket for it.
I am saying that FZTATxV5 looks like a parallel EEPROM, but not any standard type I'm aware of - writing 40h followed by 128 bytes initiates a sector write, 20h 20h is chip erase, and 71h 71h enters status read mode.
 

Offline gashtaanTopic starter

  • Regular Contributor
  • *
  • Posts: 69
  • Country: sk
Re: Renesas/Hitachi H8/36049 EPROM signals to pins mapping
« Reply #43 on: August 28, 2024, 03:26:35 pm »
I am saying that FZTATxV5 looks like a parallel EEPROM, but not any standard type I'm aware of - writing 40h followed by 128 bytes initiates a sector write, 20h 20h is chip erase, and 71h 71h enters status read mode.
Oh, now I see what do you mean. I was mislead by that they also call ICP programming over UART in boot-mode as "F-ZTAT On-board programming".

I was focused on H8/38024 which seems to be most alike to H8/36049. The term F-ZTAT is mentioned in its datasheet multiple times, but now I understand the PROM programmer mode details are related strictly to masked ROM versions and details about F-ZTAT are completely omitted there. It would indeed means that VPP is not needed but the MCU has to be externally clocked.
 

Offline gashtaanTopic starter

  • Regular Contributor
  • *
  • Posts: 69
  • Country: sk
Re: Renesas/Hitachi H8/36049 EPROM signals to pins mapping
« Reply #44 on: September 03, 2024, 03:45:50 pm »
The chips are normal, new, in the factory grid.
Tried another seller. Just received the package - the IC is obviously fake, poorly printed marking on sanded surface >:(
 

Offline Postal2

  • Frequent Contributor
  • **
  • Posts: 424
  • Country: ru
Re: Renesas/Hitachi H8/36049 EPROM signals to pins mapping
« Reply #45 on: September 03, 2024, 06:59:24 pm »
Sometimes I received chips with bad marking, and they worked. I received one with good marking AT91RM9200 - it didn't start. The Hitachis that I received absolutely exactly matched the product photo, I'm sure that they work. But now "the product doesn't exist", apparently you scared the seller with something.
 

Offline gashtaanTopic starter

  • Regular Contributor
  • *
  • Posts: 69
  • Country: sk
Re: Renesas/Hitachi H8/36049 EPROM signals to pins mapping
« Reply #46 on: September 03, 2024, 07:30:00 pm »
But now "the product doesn't exist", apparently you scared the seller with something.
This has nothing to do with me, I noticed the product already did not exist when I received the package. Anyway, I got full refund from AliExpress. Will see how it'll end with my second attempt. I'll try it, although I highly doubt it's genuine.
 

Offline Postal2

  • Frequent Contributor
  • **
  • Posts: 424
  • Country: ru
Re: Renesas/Hitachi H8/36049 EPROM signals to pins mapping
« Reply #47 on: September 03, 2024, 07:43:18 pm »
Don't doubt it. I always get Motorola mcu with horrible markings, but the pin is just as easy to break off as the original.
 

Online peter-h

  • Super Contributor
  • ***
  • Posts: 3995
  • Country: gb
  • Doing electronics since the 1960s...
Re: Renesas/Hitachi H8/36049 EPROM signals to pins mapping
« Reply #48 on: September 04, 2024, 11:05:10 am »


Not sure if any data books existed with "Renesas" on them. I never collected any.

The H8/325 hardware book, page 202, has the EPROM pin connections. I built an adaptor for a Data I/O chiplab from that, many years ago. The info may enable you to work out the pins; I can scan to a PDF if you PM me your email address.
« Last Edit: September 04, 2024, 01:48:57 pm by peter-h »
Z80 Z180 Z280 Z8 S8 8031 8051 H8/300 H8/500 80x86 90S1200 32F417
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf