Skip to content

Instantly share code, notes, and snippets.

@mnaberez
Last active September 20, 2018 12:21
Show Gist options
  • Save mnaberez/872286a8d7c0395f31787e4cd5447c2e to your computer and use it in GitHub Desktop.
Save mnaberez/872286a8d7c0395f31787e4cd5447c2e to your computer and use it in GitHub Desktop.
Adapter to allow the M38869FFAHP microcontroller to be read as an M5M28F101 parallel flash memory.

Adapter to allow the M38869FFAHP microcontroller to be read as an M5M28F101 parallel flash memory.

Flash Name Flash Pin MCU Pin MCU Name
A16 2 61 P31/PWM10
A15 3 39 P17
A12 4 42 P14
A7 5 47 P07
A6 6 48 P06
A5 7 49 P05
A4 8 50 P04
A3 9 51 P03
A2 10 52 P02
A1 11 53 P01
A0 12 54 P00/P3REF
D0 13 38 P20
D1 14 37 P21
D2 15 36 P22
GND 16 19 P46/SCK1/OBF10
GND 16 21 P44/RXD
GND 16 25 /RESET
GND 16 30 Vss
GND 16 60 P32
GND 16 62 P30/PWM00
GND 16 72 Vref
GND 16 73 AVss
D3 17 35 P23
D4 18 34 P24
D5 19 33 P25
D6 20 32 P26
D7 21 31 P27
/CE 22 56 P36
A10 23 44 P12
/OE 24 55 P37
A11 25 43 P13
A9 26 45 P11
A8 27 46 P10
A13 28 41 P15
A14 29 40 P16
/WE 31 59 P33
Vcc 32 24 CNVss
Vcc 32 71 Vcc

Note that the MCU's CNVss pin (24) is tied to the flash pin Vcc instead of Vpp. This sets read-only mode. The read/write mode has not been tested.

In addition to the connections above, the MCU needs a 10 MHz crystal between XIN (28) and XOUT (29).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment